Fork to support REVB hardware.
Dependents: C027_BootTest_revb C027_EthernetSniffTest C027_M3_SerialEcho C027_HelloWorld_revb ... more
Fork of C027 by
Revision 2:b7bd3660ff64, committed 2013-10-16
- Comitter:
- mazgch
- Date:
- Wed Oct 16 08:55:05 2013 +0000
- Parent:
- 1:4a3bc6c3f1d0
- Child:
- 3:b54777b90da1
- Commit message:
- added mbed_die override
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/C027.cpp Wed Oct 16 08:55:05 2013 +0000 @@ -0,0 +1,19 @@ +/* Platform source file, for the u-blox C27-C20/U20/G35 +* mbed Internet of Things Starter Kit +* http://mbed.org/platforms/u-blox-C027/ +* +*/ + +#include "C027.h" + +void mbed_die(void) +{ + for (;;) + { + // nothing to do here + + // we do not have any fancy leds that + // can be flashed on our platform + } +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/C027.h Wed Oct 16 08:55:05 2013 +0000 @@ -0,0 +1,11 @@ +/* Platform header file, for the u-blox C27-C20/U20/G35 +* mbed Internet of Things Starter Kit +* http://mbed.org/platforms/u-blox-C027/ +* +*/ + +#pragma once + +// override the weak mbed die function that flashes the leds. +// leds are not avilable on the C027 board +void mbed_die(void); \ No newline at end of file
--- a/C027_PinNames.h Tue Oct 01 14:46:30 2013 +0000 +++ b/C027_PinNames.h Wed Oct 16 08:55:05 2013 +0000 @@ -1,6 +1,6 @@ /* Platform header file, for the u-blox C27-C20/U20/G35 * mbed Internet of Things Starter Kit -* http://mbed.org/platforms/u-blox-C27/ +* http://mbed.org/platforms/u-blox-C027/ * * Defines for pin connections of the LPC1768 */ @@ -13,6 +13,7 @@ // I2C (shared with LISA/SARA) #define GPSSDA (P0_27) #define GPSSCL (P0_28) +#define GPSADR (66<<1) // GPS I2C Address // UART #define GPSTXD (P0_10) #define GPSRXD (P0_11)