[STM32L4] Fix IAR section placement failed error

For some reason STACKHEAP block was placed in SRAM2 section which lead to
*Error[Lp011]: section placement failed - unable to allocate space for sections/
block* error. This patch modifies the STM32L4 linker script and places STACKHEAP
into SRAM1 section which was previously unused.

Change-Id: Ibe6ca52a9fe7af232a3eade2f6b1f2ce28c9bd49
pull/1712/head
Bartosz Szczepanski 2016-05-05 10:35:22 +02:00
parent 816233cf5d
commit d76bdde5a0
1 changed files with 2 additions and 2 deletions

View File

@ -31,5 +31,5 @@ do not initialize { section .noinit };
place at address mem:__intvec_start__ { readonly section .intvec };
place in ROM_region { readonly };
place in SRAM2_region { readwrite, block STACKHEAP };
place in SRAM1_region { };
place in SRAM2_region { readwrite };
place in SRAM1_region { block STACKHEAP };