mirror of
https://github.com/micropython/micropython.git
synced 2026-04-25 02:10:24 +02:00
rp2/boards/WAVESHARE_RP2040_LCD_0_96: Add Waveshare RP2040 LCD 0.96.
Signed-off-by: EngWill <646689853@qq.com> Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -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": "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
|
||||
|
||||
#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)
|
||||
Reference in New Issue
Block a user