h7: used attribute for system init
@@ -702,7 +702,7 @@ void CRS_IRQHandler(void) {
}
#endif
-void SystemInit(void) {
+__attribute__((__used__)) void SystemInit(void) {
// FPU settings
#if (__FPU_PRESENT == 1) && (__FPU_USED == 1)
SCB->CPACR |= ((3UL << 10 * 2) | (3UL << 11 * 2)); // Set CP10 and CP11 Full Access
