Skip to content

Commit e19abef

Browse files
committed
forgot to add these!
1 parent 2793d4b commit e19abef

File tree

3 files changed

+5
-18
lines changed

3 files changed

+5
-18
lines changed

ports/raspberrypi/boards/vcc_gnd_yd_rp2040/board.c

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,4 @@
2626

2727
#include "supervisor/board.h"
2828

29-
void board_init(void) {
30-
}
31-
32-
bool board_requests_safe_mode(void) {
33-
return false;
34-
}
35-
36-
void reset_board(void) {
37-
}
38-
39-
void board_deinit(void) {
40-
}
29+
// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
#define MICROPY_HW_BOARD_NAME "VCC-GND Studio YD RP2040"
22
#define MICROPY_HW_MCU_NAME "rp2040"
3+
4+
#define MICROPY_HW_NEOPIXEL (&pin_GPIO23)
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
USB_VID = 0x2E8A
2-
USB_PID = 0x000B
2+
USB_PID = 0x102E
33
USB_PRODUCT = "YD-RP2040"
44
USB_MANUFACTURER = "VCC-GND Studio"
55

66
CHIP_VARIANT = RP2040
77
CHIP_FAMILY = rp2
88

9-
EXTERNAL_FLASH_DEVICES = "W25Q16JVxQ"
9+
EXTERNAL_FLASH_DEVICES = "W25Q16JVxQ,W25Q32JVxQ,W25Q128JVxQ"
1010

1111
CIRCUITPY__EVE = 1
12-
13-
# Include these Python libraries in firmware
14-
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_NeoPixel
15-
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_SimpleIO

0 commit comments

Comments
 (0)