kopia lustrzana https://github.com/micropython/micropython
ports/rp2/boards: Add some definition files for waveshare board.
Signed-off-by: EngWill <646689853@qq.com>pull/9085/head
rodzic
5b4a2baff6
commit
3946cf52b5
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"deploy": [
|
||||
"../deploy.md"
|
||||
],
|
||||
"docs": "",
|
||||
"features": [
|
||||
"Dual-core",
|
||||
"Battery Charging",
|
||||
"External Flash",
|
||||
"Display",
|
||||
"USB-C"
|
||||
],
|
||||
"images": [
|
||||
"rp2040-lcd-0.96-1.jpg"
|
||||
],
|
||||
"mcu": "rp2040",
|
||||
"product": "Waveshare RP2040-LCD-0.96",
|
||||
"thumbnail": "",
|
||||
"url": "https://www.waveshare.com/product/rp2040-lcd-0.96.htm",
|
||||
"vendor": "Waveshare"
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
# cmake file for Waveshare RP2040-LCD-0.96
|
||||
set(PICO_BOARD waveshare_rp2040_lcd_0.96)
|
|
@ -0,0 +1,12 @@
|
|||
// url : https://www.waveshare.com/product/rp2040-lcd-0.96.htm
|
||||
// wiki : https://www.waveshare.com/wiki/RP2040-LCD-0.96
|
||||
// Board and hardware specific configuration
|
||||
#define MICROPY_HW_BOARD_NAME "Waveshare RP2040-LCD-0.96"
|
||||
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
|
||||
|
||||
#define MICROPY_HW_USB_VID (0x2E8A)
|
||||
#define MICROPY_HW_USB_PID (0x1021)
|
||||
|
||||
#define MICROPY_HW_SPI1_SCK (10u)
|
||||
#define MICROPY_HW_SPI1_MOSI (11u)
|
||||
#define MICROPY_HW_SPI1_MISO (8u)
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"deploy": [
|
||||
"../deploy.md"
|
||||
],
|
||||
"docs": "",
|
||||
"features": [
|
||||
"Dual-core",
|
||||
"Battery Charging",
|
||||
"External Flash",
|
||||
"USB-C"
|
||||
],
|
||||
"images": [
|
||||
"rp2040-plus-1.jpg"
|
||||
],
|
||||
"mcu": "rp2040",
|
||||
"product": "Waveshare RP2040-Plus",
|
||||
"thumbnail": "",
|
||||
"url": "https://www.waveshare.com/rp2040-plus.htm",
|
||||
"vendor": "Waveshare"
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
# cmake file for Waveshar RP2040-Plus
|
||||
set(PICO_BOARD waveshare_rp2040_plus_16mb)
|
|
@ -0,0 +1,8 @@
|
|||
// url : https://www.waveshare.com/product/rp2040-plus.htm
|
||||
// wiki : https://www.waveshare.com/wiki/RP2040-Plus
|
||||
// Board and hardware specific configuration
|
||||
#define MICROPY_HW_BOARD_NAME "Waveshare RP2040-Plus"
|
||||
#define MICROPY_HW_FLASH_STORAGE_BYTES (15 * 1024 * 1024)
|
||||
|
||||
#define MICROPY_HW_USB_VID (0x2E8A)
|
||||
#define MICROPY_HW_USB_PID (0x1020)
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"deploy": [
|
||||
"../deploy.md"
|
||||
],
|
||||
"docs": "",
|
||||
"features": [
|
||||
"Dual-core",
|
||||
"Battery Charging",
|
||||
"External Flash",
|
||||
"USB-C"
|
||||
],
|
||||
"images": [
|
||||
"rp2040-plus-1.jpg"
|
||||
],
|
||||
"mcu": "rp2040",
|
||||
"product": "Waveshare RP2040-Plus",
|
||||
"thumbnail": "",
|
||||
"url": "https://www.waveshare.com/rp2040-plus.htm",
|
||||
"vendor": "Waveshare"
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
# cmake file for Waveshar RP2040-Plus
|
||||
set(PICO_BOARD waveshare_rp2040_plus_4mb)
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
// url : https://www.waveshare.com/product/rp2040-plus.htm
|
||||
// wiki : https://www.waveshare.com/wiki/RP2040-Plus
|
||||
// Board and hardware specific configuration
|
||||
#define MICROPY_HW_BOARD_NAME "Waveshare RP2040-Plus"
|
||||
#define MICROPY_HW_FLASH_STORAGE_BYTES (3 * 1024 * 1024)
|
||||
|
||||
#define MICROPY_HW_USB_VID (0x2E8A)
|
||||
#define MICROPY_HW_USB_PID (0x1020)
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"deploy": [
|
||||
"../deploy.md"
|
||||
],
|
||||
"docs": "",
|
||||
"features": [
|
||||
"Dual-core",
|
||||
"External Flash",
|
||||
"USB-C"
|
||||
],
|
||||
"images": [
|
||||
"rp2040-zero-1.jpg"
|
||||
],
|
||||
"mcu": "rp2040",
|
||||
"product": "Waveshare RP2040-Zero",
|
||||
"thumbnail": "",
|
||||
"url": "https://www.waveshare.com/product/rp2040-zero.htm",
|
||||
"vendor": "Waveshare"
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
# cmake file for Waveshar RP2040-Zero
|
||||
set(PICO_BOARD waveshare_rp2040_zero)
|
|
@ -0,0 +1,8 @@
|
|||
// url : https://www.waveshare.com/product/rp2040-zero.htm
|
||||
// wiki : http://www.waveshare.com/wiki/RP2040-Zero
|
||||
// Board and hardware specific configuration
|
||||
#define MICROPY_HW_BOARD_NAME "Waveshare RP2040-Zero"
|
||||
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
|
||||
|
||||
#define MICROPY_HW_USB_VID (0x2E8A)
|
||||
#define MICROPY_HW_USB_PID (0x101F)
|
Ładowanie…
Reference in New Issue