rp2/boards/ARDUINO_NANO_RP2040_CONNECT: Add external analog pins.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
iabdalkader 2023-10-17 12:36:40 +02:00 committed by Damien George
parent 5e52389f99
commit 2590a34ed7
2 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,7 @@
// Enable externally controlled pins.
#define MICROPY_HW_PIN_EXT_COUNT (7)
#define MICROPY_HW_ADC_EXT_COUNT (4)
// Enable USB Mass Storage with FatFS filesystem.
#define MICROPY_HW_USB_MSC (1)

View File

@ -26,3 +26,7 @@ D18,EXT_GPIO3
D19,EXT_GPIO4
D20,EXT_GPIO5
D21,EXT_GPIO6
A4,EXT_GPIO3
A5,EXT_GPIO4
A6,EXT_GPIO5
A7,EXT_GPIO6

1 TX GPIO0
26 D19 EXT_GPIO4
27 D20 EXT_GPIO5
28 D21 EXT_GPIO6
29 A4 EXT_GPIO3
30 A5 EXT_GPIO4
31 A6 EXT_GPIO5
32 A7 EXT_GPIO6