stm32: Update code to use armcm_boot mechanism

Replace the stm32 provided assembler with the src/generic/armcm_boot.c
mechanism.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-08-21 13:52:43 -04:00
parent a44bc950a3
commit 4ef53ab095
7 changed files with 24 additions and 111 deletions

View File

@@ -62,6 +62,10 @@ config FLASH_SIZE
default 0x10000 if MACH_STM32F103
default 0x80000 if MACH_STM32F4
config RAM_START
hex
default 0x20000000
config RAM_SIZE
hex
default 0x5000 if MACH_STM32F103
@@ -84,10 +88,10 @@ choice
endchoice
config FLASH_START
hex
default 0x2000 if STM32_FLASH_START_2000
default 0x7000 if STM32_FLASH_START_7000
default 0x8000 if STM32_FLASH_START_8000
default 0x0000
default 0x8002000 if STM32_FLASH_START_2000
default 0x8007000 if STM32_FLASH_START_7000
default 0x8008000 if STM32_FLASH_START_8000
default 0x8000000
choice
prompt "Clock Reference" if LOW_LEVEL_OPTIONS