Skip to content

Commit cba7a81

Browse files
committed
Minor update for Feather RP2040 ThinkInk
hihi - updating board name from EPD to ThinkInk and adding pin def for board.BUTTON
1 parent 750615f commit cba7a81

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

ports/raspberrypi/boards/adafruit_feather_rp2040_epd/mpconfigboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#define MICROPY_HW_BOARD_NAME "Adafruit Feather RP2040 EPD"
1+
#define MICROPY_HW_BOARD_NAME "Adafruit Feather RP2040 ThinkInk"
22
#define MICROPY_HW_MCU_NAME "rp2040"
33

44
#define CIRCUITPY_STATUS_LED_POWER (&pin_GPIO20)

ports/raspberrypi/boards/adafruit_feather_rp2040_epd/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
USB_VID = 0x239A
22
USB_PID = 0x812C
3-
USB_PRODUCT = "Feather RP2040 EPD"
3+
USB_PRODUCT = "Feather RP2040 ThinkInk"
44
USB_MANUFACTURER = "Adafruit"
55

66
CHIP_VARIANT = RP2040

ports/raspberrypi/boards/adafruit_feather_rp2040_epd/pins.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
2121

2222
{ MP_ROM_QSTR(MP_QSTR_D4), MP_ROM_PTR(&pin_GPIO4) },
2323
{ MP_ROM_QSTR(MP_QSTR_BOOT), MP_ROM_PTR(&pin_GPIO7) },
24+
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO7) },
2425

2526
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO2) },
2627
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO3) },

0 commit comments

Comments
 (0)