aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stm32f4/system_stm32f4xx.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-08-21 21:10:25 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-09-06 13:49:16 -0400
commitd60b143595bbea02212e27bb6643cc8c5384d836 (patch)
tree8c39e445f10fb4ebb720425ef2945d2f6994796f /lib/stm32f4/system_stm32f4xx.c
parent97af0b3cb052651f200f79add9ef822ded7c5ba2 (diff)
downloadkutter-d60b143595bbea02212e27bb6643cc8c5384d836.tar.gz
kutter-d60b143595bbea02212e27bb6643cc8c5384d836.tar.xz
kutter-d60b143595bbea02212e27bb6643cc8c5384d836.zip
lib: It is no longer necessary to modify the stm32f4 code
Now that the stm32f4 code uses the armcm_boot mechanism, it is no longer necessary for SystemInit to be externally visible. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'lib/stm32f4/system_stm32f4xx.c')
-rw-r--r--lib/stm32f4/system_stm32f4xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stm32f4/system_stm32f4xx.c b/lib/stm32f4/system_stm32f4xx.c
index b94cfb2f..11c18d1a 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 __attribute__((externally_visible)) SystemInit(void)
+void SystemInit(void)
{
/* FPU settings ------------------------------------------------------------*/
#if (__FPU_PRESENT == 1) && (__FPU_USED == 1)