sram_port.h 614 B

1234567891011121314151617181920212223
  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. #ifndef __SDRAM_PORT_H__
  12. #define __SDRAM_PORT_H__
  13. /* parameters for sdram peripheral */
  14. /* stm32f1 Bank1:0x68000000 */
  15. #define EXTERNAL_SRAM_BANK_ADDR ((uint32_t)0x68000000)
  16. /* data width: 8, 16, 32 */
  17. #define EXTERNAL_SRAM_DATA_WIDTH 16
  18. /* sram size */
  19. #define EXTERNAL_SRAM_SIZE ((uint32_t)0x100000)
  20. #endif