mbed library sources: Modified to operate FRDM-KL25Z at 48MHz from internal 32kHz oscillator (nothing else changed).

Fork of mbed-src by mbed official

The only file that changed is: mbed-src-FLL48/targets/cmsis/TARGET_Freescale/TARGET_KL25Z/system_MKL25Z4.h

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Thu Sep 19 10:00:04 2013 +0100
Parent:
26:3a65fe875a02
Child:
28:32fcdc465df5
Commit message:
Synchronized with git revision 38ed9eb6a079e6355789c73ed0ec3ecd482826b6

Changed in this revision

targets/hal/TARGET_NXP/TARGET_LPC11CXX/sleep.c Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_NXP/TARGET_LPC11CXX/sleep.c	Thu Sep 19 09:45:05 2013 +0100
+++ b/targets/hal/TARGET_NXP/TARGET_LPC11CXX/sleep.c	Thu Sep 19 10:00:04 2013 +0100
@@ -18,8 +18,10 @@
 #include "mbed_interface.h"
 
 void sleep(void) {
+#if DEVICE_SEMIHOST
     // ensure debug is disconnected
     mbed_interface_disconnect();
+#endif
     
     // PCON[DPDEN] set to sleep
     LPC_PMU->PCON = 0x0;
@@ -58,8 +60,10 @@
 */
 
 void deepsleep(void) {
+#if DEVICE_SEMIHOST
     // ensure debug is disconnected
     mbed_interface_disconnect();
+#endif
     
     // PCON[DPDEN] set to deepsleep
     LPC_PMU->PCON = 0x2;