1 /* 2 * Copyright (c) 2006-2021, RT-Thread Development Team 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2020-01-05 linyiyang first version 9 */ 10 11 #ifndef __SDRAM_PORT_H__ 12 #define __SDRAM_PORT_H__ 13 14 /* parameters for sdram peripheral */ 15 /* stm32f1 Bank1:0x68000000 */ 16 #define EXTERNAL_SRAM_BANK_ADDR ((uint32_t)0x68000000) 17 /* data width: 8, 16, 32 */ 18 #define EXTERNAL_SRAM_DATA_WIDTH 16 19 /* sram size */ 20 #define EXTERNAL_SRAM_SIZE ((uint32_t)0x100000) 21 22 #endif 23