From 5f7d9b3e0e905b6d17629d7c452e0358d5c24127 Mon Sep 17 00:00:00 2001 From: spaceman <1125934312@qq.com> Date: Fri, 21 Oct 2022 00:19:52 +0800 Subject: [PATCH] =?UTF-8?q?[stm32-artpi-h750]=E5=8E=BB=E9=99=A4=E5=86=97?= =?UTF-8?q?=E4=BD=99=E4=BB=A3=E7=A0=81=20=E4=B8=8E=E6=9C=AC=E6=96=87?= =?UTF-8?q?=E4=BB=B636=E8=A1=8C=E9=87=8D=E5=A4=8D=20(#6522)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/stm32h750-artpi/board/board.h | 10 +++------- 1 file 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