sram_port.h 545 B

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