Import of CSR's demo for SirfV. Has minor cleanup.
Dependencies: CsrLocation mbed GPSProvider
Fork of CsrLocationDemo by
Diff: CsrLocationDemo.cpp
- Revision:
- 19:b8703d1c1b38
- Parent:
- 18:c75558f5959f
- Child:
- 21:398bb500bb37
--- a/CsrLocationDemo.cpp Mon Nov 03 07:39:31 2014 +0000 +++ b/CsrLocationDemo.cpp Tue Nov 04 11:32:24 2014 +0000 @@ -6,17 +6,10 @@ #include "CsrLocation.h" #include "GPSProvider.h" -#ifdef TARGET_LPC1768 - #define PINMAP_GPIO_BTN D6 - #define PINMAP_GPIO_TEST D10 - #define LOC_LED1 LED1 - #define LOC_LED2 LED2 -#elif defined(TARGET_LPC1549) || defined(TARGET_NUCLEO_F103RB) - #define PINMAP_GPIO_BTN D5 - #define PINMAP_GPIO_TEST D10 - #define LOC_LED1 D7 - #define LOC_LED2 D6 -#endif // ifdef TARGET_LPC1768 +#define PINMAP_GPIO_BTN D5 +#define PINMAP_GPIO_TEST D10 +#define LOC_LED1 D7 +#define LOC_LED2 D6 #define APP_DBG_PORT_BAUD 115200 #define CSR_APP_LOG_INFO(...) sSerialDebug.printf(__VA_ARGS__)