aboutsummaryrefslogtreecommitdiff
path: root/config/libc/picolibc.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/libc/picolibc.in')
-rw-r--r--config/libc/picolibc.in40
1 files changed, 40 insertions, 0 deletions
diff --git a/config/libc/picolibc.in b/config/libc/picolibc.in
index cd6da1ed..6c4c6cac 100644
--- a/config/libc/picolibc.in
+++ b/config/libc/picolibc.in
@@ -123,3 +123,43 @@ config LIBC_PICOLIBC_EXTRA_CONFIG_ARRAY
default ""
help
Extra flags to pass to meson when configuring picolibc.
+
+config LIBC_PICOLIBC_DEFAULT_FLASH_ADDR
+ string
+ prompt "Default flash address for picolibc.ld"
+ default "0x10000000"
+ help
+ Sets the default base adddress for the read-only portion of the
+ application when linked using the default picolibc link
+ script. Can be overridden on the linker command line using
+ -Wl,--defsym=__flash=<value>
+
+config LIBC_PICOLIBC_DEFAULT_FLASH_SIZE
+ string
+ prompt "Default flash size for picolibc.ld"
+ default "0x00010000"
+ help
+ Sets the default size for the read-only portion of the
+ application when linked using the default picolibc link script.
+ Can be overridden on the linker command line using
+ -Wl,--defsym=__flash_size=<value>
+
+config LIBC_PICOLIBC_DEFAULT_RAM_ADDR
+ string
+ prompt "Default ram address for picolibc.ld"
+ default "0x20000000"
+ help
+ Sets the default base adddress for the read-write portion of the
+ application when linked using the default picolibc link
+ script. Can be overridden on the linker command line using
+ -Wl,--defsym=__ram=<value>
+
+config LIBC_PICOLIBC_DEFAULT_RAM_SIZE
+ string
+ prompt "Default ram size for picolibc.ld"
+ default "0x00008000"
+ help
+ Sets the default size for the read-write portion of the
+ application when linked using the default picolibc link script.
+ Can be overridden on the linker command line using
+ -Wl,--defsym=__ram_size=<value>