aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stm32f1/system_stm32f1xx.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-08-21 21:13:38 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-09-06 13:49:16 -0400
commit83d600d518667038f7c15eada20284115fe7624e (patch)
treef82a78e10272b4738d685c1de266575fbd68600a /lib/stm32f1/system_stm32f1xx.c
parentd60b143595bbea02212e27bb6643cc8c5384d836 (diff)
downloadkutter-83d600d518667038f7c15eada20284115fe7624e.tar.gz
kutter-83d600d518667038f7c15eada20284115fe7624e.tar.xz
kutter-83d600d518667038f7c15eada20284115fe7624e.zip
lib: It is no longer necessary to modify the stm32f1 code
Now that the stm32f1 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/stm32f1/system_stm32f1xx.c')
-rw-r--r--lib/stm32f1/system_stm32f1xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stm32f1/system_stm32f1xx.c b/lib/stm32f1/system_stm32f1xx.c
index fb6c279c..be2da1b1 100644
--- a/lib/stm32f1/system_stm32f1xx.c
+++ b/lib/stm32f1/system_stm32f1xx.c
@@ -154,7 +154,7 @@ const uint8_t APBPrescTable[8U] = {0, 0, 0, 0, 1, 2, 3, 4};
* @param None
* @retval None
*/
-void __attribute__((externally_visible)) SystemInit (void)
+void SystemInit (void)
{
/* Reset the RCC clock configuration to the default reset state(for debug purpose) */
/* Set HSION bit */