mbed RPC
Dependents: 02_DPPU_JUANDA_120 02_DPPU_JUANDA_120_Latest_copy 02_DPPU_JUANDA_120_Latest
Revision 9:e7fffe9a856a, committed 2019-08-06
- Comitter:
- irsanjul
- Date:
- Tue Aug 06 12:54:59 2019 +0000
- Parent:
- 8:fece2d5e8d96
- Commit message:
- tttt
Changed in this revision
parse_pins.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r fece2d5e8d96 -r e7fffe9a856a parse_pins.cpp --- a/parse_pins.cpp Mon Feb 09 09:15:22 2015 +0000 +++ b/parse_pins.cpp Tue Aug 06 12:54:59 2019 +0000 @@ -19,9 +19,40 @@ PinName parse_pins(const char *str) { #if defined(TARGET_LPC1768) || defined(TARGET_LPC11U24) || defined(TARGET_LPC2368) + + #if defined(TARGET_UBLOX_C027) + #define p5 P0_9 + #define p6 P0_8 + #define p7 P0_7 + #define p8 P0_6 + #define p9 P0_0 + #define p10 P0_1 + #define p11 P0_18 + #define p12 P0_17 + #define p13 P0_15 + #define p14 P0_16 + #define p15 P0_23 + #define p16 P0_24 + #define p17 P0_25 + #define p18 P0_26 + #define p19 P1_30 + #define p20 P1_30 + #define p21 P2_5 + #define p22 P2_4 + #define p23 P2_3 + #define p24 P2_2 + #define p25 P2_1 + #define p26 P2_0 + #define p27 P0_11 + #define p28 P0_10 + #define p29 P0_5 + #define p30 P0_4 + + #endif static const PinName pin_names[] = {p5, p6, p7, p8, p9, p10, p11, p12, p13, p14 , p15, p16, p17, p18, p19, p20, p21, p22, p23 , p24, p25, p26, p27, p28, p29, p30}; + #elif defined(TARGET_LPC1114) static const PinName pin_names[] = {dp1, dp2, dp4, dp5, dp6, dp9, dp10, dp11 , dp13, dp14, dp15, dp16, dp17, dp18, dp23