Fix bugs in linker script

This commit is contained in:
Mario Hüttel 2020-08-22 13:46:11 +02:00
parent bdcfb2c29c
commit ebbf27735c
1 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@
* RAM: 128K * RAM: 128K
* CCM RAM: 64L * CCM RAM: 64L
* FPU: fpv4-sp-d16 * FPU: fpv4-sp-d16
* */
/* USER PARAMETERS */ /* USER PARAMETERS */
__ld_stack_size = 0x1000; __ld_stack_size = 0x1000;
@ -35,8 +35,8 @@ __ld_top_of_stack = 0x20020000; /* One byte above the end of the SRAM. Stack is
MEMORY MEMORY
{ {
FLASH (xr) : ORIGIN = 0x08000000, LENGTH = 512K FLASH (xr) : ORIGIN = 0x08000000, LENGTH = 512K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
CCM (xrw) : ORIGIN = 0x10000000, LENGTH = 64K CCM (rw) : ORIGIN = 0x10000000, LENGTH = 64K
} }
SECTIONS SECTIONS