Skip to content

Commit 037dd8c

Browse files
committed
Add back the manual placement of the DMA section for GCC to optimize the RAM layout w.r.t. alignment.
1 parent a0ba4e6 commit 037dd8c

File tree

5 files changed

+5
-0
lines changed
  • libraries/mbed/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32
    • TARGET_EFM32GG_STK3700/TOOLCHAIN_GCC_ARM
    • TARGET_EFM32HG_STK3400/TOOLCHAIN_GCC_ARM
    • TARGET_EFM32LG_STK3600/TOOLCHAIN_GCC_ARM
    • TARGET_EFM32WG_STK3800/TOOLCHAIN_GCC_ARM
    • TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM

5 files changed

+5
-0
lines changed

libraries/mbed/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG_STK3700/TOOLCHAIN_GCC_ARM/efm32gg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ SECTIONS
137137
.data : AT (__etext)
138138
{
139139
__data_start__ = .;
140+
*("dma")
140141
PROVIDE( __start_vector_table__ = .);
141142
. += __vector_size;
142143
PROVIDE( __end_vector_table__ = .);

libraries/mbed/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG_STK3400/TOOLCHAIN_GCC_ARM/efm32hg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ SECTIONS
138138
.data : AT (__etext)
139139
{
140140
__data_start__ = .;
141+
*("dma")
141142
PROVIDE( __start_vector_table__ = .);
142143
. += __vector_size;
143144
PROVIDE( __end_vector_table__ = .);

libraries/mbed/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG_STK3600/TOOLCHAIN_GCC_ARM/efm32lg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ SECTIONS
137137
.data : AT (__etext)
138138
{
139139
__data_start__ = .;
140+
*("dma")
140141
PROVIDE( __start_vector_table__ = .);
141142
. += __vector_size;
142143
PROVIDE( __end_vector_table__ = .);

libraries/mbed/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG_STK3800/TOOLCHAIN_GCC_ARM/efm32wg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ SECTIONS
138138
.data : AT (__etext)
139139
{
140140
__data_start__ = .;
141+
*("dma")
141142
PROVIDE( __start_vector_table__ = .);
142143
. += __vector_size;
143144
PROVIDE( __end_vector_table__ = .);

libraries/mbed/targets/cmsis/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG_STK3200/TOOLCHAIN_GCC_ARM/efm32zg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ SECTIONS
138138
.data : AT (__etext)
139139
{
140140
__data_start__ = .;
141+
*("dma")
141142
PROVIDE( __start_vector_table__ = .);
142143
. += __vector_size;
143144
PROVIDE( __end_vector_table__ = .);

0 commit comments

Comments
 (0)