From cc7afbbb54d2b66cc3a89f2748c85fc632634d1f Mon Sep 17 00:00:00 2001 From: Alex Evans <715855+mmalex@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:01:15 +0000 Subject: 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 --- bootloader/STM32L476VGTX_FLASH.ld | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bootloader/STM32L476VGTX_FLASH.ld') 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/ : -- cgit v1.2.3