diff options
Diffstat (limited to '00-hello/linker_script.ld')
-rw-r--r-- | 00-hello/linker_script.ld | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/00-hello/linker_script.ld b/00-hello/linker_script.ld new file mode 100644 index 0000000..fe0c14b --- /dev/null +++ b/00-hello/linker_script.ld @@ -0,0 +1,14 @@ +MEMORY +{ + flash : org = 0x08000000, len = 256k +} + +SECTIONS +{ + /* This is where the code goes. */ + . = ORIGIN(flash); + .text : { + *(.vectors); /* All .vector sections go here. */ + *(.text); /* All .text sections go here. */ + } >flash +} |