TX1 node

Files at this revision

API Documentation at this revision

Comitter:
MadhuraT
Date:
Thu Jun 13 16:40:04 2019 +0000
Parent:
21:6c1c766b8988
Commit message:
tx1 code

Changed in this revision

parse_pins.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 6c1c766b8988 -r 9cdb46d0668b parse_pins.cpp
--- a/parse_pins.cpp	Sat Aug 20 23:09:11 2016 +0000
+++ b/parse_pins.cpp	Thu Jun 13 16:40:04 2019 +0000
@@ -38,7 +38,7 @@
                                 , NC, NC, NC, NC, NC, NC, NC, NC, p41, p42, p43, p44, p45, p46};
 #endif
 
-#if defined(TARGET_LPC1768) || defined(TARGET_LPC11U24) || defined(TARGET_LPC2368) || defined(TARGET_LPC812) || defined(TARGET_LPC4088) || defined(TARGET_LPC4088_DM) || defined(TARGET_LPC1114) || defined(TARGET_RZ_A1H) || defined(TARGET_VK_RZ_A1H) || defined(TARGET_STM32F103RB)
+#if defined(TARGET_LPC1768) || defined(TARGET_LPC11U24) || defined(TARGET_LPC2368) || defined(TARGET_LPC812) || defined(TARGET_LPC4088) || defined(TARGET_LPC4088_DM) || defined(TARGET_LPC1114) || defined(TARGET_RZ_A1H) || defined(TARGET_VK_RZ_A1H) || defined(TARGET_STM32F103RB) || defined (TARGET_STM32L475VG)
     if (str[0] == 'P') {              // Pn_n
         uint32_t port = str[1] - '0';
         uint32_t pin  = str[3] - '0'; // Pn_n
@@ -59,7 +59,7 @@
         }
         return port_pin((PortName)port, pin);
 
-#elif defined(TARGET_NUCLEO_F072RB) || defined(TARGET_NUCLEO_F303K8) || defined(TARGET_NUCLEO_F411RE)
+#elif defined(TARGET_NUCLEO_F072RB) || defined(TARGET_NUCLEO_F303K8) || defined(TARGET_NUCLEO_F411RE) || defined(TARGET_NUCLEO_DISCO_L475VG_IOT01A)
     if (str[0] == 'P') {   // PX_XX e.g.PA_2 PC_15
         uint32_t port = str[1] - 'A';
         uint32_t pin  = str[3] - '0';