diff --git a/ports/raspberrypi/boards/vcc_gnd_yd_rp2040/board.c b/ports/raspberrypi/boards/vcc_gnd_yd_rp2040/board.c index e992ec063c..76973aee30 100644 --- a/ports/raspberrypi/boards/vcc_gnd_yd_rp2040/board.c +++ b/ports/raspberrypi/boards/vcc_gnd_yd_rp2040/board.c @@ -26,15 +26,4 @@ #include "supervisor/board.h" -void board_init(void) { -} - -bool board_requests_safe_mode(void) { - return false; -} - -void reset_board(void) { -} - -void board_deinit(void) { -} +// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here. diff --git a/ports/raspberrypi/boards/vcc_gnd_yd_rp2040/mpconfigboard.h b/ports/raspberrypi/boards/vcc_gnd_yd_rp2040/mpconfigboard.h index 01d74410e9..83875289d5 100644 --- a/ports/raspberrypi/boards/vcc_gnd_yd_rp2040/mpconfigboard.h +++ b/ports/raspberrypi/boards/vcc_gnd_yd_rp2040/mpconfigboard.h @@ -1,2 +1,4 @@ #define MICROPY_HW_BOARD_NAME "VCC-GND Studio YD RP2040" #define MICROPY_HW_MCU_NAME "rp2040" + +#define MICROPY_HW_NEOPIXEL (&pin_GPIO23) diff --git a/ports/raspberrypi/boards/vcc_gnd_yd_rp2040/mpconfigboard.mk b/ports/raspberrypi/boards/vcc_gnd_yd_rp2040/mpconfigboard.mk index 5a478a49a1..a42b251903 100644 --- a/ports/raspberrypi/boards/vcc_gnd_yd_rp2040/mpconfigboard.mk +++ b/ports/raspberrypi/boards/vcc_gnd_yd_rp2040/mpconfigboard.mk @@ -1,15 +1,11 @@ USB_VID = 0x2E8A -USB_PID = 0x000B +USB_PID = 0x102E USB_PRODUCT = "YD-RP2040" USB_MANUFACTURER = "VCC-GND Studio" CHIP_VARIANT = RP2040 CHIP_FAMILY = rp2 -EXTERNAL_FLASH_DEVICES = "W25Q16JVxQ" +EXTERNAL_FLASH_DEVICES = "W25Q16JVxQ,W25Q32JVxQ,W25Q128JVxQ" CIRCUITPY__EVE = 1 - -# Include these Python libraries in firmware -FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel -FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_SimpleIO