Prechádzať zdrojové kódy

[stm32-artpi-h750]去除冗余代码 与本文件36行重复 (#6522)

spaceman 2 rokov pred
rodič
commit
5f7d9b3e0e
1 zmenil súbory, kde vykonal 3 pridanie a 7 odobranie
  1. 3 7
      bsp/stm32/stm32h750-artpi/board/board.h

+ 3 - 7
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