Merge pull request #7039 from dhalbert/fix-yd-rp2040-pr

Fix YD-RP2040 files
This commit is contained in:
MicroDev 2022-10-12 00:24:37 +05:30 committed by GitHub
commit fed884738c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 18 deletions

View File

@ -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.

View File

@ -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)

View File

@ -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