rp2/boards/ARDUINO_NANO_RP2040_CONNECT: Add more external pins.

Add the missing A4, A5 external (Nina-W controlled) pins.
This commit is contained in:
iabdalkader 2023-03-07 09:50:19 +01:00 committed by Damien George
parent 46c432eaa6
commit 6bb60745be
2 changed files with 7 additions and 5 deletions

View File

@ -14,7 +14,7 @@
#define MICROPY_USE_INTERNAL_ERRNO (0) #define MICROPY_USE_INTERNAL_ERRNO (0)
// Enable externally controlled pins. // Enable externally controlled pins.
#define MICROPY_HW_PIN_EXT_COUNT (5) #define MICROPY_HW_PIN_EXT_COUNT (7)
// Enable USB Mass Storage with FatFS filesystem. // Enable USB Mass Storage with FatFS filesystem.
#define MICROPY_HW_USB_MSC (1) #define MICROPY_HW_USB_MSC (1)

View File

@ -17,10 +17,12 @@ A0,GPIO26
A1,GPIO27 A1,GPIO27
A2,GPIO28 A2,GPIO28
A3,GPIO29 A3,GPIO29
A4,GPIO12 SDA,GPIO12
A5,GPIO13 SCL,GPIO13
LEDR,EXT_GPIO0 LEDR,EXT_GPIO0
LEDG,EXT_GPIO1 LEDG,EXT_GPIO1
LEDB,EXT_GPIO2 LEDB,EXT_GPIO2
A6,EXT_GPIO3 D18,EXT_GPIO3
A7,EXT_GPIO4 D19,EXT_GPIO4
D20,EXT_GPIO5
D21,EXT_GPIO6

1 TX GPIO0
17 A1 GPIO27
18 A2 GPIO28
19 A3 GPIO29
20 A4 SDA GPIO12
21 A5 SCL GPIO13
22 LEDR EXT_GPIO0
23 LEDG EXT_GPIO1
24 LEDB EXT_GPIO2
25 A6 D18 EXT_GPIO3
26 A7 D19 EXT_GPIO4
27 D20 EXT_GPIO5
28 D21 EXT_GPIO6