From ccb8db5ea17387601e6e22d7aed00c73b45f5b94 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 21 Aug 2019 21:18:44 -0400 Subject: lib: No need to make lpc176x SystemInit() externally visible Now that the lpc176x code uses the armcm_boot mechanism, it is no longer necessary for SystemInit to be externally visible. Signed-off-by: Kevin O'Connor --- lib/lpc176x/device/system_LPC17xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/lpc176x/device/system_LPC17xx.c') diff --git a/lib/lpc176x/device/system_LPC17xx.c b/lib/lpc176x/device/system_LPC17xx.c index 10fa43da..c4e56121 100644 --- a/lib/lpc176x/device/system_LPC17xx.c +++ b/lib/lpc176x/device/system_LPC17xx.c @@ -511,7 +511,7 @@ uint32_t SystemCoreClock = __CORE_CLK;/*!< System Clock Frequency (Core Clock)*/ * @brief Setup the microcontroller system. * Initialize the System. */ -void __attribute__((externally_visible)) SystemInit (void) +void SystemInit (void) { #if (CLOCK_SETUP) /* Clock Setup */ LPC_SC->SCS = SCS_Val; -- cgit v1.2.3-70-g09d2