aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stm32f4/stm32f4.patch
blob: 4f5d88c35ca0f24d62e74af8690fa15d9077bd83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/stm32f4/system_stm32f4xx.c b/lib/stm32f4/system_stm32f4xx.c
index 11c18d1a..b94cfb2f 100644
--- a/lib/stm32f4/system_stm32f4xx.c
+++ b/lib/stm32f4/system_stm32f4xx.c
@@ -163,7 +163,7 @@ const uint8_t APBPrescTable[8]  = {0, 0, 0, 0, 1, 2, 3, 4};
   * @param  None
   * @retval None
   */
-void SystemInit(void)
+void __attribute__((externally_visible)) SystemInit(void)
 {
   /* FPU settings ------------------------------------------------------------*/
   #if (__FPU_PRESENT == 1) && (__FPU_USED == 1)