diff options
| author | Alex Evans <715855+mmalex@users.noreply.github.com> | 2024-11-07 12:01:15 +0000 |
|---|---|---|
| committer | Alex Evans <715855+mmalex@users.noreply.github.com> | 2024-11-07 12:01:15 +0000 |
| commit | cc7afbbb54d2b66cc3a89f2748c85fc632634d1f (patch) | |
| tree | 5f5c07c1aa0c6a9cf8dcf3543e68fd4626a8769f /bootloader/STM32L476VGTX_FLASH.ld | |
| parent | 78a4df6ca67f937cda8462d43cbd9547994b6474 (diff) | |
| download | plinky-cc7afbbb54d2b66cc3a89f2748c85fc632634d1f.tar.gz | |
work on build tooling to choose a golden bootloader (dubbed, v1.04) and then make a BOOTLOAD.UF2 that actually encompasses latest firmware and the golden bootloader
Diffstat (limited to 'bootloader/STM32L476VGTX_FLASH.ld')
| -rwxr-xr-x | bootloader/STM32L476VGTX_FLASH.ld | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bootloader/STM32L476VGTX_FLASH.ld b/bootloader/STM32L476VGTX_FLASH.ld index e5b911a..e43d901 100755 --- a/bootloader/STM32L476VGTX_FLASH.ld +++ b/bootloader/STM32L476VGTX_FLASH.ld @@ -68,6 +68,7 @@ SECTIONS . = ALIGN(4); _etext = .; /* define a global symbols at end of code */ + } >FLASH /* Constant data into "FLASH" Rom type memory */ @@ -122,6 +123,7 @@ SECTIONS . = ALIGN(4); } >FLASH + /* Used by the startup to initialize data */ _sidata = LOADADDR(.data); @@ -138,6 +140,7 @@ SECTIONS } >RAM AT> FLASH + /* Uninitialized data section into "RAM" Ram type memory */ . = ALIGN(4); .bss : @@ -165,6 +168,11 @@ SECTIONS . = ALIGN(8); } >RAM + .signature : + { + . = ALIGN(4); + KEEP(*(.signature)) + } > FLASH /* Remove information from the compiler libraries */ /DISCARD/ : |
