aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2023-04-03 15:47:41 -0700
committerChris Packham <judge.packham@gmail.com>2023-04-19 15:13:55 +1200
commit56dbe2ad30ba50fe07d363e749a956c5abc79c0b (patch)
tree78f052f6145abf75c7070ca4c038b9a5e6297c91 /samples
parentc33c2bf04e3a8288d79b55cf95206a34b33b6ccf (diff)
downloadcrosstool-ng-56dbe2ad30ba50fe07d363e749a956c5abc79c0b.tar.gz
crosstool-ng-56dbe2ad30ba50fe07d363e749a956c5abc79c0b.tar.bz2
crosstool-ng-56dbe2ad30ba50fe07d363e749a956c5abc79c0b.zip
arm-picolibc-eabi: Specify default linker memory layout
Picolibc now lets you configure the default memory layout used in the default linker script. Add values to the sample arm-picolibc-eabi configuration that sets values appropriate for typical cortex m processors run under qemu. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/arm-picolibc-eabi/crosstool.config4
1 files changed, 4 insertions, 0 deletions
diff --git a/samples/arm-picolibc-eabi/crosstool.config b/samples/arm-picolibc-eabi/crosstool.config
index 72dcb07b..d08c882f 100644
--- a/samples/arm-picolibc-eabi/crosstool.config
+++ b/samples/arm-picolibc-eabi/crosstool.config
@@ -8,3 +8,7 @@ CT_LIBC_PICOLIBC=y
CT_CC_GCC_MULTILIB_LIST="rmprofile"
CT_CC_GCC_CONFIG_TLS=y
CT_CC_LANG_CXX=y
+CT_LIBC_PICOLIBC_DEFAULT_FLASH_ADDR="0x00000000"
+CT_LIBC_PICOLIBC_DEFAULT_FLASH_SIZE="0x00400000"
+CT_LIBC_PICOLIBC_DEFAULT_RAM_ADDR="0x20000000"
+CT_LIBC_PICOLIBC_DEFAULT_RAM_SIZE="0x00200000"