Merge pull request #7927 from adafruit/thinkink_update
Feather RP2040 ThinkInk update
This commit is contained in:
commit
2b17fda028
@ -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 MICROPY_HW_MCU_NAME "rp2040"
|
||||||
|
|
||||||
#define CIRCUITPY_STATUS_LED_POWER (&pin_GPIO20)
|
#define CIRCUITPY_STATUS_LED_POWER (&pin_GPIO20)
|
@ -1,6 +1,6 @@
|
|||||||
USB_VID = 0x239A
|
USB_VID = 0x239A
|
||||||
USB_PID = 0x812C
|
USB_PID = 0x812C
|
||||||
USB_PRODUCT = "Feather RP2040 EPD"
|
USB_PRODUCT = "Feather RP2040 ThinkInk"
|
||||||
USB_MANUFACTURER = "Adafruit"
|
USB_MANUFACTURER = "Adafruit"
|
||||||
|
|
||||||
CHIP_VARIANT = RP2040
|
CHIP_VARIANT = RP2040
|
@ -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_D4), MP_ROM_PTR(&pin_GPIO4) },
|
||||||
{ MP_ROM_QSTR(MP_QSTR_BOOT), MP_ROM_PTR(&pin_GPIO7) },
|
{ 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_SDA), MP_ROM_PTR(&pin_GPIO2) },
|
||||||
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO3) },
|
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO3) },
|
Loading…
Reference in New Issue
Block a user