diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2023-01-18 02:06:09 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2023-01-18 02:06:09 -0700 |
| commit | 2ead5ea02814bcae8f4b08206aa8017051357b0f (patch) | |
| tree | c8d3be91672c139429930cf4672d3815a4aab26b /ls.ld | |
| download | ch573-2ead5ea02814bcae8f4b08206aa8017051357b0f.tar.gz ch573-2ead5ea02814bcae8f4b08206aa8017051357b0f.tar.bz2 ch573-2ead5ea02814bcae8f4b08206aa8017051357b0f.zip | |
Initial blinky commit!
Diffstat (limited to 'ls.ld')
| -rw-r--r-- | ls.ld | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +MEMORY +{ + flash : org = 0x00000000, len = 512k + sram : org = 0x20003800, len = 18k +} + +SECTIONS +{ + gpio_a = ABSOLUTE(0x400010A0); + gpio_b = ABSOLUTE(0x400010C0); + + . = ORIGIN(flash); + .text : ALIGN(0x04) { + *(.isr_vector); + . = ALIGN(0x100); + *(.text); + } >flash AT>flash +} |