Board support library for C027

Dependents:   IoTWorkshopLCD IoTWorkshopBuzzer IoTWorkshopSensors C027_USSDTest ... more

Fork of C027 by u-blox

/media/uploads/ublox/c027_pinout_new.png

Revision:
20:89c45165ee87
Parent:
19:61d31c12230d
--- a/C027.cpp	Mon May 05 15:44:46 2014 +0000
+++ b/C027.cpp	Fri May 09 11:25:28 2014 +0000
@@ -3,27 +3,10 @@
 *   http://mbed.org/platforms/u-blox-C027/
 *   
 */
-#if defined(TARGET_UBLOX_C027) || defined(TARGET_LPC1768)
- 
- #include "C027.h"
+#if defined(TARGET_UBLOX_C027)
  
-#if !defined(TARGET_UBLOX_C027)
-// override the mbed_die function
-void mbed_die(void)
-{
-    DigitalOut led(LED);
-    __disable_irq();
-    for (;;)
-    {
-        // nothing to do here
-        led = 0;
-        wait_ms(200);
-        led = 1;
-        wait_ms(200);
-    }
-}
-#endif
-
+#include "C027.h"
+ 
 C027::C027() :
     // Modem
     mdmEn(MDMEN, 0),            // LDO off