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 * 2024-05-28 WKjay add this file to stm32f103-100ask-pro 10 */ 11 12 #ifndef __SDRAM_PORT_H__ 13 #define __SDRAM_PORT_H__ 14 15 /* parameters for sdram peripheral */ 16 /* stm32f1 Bank1:0x68000000 */ 17 #define EXTERNAL_SRAM_BANK_ADDR ((uint32_t)0x68000000) 18 /* data width: 8, 16, 32 */ 19 #define EXTERNAL_SRAM_DATA_WIDTH 16 20 /* sram size */ 21 #define EXTERNAL_SRAM_SIZE ((uint32_t)0x100000) 22 23 #endif 24