rt-thread-official/bsp/swm320-lq100/drivers/drv_sram.h

25 lines
507 B
C
Raw Normal View History

2018-12-24 17:17:27 +08:00
/*
* Copyright (c) 2006-2018, Synwit Technology Co.,Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018-12-10 Zohar_Lee first version
2021-09-30 17:55:16 +08:00
* 2020-07-10 lik rewrite
2018-12-24 17:17:27 +08:00
*/
#ifndef DRV_SRAM_H__
#define DRV_SRAM_H__
2021-09-30 17:55:16 +08:00
#include "board.h"
#define EXT_SRAM_BASE SRAMM_BASE
#define EXT_SRAM_SIZE BSP_EXT_SRAM_SIZE
#define EXT_SRAM_BEGIN EXT_SRAM_BASE
#define EXT_SRAM_END (EXT_SRAM_BASE + EXT_SRAM_SIZE)
2018-12-24 17:17:27 +08:00
int rt_hw_sram_init(void);
#endif