Skip to content

Commit 1f57568

Browse files
author
Deepika
committed
TARGET_Silicon_Labs Setup heap limit and size
1 parent c85ca4d commit 1f57568

File tree

9 files changed

+9
-0
lines changed
  • targets/TARGET_Silicon_Labs/TARGET_EFM32
    • TARGET_EFM32GG11/device/TOOLCHAIN_GCC_ARM
    • TARGET_EFM32HG/device/TARGET_64K/TOOLCHAIN_GCC_ARM
    • TARGET_EFM32LG/device/TARGET_256K/TOOLCHAIN_GCC_ARM
    • TARGET_EFM32PG12/device/TOOLCHAIN_GCC_ARM
    • TARGET_EFM32PG/device/TARGET_256K/TOOLCHAIN_GCC_ARM
    • TARGET_EFM32WG/device/TARGET_256K/TOOLCHAIN_GCC_ARM
    • TARGET_EFM32ZG/device/TARGET_32K/TOOLCHAIN_GCC_ARM
    • TARGET_EFR32MG12/device/TOOLCHAIN_GCC_ARM
    • TARGET_EFR32MG1/device/TOOLCHAIN_GCC_ARM

9 files changed

+9
-0
lines changed

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG11/device/TOOLCHAIN_GCC_ARM/efm32gg11.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ SECTIONS
204204
end = __end__;
205205
_end = __end__;
206206
KEEP(*(.heap*))
207+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
207208
__HeapLimit = .;
208209
} > RAM
209210

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32HG/device/TARGET_64K/TOOLCHAIN_GCC_ARM/efm32hg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ SECTIONS
205205
end = __end__;
206206
_end = __end__;
207207
KEEP(*(.heap*))
208+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
208209
__HeapLimit = .;
209210
} > RAM
210211

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG/device/TARGET_256K/TOOLCHAIN_GCC_ARM/efm32lg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ SECTIONS
204204
end = __end__;
205205
_end = __end__;
206206
KEEP(*(.heap*))
207+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
207208
__HeapLimit = .;
208209
} > RAM
209210

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG/device/TARGET_256K/TOOLCHAIN_GCC_ARM/efm32pg1b.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ SECTIONS
204204
end = __end__;
205205
_end = __end__;
206206
KEEP(*(.heap*))
207+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
207208
__HeapLimit = .;
208209
} > RAM
209210

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG12/device/TOOLCHAIN_GCC_ARM/efm32pg12b.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ SECTIONS
204204
end = __end__;
205205
_end = __end__;
206206
KEEP(*(.heap*))
207+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
207208
__HeapLimit = .;
208209
} > RAM
209210

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32WG/device/TARGET_256K/TOOLCHAIN_GCC_ARM/efm32wg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ SECTIONS
205205
end = __end__;
206206
_end = __end__;
207207
KEEP(*(.heap*))
208+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
208209
__HeapLimit = .;
209210
} > RAM
210211

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32ZG/device/TARGET_32K/TOOLCHAIN_GCC_ARM/efm32zg.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ SECTIONS
205205
end = __end__;
206206
_end = __end__;
207207
KEEP(*(.heap*))
208+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
208209
__HeapLimit = .;
209210
} > RAM
210211

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFR32MG1/device/TOOLCHAIN_GCC_ARM/efr32mg1p.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ SECTIONS
204204
end = __end__;
205205
_end = __end__;
206206
KEEP(*(.heap*))
207+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
207208
__HeapLimit = .;
208209
} > RAM
209210

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFR32MG12/device/TOOLCHAIN_GCC_ARM/efr32mg12p.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ SECTIONS
204204
end = __end__;
205205
_end = __end__;
206206
KEEP(*(.heap*))
207+
. = ORIGIN(RAM) + LENGTH(RAM) - STACK_SIZE;
207208
__HeapLimit = .;
208209
} > RAM
209210

0 commit comments

Comments
 (0)