feat: H7 support (#5738)

Co-authored-by: Richard Li <richard.li@ces.hk>
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
Malte Langermann
2025-01-18 10:08:13 +01:00
committed by GitHub
co-authored by Richard Li philmoz raphaelcoeffic
parent 5a15ffb017
commit 3d25c2a0f8
458 changed files with 441554 additions and 2410 deletions
@@ -12,11 +12,11 @@
PROVIDE(__exidx_end = .);
} > REGION_TEXT AT> REGION_TEXT_STORAGE
.reboot_buffer(NOLOAD) :
/* Bootstrap code to load ISR vector and code sections */
.bootstrap :
{
. = ALIGN(4);
*(.reboot*)
} > REGION_DATA
*(.bootstrap)
} > REGION_TEXT_STORAGE
/* Initialized data sections goes into RAM, load LMA copy after code */
.data :
@@ -32,7 +32,7 @@
_sidata = LOADADDR(.data);
/* Uninitialized data section */
.bss(NOLOAD) :
.bss(NOLOAD) : AT (ADDR(.bss))
{
. = ALIGN(4);
/* This is used by the startup in order to initialize the .bss secion */
@@ -43,8 +43,8 @@ _sidata = LOADADDR(.data);
_ebss = .; /* define a global symbol at bss end */
} > REGION_BSS
/* collect all uninitialized .ram sections (force DMA accessible) */
.ram (NOLOAD) :
/* collect all uninitialized .ram sections */
.ram (NOLOAD) : AT (ADDR(.ram))
{
. = ALIGN(4);
_sram = .;
@@ -55,6 +55,12 @@ _sidata = LOADADDR(.data);
INCLUDE extra_sections.ld
/* Seems to be the safest place for all targets (see AN2606) */
.reboot_buffer (ORIGIN(REGION_DATA) + LENGTH(REGION_DATA) - 4) (NOLOAD) : AT (ADDR(.reboot_buffer))
{
KEEP(*(.reboot*))
} > REGION_DATA
/* Remove information from the standard libraries */
/DISCARD/ :
{