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>
This commit is contained in:
Kevin O'Connor 2019-08-21 21:13:38 -04:00
parent d60b143595
commit 83d600d518
3 changed files with 2 additions and 16 deletions

View file

@ -1,13 +0,0 @@
diff --git a/lib/stm32f1/system_stm32f1xx.c b/lib/stm32f1/system_stm32f1xx.c
index be2da1b1..fb6c279c 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 SystemInit (void)
+void __attribute__((externally_visible)) SystemInit (void)
{
/* Reset the RCC clock configuration to the default reset state(for debug purpose) */
/* Set HSION bit */

View file

@ -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 */