[BSP] correct stm32l412-st-nucleo capacity info

This commit is contained in:
luhuadong 2020-05-04 23:00:41 +08:00
parent b3dc8111db
commit c0ed7f6e89
2 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@ config SOC_STM32L412RB
default y
menu "Onboard Peripheral Drivers"
config BSP_USING_STLINK_TO_USART
config BSP_USING_STLINK_TO_USART
bool "Enable STLINK TO USART (uart2)"
select BSP_USING_UART
select BSP_USING_UART2
@ -22,7 +22,7 @@ menu "On-chip Peripheral Drivers"
select RT_USING_PIN
default y
menuconfig BSP_USING_UART
menuconfig BSP_USING_UART
bool "Enable UART"
default y
select RT_USING_SERIAL

View File

@ -5,9 +5,9 @@
/* Program Entry, set to mark it as "used" and avoid gc */
MEMORY
{
ROM (rx) : ORIGIN = 0x08000000, LENGTH = 256k /* 256KB flash */
RAM1 (rw) : ORIGIN = 0x20000000, LENGTH = 48k /* 48K sram */
RAM2 (rw) : ORIGIN = 0x10000000, LENGTH = 16k /* 16K sram */
ROM (rx) : ORIGIN = 0x08000000, LENGTH = 128k /* 128KB flash */
RAM1 (rw) : ORIGIN = 0x20000000, LENGTH = 32k /* 32K sram */
RAM2 (rw) : ORIGIN = 0x10000000, LENGTH = 8k /* 8K sram */
}
ENTRY(Reset_Handler)
_system_stack_size = 0x200;
@ -90,7 +90,7 @@ SECTIONS
. = ALIGN(4);
/* This is used by the startup in order to initialize the .data secion */
_edata = . ;
} >RAM2
} >RAM1
.stack :
{
@ -99,7 +99,7 @@ SECTIONS
. = . + _system_stack_size;
. = ALIGN(4);
_estack = .;
} >RAM2
} >RAM1
__bss_start = .;
.bss :
@ -117,7 +117,7 @@ SECTIONS
_ebss = . ;
*(.bss.init)
} > RAM2
} > RAM1
__bss_end = .;
_end = .;