Skip to content

Commit 1968b96

Browse files
EngineerWilldpgeorge
authored andcommitted
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>
1 parent 20ffe6f commit 1968b96

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"deploy": [
3+
"../deploy.md"
4+
],
5+
"docs": "",
6+
"features": [
7+
"Dual-core",
8+
"Battery Charging",
9+
"External Flash",
10+
"Display",
11+
"USB-C"
12+
],
13+
"images": [
14+
"rp2040-lcd-0.96-1.jpg"
15+
],
16+
"mcu": "rp2040",
17+
"product": "RP2040-LCD-0.96",
18+
"thumbnail": "",
19+
"url": "https://www.waveshare.com/product/rp2040-lcd-0.96.htm",
20+
"vendor": "Waveshare"
21+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# cmake file for Waveshare RP2040-LCD-0.96
2+
set(PICO_BOARD "waveshare_rp2040_lcd_0.96")
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// url: https://www.waveshare.com/product/rp2040-lcd-0.96.htm
2+
// wiki: https://www.waveshare.com/wiki/RP2040-LCD-0.96
3+
4+
#define MICROPY_HW_BOARD_NAME "Waveshare RP2040-LCD-0.96"
5+
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
6+
7+
#define MICROPY_HW_USB_VID (0x2E8A)
8+
#define MICROPY_HW_USB_PID (0x1021)
9+
10+
#define MICROPY_HW_SPI1_SCK (10u)
11+
#define MICROPY_HW_SPI1_MOSI (11u)
12+
#define MICROPY_HW_SPI1_MISO (8u)

0 commit comments

Comments
 (0)