Skip to content

Commit

Permalink
Merge pull request #2609 from fpistm/stm32cubeH7_update
Browse files Browse the repository at this point in the history
chore(h7): update to latest STM32CubeH7 v1.12.1
  • Loading branch information
fpistm authored Dec 20, 2024
2 parents 27ae59c + 574f1f6 commit bb640bf
Show file tree
Hide file tree
Showing 221 changed files with 16,089 additions and 6,346 deletions.
4 changes: 3 additions & 1 deletion libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"

#ifdef STM32U5xx
#ifdef STM32H7xx
#include "stm32h7xx_hal_sdio.c"
#elif STM32U5xx
#include "stm32u5xx_hal_sdio.c"
#endif
#pragma GCC diagnostic pop
427 changes: 292 additions & 135 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h723xx.h

Large diffs are not rendered by default.

427 changes: 292 additions & 135 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h725xx.h

Large diffs are not rendered by default.

427 changes: 292 additions & 135 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h730xx.h

Large diffs are not rendered by default.

427 changes: 292 additions & 135 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h730xxq.h

Large diffs are not rendered by default.

429 changes: 293 additions & 136 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h733xx.h

Large diffs are not rendered by default.

427 changes: 292 additions & 135 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h735xx.h

Large diffs are not rendered by default.

292 changes: 197 additions & 95 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h742xx.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h743xx.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h745xg.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h745xx.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xg.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h747xx.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h750xx.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h753xx.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h755xx.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h757xx.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7a3xx.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7a3xxq.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7b0xx.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7b0xxq.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7b3xx.h

Large diffs are not rendered by default.

296 changes: 199 additions & 97 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7b3xxq.h

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
/* #define STM32H745xx */ /*!< STM32H745ZI, STM32H745II, STM32H745BI, STM32H745XI Devices */
/* #define STM32H745xG */ /*!< STM32H745ZG, STM32H745IG, STM32H745BG, STM32H745XG Devices */
/* #define STM32H755xx */ /*!< STM32H755ZI, STM32H755II, STM32H755BI, STM32H755XI Devices */
/* #define STM32H7B0xx */ /*!< STM32H7B0ABIxQ, STM32H7B0IBTx, STM32H7B0RBTx, STM32H7B0VBTx, STM32H7B0ZBTx, STM32H7B0IBKxQ */
/* #define STM32H7B0xx */ /*!< STM32H7B0IBTx, STM32H7B0RBTx, STM32H7B0VBTx, STM32H7B0ZBTx Devices */
/* #define STM32H7B0xxQ */ /*!< STM32H7B0ABIxQ, STM32H7B0IBKxQ Devices */
/* #define STM32H7A3xx */ /*!< STM32H7A3IIK6, STM32H7A3IIT6, STM32H7A3NIH6, STM32H7A3RIT6, STM32H7A3VIH6, STM32H7A3VIT6, STM32H7A3ZIT6 */
/* #define STM32H7A3xxQ */ /*!< STM32H7A3QIY6Q, STM32H7A3IIK6Q, STM32H7A3IIT6Q, STM32H7A3LIH6Q, STM32H7A3VIH6Q, STM32H7A3VIT6Q, STM32H7A3AII6Q, STM32H7A3ZIT6Q */
/* #define STM32H7B3xx */ /*!< STM32H7B3IIK6, STM32H7B3IIT6, STM32H7B3NIH6, STM32H7B3RIT6, STM32H7B3VIH6, STM32H7B3VIT6, STM32H7B3ZIT6 */
Expand Down Expand Up @@ -102,11 +103,11 @@
#endif /* USE_HAL_DRIVER */

/**
* @brief CMSIS Device version number V1.10.4
* @brief CMSIS Device version number V1.10.6
*/
#define __STM32H7xx_CMSIS_DEVICE_VERSION_MAIN (0x01) /*!< [31:24] main version */
#define __STM32H7xx_CMSIS_DEVICE_VERSION_SUB1 (0x0A) /*!< [23:16] sub1 version */
#define __STM32H7xx_CMSIS_DEVICE_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */
#define __STM32H7xx_CMSIS_DEVICE_VERSION_SUB2 (0x06) /*!< [15:8] sub2 version */
#define __STM32H7xx_CMSIS_DEVICE_VERSION_RC (0x00) /*!< [7:0] release candidate */
#define __STM32H7xx_CMSIS_DEVICE_VERSION ((__STM32H7xx_CMSIS_DEVICE_VERSION_MAIN << 24)\
|(__STM32H7xx_CMSIS_DEVICE_VERSION_SUB1 << 16)\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ extern const uint8_t D1CorePrescTable[16] ; /*!< D1CorePrescTable prescalers ta

extern void SystemInit(void);
extern void SystemCoreClockUpdate(void);
extern void ExitRun0Mode(void);
/**
* @}
*/
Expand Down
77 changes: 61 additions & 16 deletions system/Drivers/CMSIS/Device/ST/STM32H7xx/Release_Notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,55 @@ <h1 id="release-notes-for-stm32h7xx-cmsis">Release Notes for <mark> STM32H7xx C
<div class="col-sm-12 col-lg-8">
<h1 id="update-history"><strong>Update History</strong></h1>
<div class="collapse">
<input type="checkbox" id="collapse-section16" checked aria-hidden="true"> <label for="collapse-section16" aria-hidden="true"><strong>V1.10.4 / 15-March-2024</strong></label>
<input type="checkbox" id="collapse-section18" checked aria-hidden="true"> <label for="collapse-section18" aria-hidden="true"><strong>V1.10.6 / 06-December-2024</strong></label>
<div>
<h2 id="main-changes">Main Changes</h2>
<ul>
<li><strong>system_stm32h7xx.c template files</strong>
<ul>
<li>Fix computed frequencies returned by the HAL_RCC_GetHCLKFreq(), HAL_RCC_GetPCLK1Freq(), and HAL_RCC_GetPCLK2Freq() APIs.</li>
<li>Enable FMC clock to ensure effective write access to FMC Bank1 registers in the SystemInit() API.</li>
</ul></li>
<li><strong>STM32H723/H725/H730/H733/H735 devices header files</strong>
<ul>
<li>Align the RTC TAMPER register and bitfields naming with the terminology used in the Reference Manual (RM0468).</li>
</ul></li>
<li><strong>STM32H742/H743/H745/H747/H750/H753/H755/H757/H7A3/H7B0/H7B3 device header files</strong>
<ul>
<li>Define new RTC macros to manage specific supported Tamper features:
<ul>
<li>RTC_TAMPER2_SUPPORT to manage Tamper 2 support</li>
<li>RTC_TAMPMASKFLAG_SUPPORT to manage Tamper Event Masking support</li>
<li>RTC_TAMPNOERASE_SUPPORT to manage Backup Registers erasure upon Tamper Event support</li>
<li>RTC_TAMPxIE_SUPPORT to manage selective TAMPERx interrupt enable support.</li>
</ul></li>
</ul></li>
</ul>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section17" aria-hidden="true"> <label for="collapse-section17" aria-hidden="true"><strong>V1.10.5 / 30-October-2024</strong></label>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<ul>
<li>Update startup files to safely exit from Run* mode.
<ul>
<li>Deploy the recommended “how to exit from Run* mode” configuration sequence available within product documentation.</li>
</ul></li>
<li>Update DBGMCU_APB1HFZ1_DBG_TIM24_Pos and FMC_SDCMR_MODE_2 macros with the new values.</li>
<li>Align GPIO MODER defines with naming used in reference manual.
<ul>
<li>Rename “GPIO_MODER_MODExx” to “GPIO_MODER_MODERxx”.</li>
</ul></li>
<li>Add alignment statements ALIGN(4) to Flash sections in gcc template linker files.</li>
</ul>
</div>
</div>
<div class="collapse">
<input type="checkbox" id="collapse-section16" aria-hidden="true"> <label for="collapse-section16" aria-hidden="true"><strong>V1.10.4 / 15-March-2024</strong></label>
<div>
<h2 id="main-changes-2">Main Changes</h2>
<ul>
<li>Update the values of the sensor calibration temperatures for H742, H743, and H753 part numbers.</li>
<li>Remove the unsupported MDMA BASE channel.</li>
<li>Align CMSIS with IP spec and product reference manual by adding missing bit fields definition.</li>
Expand All @@ -47,7 +92,7 @@ <h2 id="main-changes">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section15" aria-hidden="true"> <label for="collapse-section15" aria-hidden="true"><strong>V1.10.3 / 23-September-2022</strong></label>
<div>
<h2 id="main-changes-1">Main Changes</h2>
<h2 id="main-changes-3">Main Changes</h2>
<ul>
<li>General updates to fix known defects and implementation enhancements</li>
<li>Update system_stm32h7xx_*.c template files to fix typo in comment: the VTOR offset value is multiple of 0x400.</li>
Expand All @@ -58,7 +103,7 @@ <h2 id="main-changes-1">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section14" aria-hidden="true"> <label for="collapse-section14" aria-hidden="true"><strong>V1.10.2 / 12-February-2022</strong></label>
<div>
<h2 id="main-changes-2">Main Changes</h2>
<h2 id="main-changes-4">Main Changes</h2>
<ul>
<li>General updates to fix known defects and implementation enhancements</li>
<li>Add support for ADC LDO output voltage ready bit.</li>
Expand All @@ -73,7 +118,7 @@ <h2 id="main-changes-2">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section13" aria-hidden="true"> <label for="collapse-section13" aria-hidden="true"><strong>V1.10.1 / 06-December-2021</strong></label>
<div>
<h2 id="main-changes-3">Main Changes</h2>
<h2 id="main-changes-5">Main Changes</h2>
<ul>
<li>General updates to fix known defects and implementation enhancements</li>
<li>All source files: update disclaimer to add reference to the new license agreement.</li>
Expand All @@ -99,7 +144,7 @@ <h2 id="main-changes-3">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section12" aria-hidden="true"> <label for="collapse-section12" aria-hidden="true"><strong>V1.10.0 / 12-February-2021</strong></label>
<div>
<h2 id="main-changes-4">Main Changes</h2>
<h2 id="main-changes-6">Main Changes</h2>
<ul>
<li>Fix minor issues related to English typo in comments of registers and fields description</li>
<li>Update STM32H7 devices header files to add GPV registers definition, base address and instance</li>
Expand All @@ -117,7 +162,7 @@ <h2 id="main-changes-4">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section11" aria-hidden="true"> <label for="collapse-section11" aria-hidden="true"><strong>V1.9.0 / 29-May-2020</strong></label>
<div>
<h2 id="main-changes-5">Main Changes</h2>
<h2 id="main-changes-7">Main Changes</h2>
<ul>
<li>Add support of stm32h723xx, stm32h725xx, stm32h733xx, stm32h735xx, stm32h730xx and stm32h730xxQ devices:
<ul>
Expand Down Expand Up @@ -175,7 +220,7 @@ <h2 id="main-changes-5">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section10" aria-hidden="true"> <label for="collapse-section10" aria-hidden="true"><strong>V1.8.0 / 14-February-2020</strong></label>
<div>
<h2 id="main-changes-6">Main Changes</h2>
<h2 id="main-changes-8">Main Changes</h2>
<ul>
<li>General updates to align Bits and registers definitions with the STM32H7 reference manual</li>
<li>Update “ErrorStatus” enumeration definition in stm32h7xx.h file with SUCCESS set to numerical value zero</li>
Expand All @@ -196,7 +241,7 @@ <h2 id="main-changes-6">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section9" aria-hidden="true"> <label for="collapse-section9" aria-hidden="true"><strong>V1.7.0 / 06-December-2019</strong></label>
<div>
<h2 id="main-changes-7">Main Changes</h2>
<h2 id="main-changes-9">Main Changes</h2>
<ul>
<li><p>General updates to align Bit and registers definition with the STM32H7 reference manual</p></li>
<li>Add support of stm32h7A3xx, stm32h7A3xxQ, stm32h7B3xx, stm32h7B3xxQ, stm32h7B0xx and stm32h7B0xxQ devices:
Expand Down Expand Up @@ -226,7 +271,7 @@ <h2 id="main-changes-7">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section8" aria-hidden="true"> <label for="collapse-section8" aria-hidden="true"><strong>V1.6.0 / 28-June-2019</strong></label>
<div>
<h2 id="main-changes-8">Main Changes</h2>
<h2 id="main-changes-10">Main Changes</h2>
<ul>
<li>Add definition of “ART_TypeDef” structure: ART accelerator for Cortex-M4 available in Dual Core devices</li>
<li>Add definition of “ART” instance: pointer to “ART_TypeDef” structure</li>
Expand All @@ -241,7 +286,7 @@ <h2 id="main-changes-8">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section7" aria-hidden="true"> <label for="collapse-section7" aria-hidden="true"><strong>V1.5.0 / 05-April-2019</strong></label>
<div>
<h2 id="main-changes-9">Main Changes</h2>
<h2 id="main-changes-11">Main Changes</h2>
<ul>
<li>General updates to align Bit and registers definition with the STM32H7 reference manual</li>
<li>Updates to aligned with STM32H7xx <strong>rev.V</strong> devices</li>
Expand Down Expand Up @@ -305,7 +350,7 @@ <h2 id="main-changes-9">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section6" aria-hidden="true"> <label for="collapse-section6" aria-hidden="true"><strong>V1.3.1 / 31-January-2019</strong></label>
<div>
<h2 id="main-changes-10">Main Changes</h2>
<h2 id="main-changes-12">Main Changes</h2>
<ul>
<li><strong>Patch Release on top of V1.3.0</strong></li>
<li>Add Definition of UID_BASE ( Unique device ID register base address) to the STM32H7xx include files:
Expand All @@ -318,7 +363,7 @@ <h2 id="main-changes-10">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section5" aria-hidden="true"> <label for="collapse-section5" aria-hidden="true"><strong>V1.4.0 / 30-November-2018</strong></label>
<div>
<h2 id="main-changes-11">Main Changes</h2>
<h2 id="main-changes-13">Main Changes</h2>
<ul>
<li>STM32H7xx include files:
<ul>
Expand Down Expand Up @@ -363,7 +408,7 @@ <h2 id="main-changes-11">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section4" aria-hidden="true"> <label for="collapse-section4" aria-hidden="true"><strong>V1.3.0 / 29-June-2018</strong></label>
<div>
<h2 id="main-changes-12">Main Changes</h2>
<h2 id="main-changes-14">Main Changes</h2>
<ul>
<li>Add support for stm32h750xx value line devices:
<ul>
Expand All @@ -376,7 +421,7 @@ <h2 id="main-changes-12">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section3" aria-hidden="true"> <label for="collapse-section3" aria-hidden="true"><strong>V1.2.0 / 29-December-2017</strong></label>
<div>
<h2 id="main-changes-13">Main Changes</h2>
<h2 id="main-changes-15">Main Changes</h2>
<ul>
<li>Update FDCAN bit definition</li>
<li>Update SystemCoreClockUpdate() function in system_stm32h7xx.c file to use direct register access</li>
Expand All @@ -386,7 +431,7 @@ <h2 id="main-changes-13">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section2" aria-hidden="true"> <label for="collapse-section2" aria-hidden="true"><strong>V1.1.0 / 31-August-2017</strong></label>
<div>
<h2 id="main-changes-14">Main Changes</h2>
<h2 id="main-changes-16">Main Changes</h2>
<ul>
<li>Update USB OTG bit definition</li>
<li>Adjust PLL fractional computation</li>
Expand All @@ -396,7 +441,7 @@ <h2 id="main-changes-14">Main Changes</h2>
<div class="collapse">
<input type="checkbox" id="collapse-section1" aria-hidden="true"> <label for="collapse-section1" aria-hidden="true"><strong>V1.0.0 / 21-April-2017</strong></label>
<div>
<h2 id="main-changes-15">Main Changes</h2>
<h2 id="main-changes-17">Main Changes</h2>
<ul>
<li>First official release for <strong>STM32H743xx/753xx</strong> devices</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,34 +87,44 @@ SECTIONS

.ARM.extab (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
*(.ARM.extab* .gnu.linkonce.armextab.*)
. = ALIGN(4);
} >FLASH
.ARM (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
__exidx_start = .;
*(.ARM.exidx*)
__exidx_end = .;
. = ALIGN(4);
} >FLASH

.preinit_array (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP (*(.preinit_array*))
PROVIDE_HIDDEN (__preinit_array_end = .);
. = ALIGN(4);
} >FLASH
.init_array (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
PROVIDE_HIDDEN (__init_array_start = .);
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array*))
PROVIDE_HIDDEN (__init_array_end = .);
. = ALIGN(4);
} >FLASH
.fini_array (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
PROVIDE_HIDDEN (__fini_array_start = .);
KEEP (*(SORT(.fini_array.*)))
KEEP (*(.fini_array*))
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
} >FLASH

/* used by the startup to initialize data */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,34 +87,44 @@ SECTIONS

.ARM.extab (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
*(.ARM.extab* .gnu.linkonce.armextab.*)
. = ALIGN(4);
} >FLASH
.ARM (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
__exidx_start = .;
*(.ARM.exidx*)
__exidx_end = .;
. = ALIGN(4);
} >FLASH

.preinit_array (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP (*(.preinit_array*))
PROVIDE_HIDDEN (__preinit_array_end = .);
. = ALIGN(4);
} >FLASH
.init_array (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
PROVIDE_HIDDEN (__init_array_start = .);
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array*))
PROVIDE_HIDDEN (__init_array_end = .);
. = ALIGN(4);
} >FLASH
.fini_array (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
PROVIDE_HIDDEN (__fini_array_start = .);
KEEP (*(SORT(.fini_array.*)))
KEEP (*(.fini_array*))
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
} >FLASH

/* used by the startup to initialize data */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,34 +87,44 @@ SECTIONS

.ARM.extab (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
*(.ARM.extab* .gnu.linkonce.armextab.*)
. = ALIGN(4);
} >FLASH
.ARM (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
__exidx_start = .;
*(.ARM.exidx*)
__exidx_end = .;
. = ALIGN(4);
} >FLASH

.preinit_array (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
PROVIDE_HIDDEN (__preinit_array_start = .);
KEEP (*(.preinit_array*))
PROVIDE_HIDDEN (__preinit_array_end = .);
. = ALIGN(4);
} >FLASH
.init_array (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
PROVIDE_HIDDEN (__init_array_start = .);
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array*))
PROVIDE_HIDDEN (__init_array_end = .);
. = ALIGN(4);
} >FLASH
.fini_array (READONLY) : /* The READONLY keyword is only supported in GCC11 and later, remove it if using GCC10 or earlier. */
{
. = ALIGN(4);
PROVIDE_HIDDEN (__fini_array_start = .);
KEEP (*(SORT(.fini_array.*)))
KEEP (*(.fini_array*))
PROVIDE_HIDDEN (__fini_array_end = .);
. = ALIGN(4);
} >FLASH

/* used by the startup to initialize data */
Expand Down
Loading

0 comments on commit bb640bf

Please sign in to comment.