diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-11-24 22:27:15 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-11-24 22:27:15 +0000 |
commit | 59c9a162631b78eff84e2002478413b98c2cffbb (patch) | |
tree | 7d604206a2deb29c9f097ff1f3b7de78f44b34a3 /firmware/sections.lds | |
download | butterstick-59c9a162631b78eff84e2002478413b98c2cffbb.tar.gz butterstick-59c9a162631b78eff84e2002478413b98c2cffbb.zip |
Move all files
Diffstat (limited to 'firmware/sections.lds')
-rw-r--r-- | firmware/sections.lds | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/firmware/sections.lds b/firmware/sections.lds new file mode 100644 index 0000000..f914b46 --- /dev/null +++ b/firmware/sections.lds @@ -0,0 +1,25 @@ +/* +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. +*/ + +MEMORY { + /* the memory in the testbench is 128k in size; + * set LENGTH=96k and leave at least 32k for stack */ + mem : ORIGIN = 0x00000000, LENGTH = 0x00018000 +} + +SECTIONS { + .memory : { + . = 0x000000; + start*(.text); + *(.text); + *(*); + end = .; + . = ALIGN(4); + } > mem +} |