Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
Diff: targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.c
- Revision:
- 446:b421ac8a7b41
- Parent:
- 294:78f9587bb26d
--- a/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.c Thu Jan 15 19:30:07 2015 +0000
+++ b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/system_LPC43xx.c Sat Jan 17 10:30:07 2015 +0000
@@ -150,12 +150,10 @@
SCB->VTOR = (unsigned int) &g_pfnVectors;
#endif
-#if !defined(TOOLCHAIN_GCC)
#if defined(__FPU_PRESENT) && __FPU_PRESENT == 1
/* Initialize floating point */
fpuInit();
#endif
-#endif
SystemSetupPins(pre_clock_mux, COUNT_OF(pre_clock_mux)); /* Configure pins */
SystemSetupClock(); /* Configure processor and peripheral clocks */
@@ -367,7 +365,7 @@
static void WaitUs(uint32_t us)
{
- uint32_t cyc = us * CPU_NANOSEC(1000) / 4;
+ volatile uint32_t cyc = us * CPU_NANOSEC(1000) / 4;
while (cyc--)
;
}
