Merge pull request #7039 from dhalbert/fix-yd-rp2040-pr
Fix YD-RP2040 files
This commit is contained in:
commit
fed884738c
@ -26,15 +26,4 @@
|
|||||||
|
|
||||||
#include "supervisor/board.h"
|
#include "supervisor/board.h"
|
||||||
|
|
||||||
void board_init(void) {
|
// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.
|
||||||
}
|
|
||||||
|
|
||||||
bool board_requests_safe_mode(void) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
void reset_board(void) {
|
|
||||||
}
|
|
||||||
|
|
||||||
void board_deinit(void) {
|
|
||||||
}
|
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
#define MICROPY_HW_BOARD_NAME "VCC-GND Studio YD RP2040"
|
#define MICROPY_HW_BOARD_NAME "VCC-GND Studio YD RP2040"
|
||||||
#define MICROPY_HW_MCU_NAME "rp2040"
|
#define MICROPY_HW_MCU_NAME "rp2040"
|
||||||
|
|
||||||
|
#define MICROPY_HW_NEOPIXEL (&pin_GPIO23)
|
||||||
|
@ -1,15 +1,11 @@
|
|||||||
USB_VID = 0x2E8A
|
USB_VID = 0x2E8A
|
||||||
USB_PID = 0x000B
|
USB_PID = 0x102E
|
||||||
USB_PRODUCT = "YD-RP2040"
|
USB_PRODUCT = "YD-RP2040"
|
||||||
USB_MANUFACTURER = "VCC-GND Studio"
|
USB_MANUFACTURER = "VCC-GND Studio"
|
||||||
|
|
||||||
CHIP_VARIANT = RP2040
|
CHIP_VARIANT = RP2040
|
||||||
CHIP_FAMILY = rp2
|
CHIP_FAMILY = rp2
|
||||||
|
|
||||||
EXTERNAL_FLASH_DEVICES = "W25Q16JVxQ"
|
EXTERNAL_FLASH_DEVICES = "W25Q16JVxQ,W25Q32JVxQ,W25Q128JVxQ"
|
||||||
|
|
||||||
CIRCUITPY__EVE = 1
|
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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user