Skip to content

Commit 1586bee

Browse files
committed
feat(esp32-s3-box): connect internal LCD
1 parent 9d77ba9 commit 1586bee

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

boards/esp32-s3-box/board.json

+14-3
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,30 @@
3838
"G19": { "x": 39.03, "y": 95.49, "target": "GPIO19" },
3939
"G20": { "x": 41.57, "y": 95.49, "target": "GPIO20" },
4040
"GND.4": { "x": 44.11, "y": 95.49, "target": "GND" },
41-
"3V3.4": { "x": 46.65, "y": 95.49, "target": "power(3.3)" }
41+
"3V3.4": { "x": 46.65, "y": 95.49, "target": "power(3.3)" },
42+
43+
// internals
44+
"$gpio4": { "target": ["GPIO4", "lcd1:D/C"] },
45+
"$gpio5": { "target": ["GPIO5", "lcd1:CS"] },
46+
"$gpio6": { "target": ["GPIO6", "lcd1:MOSI"] },
47+
"$gpio7": { "target": ["GPIO7", "lcd1:SCK"] },
48+
"$gpio48": { "target": ["GPIO48", "lcd1:RST"] },
49+
50+
"$gpio8": { "target": "GPIO8" }, // SDA
51+
"$gpio18": { "target": "GPIO18" } // SCL
4252
},
4353

4454
"displays": [
4555
{
46-
"id": "chip",
56+
"id": "lcd1",
4757
"x": 13.137,
4858
"y": 18.973,
4959
"width": 70.275,
5060
"height": 53.254,
5161
"pixelWidth": 320,
5262
"pixelHeight": 240,
53-
"chip": "ili9341" // actually ili9342c
63+
"flipVertical": true,
64+
"chip": "ili9342c"
5465
}
5566
],
5667

0 commit comments

Comments
 (0)