Skip to content

Commit

Permalink
rp2/boards/ARDUINO_NANO_RP2040_CONNECT: Add more external pins.
Browse files Browse the repository at this point in the history
Add the missing A4, A5 external (Nina-W controlled) pins.
  • Loading branch information
iabdalkader authored and dpgeorge committed Mar 7, 2023
1 parent 46c432e commit 6bb6074
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define MICROPY_USE_INTERNAL_ERRNO (0)

// 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.
#define MICROPY_HW_USB_MSC (1)
Expand Down
10 changes: 6 additions & 4 deletions ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/pins.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ A0,GPIO26
A1,GPIO27
A2,GPIO28
A3,GPIO29
A4,GPIO12
A5,GPIO13
SDA,GPIO12
SCL,GPIO13
LEDR,EXT_GPIO0
LEDG,EXT_GPIO1
LEDB,EXT_GPIO2
A6,EXT_GPIO3
A7,EXT_GPIO4
D18,EXT_GPIO3
D19,EXT_GPIO4
D20,EXT_GPIO5
D21,EXT_GPIO6

0 comments on commit 6bb6074

Please sign in to comment.