Csr location class shows location and satellite information, which supports H13467 + ST F103RB/NXP LCP1549 boards now.
Dependents: CsrLocationDemo CsrLocationDemo
Fork of CsrLocation by
Diff: createCSRGPS.cpp
- Revision:
- 20:88db82cf3f0f
- Parent:
- 18:5d72465991f5
--- a/createCSRGPS.cpp Tue Nov 18 09:03:17 2014 +0000 +++ b/createCSRGPS.cpp Thu Nov 27 10:28:35 2014 +0000 @@ -18,8 +18,13 @@ #include "CsrLocation.h" #include "GPSProviderImplBase.h" +#ifdef TARGET_K64F +#define PINMAP_UART_LOC_TX D1 +#define PINMAP_UART_LOC_RX D0 +#else #define PINMAP_UART_LOC_TX D8 #define PINMAP_UART_LOC_RX D2 +#endif #define PINMAP_GPIO_LOC_ONOFF D9 #define PINMAP_GPIO_LOC_RESET D4 #define PINMAP_GPIO_LOC_WAKEUP D3