summaryrefslogtreecommitdiff
path: root/ports/raspberrypi/boards/pimoroni_tiny2040/mpconfigboard.h
blob: 8f188959cb7d8a8ccebbe33b835986789e03e5c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#define MICROPY_HW_BOARD_NAME "Pimoroni Tiny 2040"
#define MICROPY_HW_MCU_NAME "rp2040"

#define MICROPY_HW_LED_R (&pin_GPIO18)
#define MICROPY_HW_LED_G (&pin_GPIO19)
#define MICROPY_HW_LED_B (&pin_GPIO20)

#define MICROPY_HW_USER_SW (&pin_GPIO23)

// These pins are unconnected
#define IGNORE_PIN_GPIO8    1
#define IGNORE_PIN_GPIO9    1
#define IGNORE_PIN_GPIO10   1
#define IGNORE_PIN_GPIO11   1
#define IGNORE_PIN_GPIO12   1
#define IGNORE_PIN_GPIO13   1
#define IGNORE_PIN_GPIO14   1
#define IGNORE_PIN_GPIO15   1
#define IGNORE_PIN_GPIO16   1
#define IGNORE_PIN_GPIO17   1
#define IGNORE_PIN_GPIO21   1
#define IGNORE_PIN_GPIO22   1
#define IGNORE_PIN_GPIO24   1
#define IGNORE_PIN_GPIO25   1