Minor update for Feather RP2040 ThinkInk

hihi - updating board name from EPD to ThinkInk and adding pin def for board.BUTTON
This commit is contained in:
Liz 2023-05-02 17:02:59 -04:00
parent 750615f2da
commit cba7a812fc
3 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#define MICROPY_HW_BOARD_NAME "Adafruit Feather RP2040 EPD"
#define MICROPY_HW_BOARD_NAME "Adafruit Feather RP2040 ThinkInk"
#define MICROPY_HW_MCU_NAME "rp2040"
#define CIRCUITPY_STATUS_LED_POWER (&pin_GPIO20)

View File

@ -1,6 +1,6 @@
USB_VID = 0x239A
USB_PID = 0x812C
USB_PRODUCT = "Feather RP2040 EPD"
USB_PRODUCT = "Feather RP2040 ThinkInk"
USB_MANUFACTURER = "Adafruit"
CHIP_VARIANT = RP2040

View File

@ -21,6 +21,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR_D4), MP_ROM_PTR(&pin_GPIO4) },
{ MP_ROM_QSTR(MP_QSTR_BOOT), MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO2) },
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO3) },