You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+114-9Lines changed: 114 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,13 +50,30 @@ The local tag database is the normalization layer. Future drivers such as PiLink
50
50
Primary target:
51
51
52
52
- Waveshare ESP32-S3 7-inch RGB LCD touch panel
53
-
- ESP32-S3 with PSRAM, commonly the N16R8-style configuration
53
+
- ESP32-S3 with PSRAM
54
54
- 800x480 RGB LCD
55
55
- GT911 touch controller
56
56
- CH422G I/O expander used by the Waveshare board
57
57
58
58
The firmware is not a generic ESP32-S3 display project. It contains board-specific display, touch, reset, and backlight handling for this Waveshare panel.
59
59
60
+
### Flash / PSRAM variants
61
+
62
+
The Waveshare ESP32-S3 7-inch LCD board appears to exist in at least two memory configurations:
63
+
64
+
- 16MB Flash / 8MB PSRAM
65
+
- 8MB Flash / 8MB PSRAM
66
+
67
+
Both variants use the same PiLab Panel source code, but they require different ESP-IDF flash-size settings and different partition tables.
68
+
69
+
If the wrong firmware is flashed, the install may appear to complete, but the board can reboot before Wi-Fi starts. A typical monitor message for flashing the 16MB firmware onto an 8MB board is:
70
+
71
+
```text
72
+
Detected size(8192k) smaller than the size in the binary image header(16384k)
73
+
```
74
+
75
+
If you see that message, build or flash the 8MB variant.
76
+
60
77
## Repository layout
61
78
62
79
```text
@@ -73,23 +90,53 @@ panel_web/
73
90
tools/ Web build helper scripts
74
91
75
92
tools/
76
-
embed_web_assets.py Converts built HTML into C source for firmware embedding
93
+
embed_web_assets.py Converts built HTML into C source for firmware embedding
94
+
build_8mb.ps1 Builds the 8MB flash variant
95
+
build_16mb.ps1 Builds the 16MB flash variant
96
+
copyFirmware.ps1 Copies built firmware into the web flasher folder
97
+
98
+
webflasher/
99
+
index.html ESP Web Tools browser flasher page
100
+
manifest_8mb.json Web flasher manifest for 8MB flash boards
101
+
manifest_16mb.json Web flasher manifest for 16MB flash boards
102
+
firmware/8mb/ 8MB build output copied here for GitHub Pages
103
+
firmware/16mb/ 16MB build output copied here for GitHub Pages
77
104
78
105
docs/
79
106
Architecture, build, validation, diagnostics, and contributor notes
80
107
```
81
108
82
109
## Quick start
83
110
84
-
### Build firmware only
111
+
### 1. Set the ESP-IDF target
112
+
113
+
Run this once after cloning or unpacking the project:
85
114
86
115
```bash
87
116
idf.py set-target esp32s3
88
-
idf.py build
89
-
idf.py flash monitor
90
117
```
91
118
92
-
### Connect to the panel
119
+
### 2. Choose the correct flash variant
120
+
121
+
PiLab Panel now supports separate 8MB and 16MB flash builds.
122
+
123
+
Use the 16MB build for original Waveshare ESP32-S3N16R8-style boards:
0 commit comments