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:
emilmont
Date:
Wed Aug 07 16:33:54 2013 +0000
Parent:
15:4892fe388435
Child:
17:151ab7482c89
Commit message:
Disable CAN because it does not implement the new CAN HAL

Changed in this revision

targets/hal/TARGET_NXP/TARGET_LPC408X/can_api.c Show annotated file Show diff for this revision Revisions of this file
targets/hal/TARGET_NXP/TARGET_LPC408X/device.h Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_NXP/TARGET_LPC408X/can_api.c	Wed Aug 07 16:43:59 2013 +0300
+++ b/targets/hal/TARGET_NXP/TARGET_LPC408X/can_api.c	Wed Aug 07 16:33:54 2013 +0000
@@ -21,6 +21,8 @@
 #include "pinmap.h"
 #include "error.h"
 
+#if DEVICE_CAN
+
 /* Acceptance filter mode in AFMR register */
 #define ACCF_OFF                0x01
 #define ACCF_BYPASS             0x02
@@ -280,3 +282,5 @@
         can_enable(obj);
     }
 }
+
+#endif
--- a/targets/hal/TARGET_NXP/TARGET_LPC408X/device.h	Wed Aug 07 16:43:59 2013 +0300
+++ b/targets/hal/TARGET_NXP/TARGET_LPC408X/device.h	Wed Aug 07 16:33:54 2013 +0000
@@ -33,7 +33,7 @@
 #define DEVICE_SPI              1
 #define DEVICE_SPISLAVE         1
 
-#define DEVICE_CAN              1
+#define DEVICE_CAN              0
 
 #define DEVICE_RTC              1