diff options
| author | spaceman <[email protected]> | 2022-10-21 00:19:52 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-20 12:19:52 -0400 |
| commit | 5f7d9b3e0e905b6d17629d7c452e0358d5c24127 (patch) | |
| tree | 5ec42d7194cfb64e24e1df2199dbdf4670d2a7d3 /bsp | |
| parent | 4690ed90f10d853145d0940c0a3f8505933efaf3 (diff) | |
[stm32-artpi-h750]去除冗余代码 与本文件36行重复 (#6522)
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/stm32/stm32h750-artpi/board/board.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/bsp/stm32/stm32h750-artpi/board/board.h b/bsp/stm32/stm32h750-artpi/board/board.h index 284fcc8b4b..4da884ef76 100644 --- a/bsp/stm32/stm32h750-artpi/board/board.h +++ b/bsp/stm32/stm32h750-artpi/board/board.h @@ -29,9 +29,9 @@ extern "C" { /*-------------------------- CHIP CONFIG END --------------------------*/ /*-------------------------- ROM/RAM CONFIG BEGIN --------------------------*/ - #define ROM_START ((uint32_t)0x90000000) - #define ROM_SIZE (16384) - #define ROM_END ((uint32_t)(ROM_START + ROM_SIZE * 1024)) +#define ROM_START ((uint32_t)0x90000000) +#define ROM_SIZE (16384) +#define ROM_END ((uint32_t)(ROM_START + ROM_SIZE * 1024)) #define RAM_START (0x24000000) #define RAM_SIZE (512) @@ -75,10 +75,6 @@ extern "C" { #define STM32_FLASH_SIZE ROM_SIZE #define STM32_FLASH_END_ADDRESS ROM_END -#define RAM_START (0x24000000) -#define RAM_SIZE (512) -#define RAM_END (RAM_START + RAM_SIZE * 1024) - #define STM32_SRAM1_SIZE RAM_SIZE #define STM32_SRAM1_START RAM_START #define STM32_SRAM1_END RAM_END |
