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:
EngWill
2023-10-26 13:49:39 +08:00
committed by Damien George
parent 20ffe6f139
commit 1968b964f3
3 changed files with 35 additions and 0 deletions
@@ -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)