@geastack/targets 0.1.84 → 0.1.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-config.json +521 -0
- package/package.json +7 -7
- package/targets/cmake/gea_build_config.cmake +12 -0
- package/targets/esp32/chip_bindings/displays/sh8601.cpp +8 -0
- package/targets/esp32/display.cpp +20 -0
- package/targets/esp32/gea_framework.cmake +25 -3
- package/targets/esp32-p4-m5stack-tab5/main/CMakeLists.txt +2 -1
- package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/CMakeLists.txt +2 -1
- package/targets/esp32-p4-waveshare-touch-lcd-7/main/CMakeLists.txt +2 -1
- package/targets/esp32-s3-elecrow-rotary-2.1/main/CMakeLists.txt +2 -0
- package/targets/esp32-s3-epaper-1.54/main/CMakeLists.txt +3 -1
- package/targets/esp32-s3-lilygo-t-display-s3-long/CMakeLists.txt +1 -1
- package/targets/esp32-s3-lilygo-t-display-s3-long/main/CMakeLists.txt +1 -24
- package/targets/esp32-s3-touch-amoled-1.75/main/CMakeLists.txt +2 -1
- package/targets/esp32-s3-touch-amoled-1.8/main/CMakeLists.txt +6 -77
- package/targets/esp32-s3-touch-amoled-2.06/main/CMakeLists.txt +11 -128
- package/targets/esp32-s3-touch-lcd-3.5b/CMakeLists.txt +10 -0
- package/targets/esp32-s3-touch-lcd-3.5b/dependencies.lock +49 -0
- package/targets/esp32-s3-touch-lcd-3.5b/main/CMakeLists.txt +35 -0
- package/targets/esp32-s3-touch-lcd-3.5b/main/Kconfig.projbuild +12 -0
- package/targets/esp32-s3-touch-lcd-3.5b/main/idf_component.yml +23 -0
- package/targets/esp32-s3-touch-lcd-3.5b/main/include/axs15231b_panel_init.h +38 -0
- package/targets/esp32-s3-touch-lcd-3.5b/main/include/board.h +23 -0
- package/targets/esp32-s3-touch-lcd-3.5b/main/platform_stubs.cpp +41 -0
- package/targets/esp32-s3-touch-lcd-3.5b/main/touch.cpp +194 -0
- package/targets/esp32-s3-touch-lcd-3.5b/partitions.csv +7 -0
- package/targets/esp32-s3-touch-lcd-3.5b/sdkconfig.defaults +273 -0
- package/targets/rp2350-tufty-2350/CMakeLists.txt +6 -7
- package/targets/rp2350-waveshare-touch-amoled-2.41/CMakeLists.txt +4 -0
- package/targets.json +8 -0
|
@@ -0,0 +1,521 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"platforms": {
|
|
4
|
+
"esp32": {
|
|
5
|
+
"supported": [
|
|
6
|
+
"ui.styleStorage",
|
|
7
|
+
"compiler.staticCssRules",
|
|
8
|
+
"compiler.staticCssTape",
|
|
9
|
+
"compiler.staticCssTapeMinChunk",
|
|
10
|
+
"compiler.translationUnits",
|
|
11
|
+
"compiler.storeRelowering",
|
|
12
|
+
"compiler.moduleGraph",
|
|
13
|
+
"compiler.allowAny",
|
|
14
|
+
"compiler.numberPrecision",
|
|
15
|
+
"renderer.subtreeRevealChecks",
|
|
16
|
+
"renderer.recordInlinePositions",
|
|
17
|
+
"diagnostics.performanceCounters",
|
|
18
|
+
"diagnostics.frameTiming"
|
|
19
|
+
],
|
|
20
|
+
"defaults": {
|
|
21
|
+
"ui": {
|
|
22
|
+
"styleStorage": "inline"
|
|
23
|
+
},
|
|
24
|
+
"compiler": {
|
|
25
|
+
"staticCssRules": true,
|
|
26
|
+
"staticCssTape": true,
|
|
27
|
+
"staticCssTapeMinChunk": 5,
|
|
28
|
+
"translationUnits": "default",
|
|
29
|
+
"storeRelowering": true,
|
|
30
|
+
"moduleGraph": "auto",
|
|
31
|
+
"allowAny": false
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"rp2350": {
|
|
36
|
+
"supported": [
|
|
37
|
+
"ui.styleStorage",
|
|
38
|
+
"compiler.staticCssRules",
|
|
39
|
+
"compiler.staticCssTape",
|
|
40
|
+
"compiler.staticCssTapeMinChunk",
|
|
41
|
+
"compiler.translationUnits",
|
|
42
|
+
"compiler.storeRelowering",
|
|
43
|
+
"compiler.moduleGraph",
|
|
44
|
+
"compiler.allowAny"
|
|
45
|
+
],
|
|
46
|
+
"defaults": {
|
|
47
|
+
"ui": {
|
|
48
|
+
"styleStorage": "inline"
|
|
49
|
+
},
|
|
50
|
+
"compiler": {
|
|
51
|
+
"staticCssRules": true,
|
|
52
|
+
"staticCssTape": true,
|
|
53
|
+
"staticCssTapeMinChunk": 5,
|
|
54
|
+
"translationUnits": "default",
|
|
55
|
+
"storeRelowering": true,
|
|
56
|
+
"moduleGraph": "auto",
|
|
57
|
+
"allowAny": false
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"macos": {
|
|
62
|
+
"supported": [
|
|
63
|
+
"compiler.staticCssRules",
|
|
64
|
+
"compiler.staticCssTape",
|
|
65
|
+
"compiler.staticCssTapeMinChunk",
|
|
66
|
+
"compiler.translationUnits",
|
|
67
|
+
"compiler.storeRelowering",
|
|
68
|
+
"compiler.moduleGraph",
|
|
69
|
+
"compiler.allowAny"
|
|
70
|
+
],
|
|
71
|
+
"defaults": {
|
|
72
|
+
"compiler": {
|
|
73
|
+
"staticCssRules": true,
|
|
74
|
+
"staticCssTape": true,
|
|
75
|
+
"staticCssTapeMinChunk": 5,
|
|
76
|
+
"translationUnits": "default",
|
|
77
|
+
"storeRelowering": true,
|
|
78
|
+
"moduleGraph": "auto",
|
|
79
|
+
"allowAny": false
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"ios": {
|
|
84
|
+
"supported": [
|
|
85
|
+
"compiler.staticCssRules",
|
|
86
|
+
"compiler.staticCssTape",
|
|
87
|
+
"compiler.staticCssTapeMinChunk",
|
|
88
|
+
"compiler.translationUnits",
|
|
89
|
+
"compiler.storeRelowering",
|
|
90
|
+
"compiler.moduleGraph",
|
|
91
|
+
"compiler.allowAny"
|
|
92
|
+
],
|
|
93
|
+
"defaults": {
|
|
94
|
+
"compiler": {
|
|
95
|
+
"staticCssRules": true,
|
|
96
|
+
"staticCssTape": true,
|
|
97
|
+
"staticCssTapeMinChunk": 5,
|
|
98
|
+
"translationUnits": "default",
|
|
99
|
+
"storeRelowering": true,
|
|
100
|
+
"moduleGraph": "auto",
|
|
101
|
+
"allowAny": false
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"windows": {
|
|
106
|
+
"supported": [
|
|
107
|
+
"compiler.staticCssRules",
|
|
108
|
+
"compiler.staticCssTape",
|
|
109
|
+
"compiler.staticCssTapeMinChunk",
|
|
110
|
+
"compiler.translationUnits",
|
|
111
|
+
"compiler.storeRelowering",
|
|
112
|
+
"compiler.moduleGraph",
|
|
113
|
+
"compiler.allowAny"
|
|
114
|
+
],
|
|
115
|
+
"defaults": {
|
|
116
|
+
"compiler": {
|
|
117
|
+
"staticCssRules": true,
|
|
118
|
+
"staticCssTape": true,
|
|
119
|
+
"staticCssTapeMinChunk": 5,
|
|
120
|
+
"translationUnits": "balanced",
|
|
121
|
+
"storeRelowering": true,
|
|
122
|
+
"moduleGraph": "auto",
|
|
123
|
+
"allowAny": false
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"pebble": {
|
|
128
|
+
"supported": [
|
|
129
|
+
"compiler.staticCssRules",
|
|
130
|
+
"compiler.staticCssTape",
|
|
131
|
+
"compiler.staticCssTapeMinChunk",
|
|
132
|
+
"compiler.translationUnits",
|
|
133
|
+
"compiler.storeRelowering",
|
|
134
|
+
"compiler.moduleGraph",
|
|
135
|
+
"compiler.allowAny"
|
|
136
|
+
],
|
|
137
|
+
"defaults": {
|
|
138
|
+
"compiler": {
|
|
139
|
+
"staticCssRules": true,
|
|
140
|
+
"staticCssTape": true,
|
|
141
|
+
"staticCssTapeMinChunk": 5,
|
|
142
|
+
"translationUnits": "default",
|
|
143
|
+
"storeRelowering": true,
|
|
144
|
+
"moduleGraph": "auto",
|
|
145
|
+
"allowAny": false
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"geaos": {
|
|
150
|
+
"supported": [
|
|
151
|
+
"compiler.staticCssRules",
|
|
152
|
+
"compiler.staticCssTape",
|
|
153
|
+
"compiler.staticCssTapeMinChunk",
|
|
154
|
+
"compiler.translationUnits",
|
|
155
|
+
"compiler.storeRelowering",
|
|
156
|
+
"compiler.moduleGraph",
|
|
157
|
+
"compiler.allowAny"
|
|
158
|
+
],
|
|
159
|
+
"defaults": {
|
|
160
|
+
"compiler": {
|
|
161
|
+
"staticCssRules": true,
|
|
162
|
+
"staticCssTape": true,
|
|
163
|
+
"staticCssTapeMinChunk": 5,
|
|
164
|
+
"translationUnits": "default",
|
|
165
|
+
"storeRelowering": true,
|
|
166
|
+
"moduleGraph": "auto",
|
|
167
|
+
"allowAny": false
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"xbox": {
|
|
172
|
+
"supported": [
|
|
173
|
+
"compiler.staticCssRules",
|
|
174
|
+
"compiler.staticCssTape",
|
|
175
|
+
"compiler.staticCssTapeMinChunk",
|
|
176
|
+
"compiler.translationUnits",
|
|
177
|
+
"compiler.storeRelowering",
|
|
178
|
+
"compiler.moduleGraph",
|
|
179
|
+
"compiler.allowAny"
|
|
180
|
+
],
|
|
181
|
+
"defaults": {
|
|
182
|
+
"compiler": {
|
|
183
|
+
"staticCssRules": true,
|
|
184
|
+
"staticCssTape": true,
|
|
185
|
+
"staticCssTapeMinChunk": 5,
|
|
186
|
+
"translationUnits": "default",
|
|
187
|
+
"storeRelowering": true,
|
|
188
|
+
"moduleGraph": "auto",
|
|
189
|
+
"allowAny": false
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"web": {
|
|
194
|
+
"supported": [
|
|
195
|
+
"compiler.staticCssRules",
|
|
196
|
+
"compiler.staticCssTape",
|
|
197
|
+
"compiler.staticCssTapeMinChunk",
|
|
198
|
+
"compiler.translationUnits",
|
|
199
|
+
"compiler.storeRelowering",
|
|
200
|
+
"compiler.moduleGraph",
|
|
201
|
+
"compiler.allowAny",
|
|
202
|
+
"ui.styleStorage"
|
|
203
|
+
],
|
|
204
|
+
"defaults": {
|
|
205
|
+
"compiler": {
|
|
206
|
+
"staticCssRules": true,
|
|
207
|
+
"staticCssTape": true,
|
|
208
|
+
"staticCssTapeMinChunk": 5,
|
|
209
|
+
"translationUnits": "default",
|
|
210
|
+
"storeRelowering": true,
|
|
211
|
+
"moduleGraph": "auto",
|
|
212
|
+
"allowAny": false
|
|
213
|
+
},
|
|
214
|
+
"ui": {
|
|
215
|
+
"styleStorage": "inline"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"cssDevicePixelRatio": 1.5,
|
|
219
|
+
"inference": {
|
|
220
|
+
"canvasOnly": true
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"boards": {
|
|
225
|
+
"esp32-s3-touch-amoled-1.8": {
|
|
226
|
+
"supported": [
|
|
227
|
+
"compiler.generatedCodeOptimization",
|
|
228
|
+
"renderer.fuseReplayFlush",
|
|
229
|
+
"renderer.adaptiveCoalescing",
|
|
230
|
+
"renderer.broadDirtyBounds",
|
|
231
|
+
"display.framebufferStream",
|
|
232
|
+
"display.presentStream"
|
|
233
|
+
],
|
|
234
|
+
"defaults": {
|
|
235
|
+
"compiler": {
|
|
236
|
+
"generatedCodeOptimization": "Os",
|
|
237
|
+
"numberPrecision": "float64"
|
|
238
|
+
},
|
|
239
|
+
"renderer": {
|
|
240
|
+
"fuseReplayFlush": false,
|
|
241
|
+
"subtreeRevealChecks": true,
|
|
242
|
+
"recordInlinePositions": true,
|
|
243
|
+
"adaptiveCoalescing": false,
|
|
244
|
+
"broadDirtyBounds": false
|
|
245
|
+
},
|
|
246
|
+
"display": {
|
|
247
|
+
"framebufferStream": "independent",
|
|
248
|
+
"presentStream": "independent"
|
|
249
|
+
},
|
|
250
|
+
"diagnostics": {
|
|
251
|
+
"performanceCounters": true,
|
|
252
|
+
"frameTiming": true
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"cssDevicePixelRatio": 1.5,
|
|
256
|
+
"constraints": {}
|
|
257
|
+
},
|
|
258
|
+
"esp32-s3-touch-amoled-2.06": {
|
|
259
|
+
"supported": [
|
|
260
|
+
"compiler.generatedCodeOptimization",
|
|
261
|
+
"renderer.fuseReplayFlush",
|
|
262
|
+
"renderer.adaptiveCoalescing",
|
|
263
|
+
"renderer.broadDirtyBounds",
|
|
264
|
+
"display.framebufferStream",
|
|
265
|
+
"display.presentStream",
|
|
266
|
+
"display.flushPoolBytes",
|
|
267
|
+
"services.wifi"
|
|
268
|
+
],
|
|
269
|
+
"defaults": {
|
|
270
|
+
"compiler": {
|
|
271
|
+
"generatedCodeOptimization": "O2",
|
|
272
|
+
"numberPrecision": "float32"
|
|
273
|
+
},
|
|
274
|
+
"renderer": {
|
|
275
|
+
"fuseReplayFlush": false,
|
|
276
|
+
"subtreeRevealChecks": true,
|
|
277
|
+
"recordInlinePositions": true,
|
|
278
|
+
"adaptiveCoalescing": true,
|
|
279
|
+
"broadDirtyBounds": true
|
|
280
|
+
},
|
|
281
|
+
"display": {
|
|
282
|
+
"framebufferStream": "continuous",
|
|
283
|
+
"presentStream": "continuous",
|
|
284
|
+
"flushPoolBytes": 0
|
|
285
|
+
},
|
|
286
|
+
"diagnostics": {
|
|
287
|
+
"performanceCounters": false,
|
|
288
|
+
"frameTiming": false
|
|
289
|
+
},
|
|
290
|
+
"services": {
|
|
291
|
+
"wifi": "auto"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"cssDevicePixelRatio": 1.5,
|
|
295
|
+
"constraints": {},
|
|
296
|
+
"inference": {
|
|
297
|
+
"canvasOnly": true
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
"esp32-s3-touch-amoled-2.41": {
|
|
301
|
+
"supported": [
|
|
302
|
+
"compiler.generatedCodeOptimization",
|
|
303
|
+
"renderer.fuseReplayFlush",
|
|
304
|
+
"renderer.adaptiveCoalescing",
|
|
305
|
+
"renderer.broadDirtyBounds",
|
|
306
|
+
"display.framebufferStream",
|
|
307
|
+
"display.presentStream"
|
|
308
|
+
],
|
|
309
|
+
"defaults": {
|
|
310
|
+
"compiler": {
|
|
311
|
+
"generatedCodeOptimization": "O2",
|
|
312
|
+
"numberPrecision": "float64"
|
|
313
|
+
},
|
|
314
|
+
"renderer": {
|
|
315
|
+
"fuseReplayFlush": false,
|
|
316
|
+
"subtreeRevealChecks": true,
|
|
317
|
+
"recordInlinePositions": true,
|
|
318
|
+
"adaptiveCoalescing": false,
|
|
319
|
+
"broadDirtyBounds": false
|
|
320
|
+
},
|
|
321
|
+
"display": {
|
|
322
|
+
"framebufferStream": "independent",
|
|
323
|
+
"presentStream": "independent"
|
|
324
|
+
},
|
|
325
|
+
"diagnostics": {
|
|
326
|
+
"performanceCounters": true,
|
|
327
|
+
"frameTiming": true
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
"cssDevicePixelRatio": 1.5,
|
|
331
|
+
"constraints": {
|
|
332
|
+
"display.framebufferStream": [
|
|
333
|
+
"independent"
|
|
334
|
+
],
|
|
335
|
+
"display.presentStream": [
|
|
336
|
+
"independent"
|
|
337
|
+
]
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"esp32-s3-lilygo-t-display-s3-long": {
|
|
341
|
+
"supported": [
|
|
342
|
+
"compiler.generatedCodeOptimization",
|
|
343
|
+
"renderer.fuseReplayFlush",
|
|
344
|
+
"renderer.adaptiveCoalescing",
|
|
345
|
+
"renderer.broadDirtyBounds",
|
|
346
|
+
"display.framebufferStream",
|
|
347
|
+
"display.presentStream"
|
|
348
|
+
],
|
|
349
|
+
"defaults": {
|
|
350
|
+
"compiler": {
|
|
351
|
+
"generatedCodeOptimization": "Os",
|
|
352
|
+
"numberPrecision": "float64"
|
|
353
|
+
},
|
|
354
|
+
"renderer": {
|
|
355
|
+
"fuseReplayFlush": false,
|
|
356
|
+
"subtreeRevealChecks": true,
|
|
357
|
+
"recordInlinePositions": true,
|
|
358
|
+
"adaptiveCoalescing": false,
|
|
359
|
+
"broadDirtyBounds": false
|
|
360
|
+
},
|
|
361
|
+
"display": {
|
|
362
|
+
"framebufferStream": "independent",
|
|
363
|
+
"presentStream": "independent"
|
|
364
|
+
},
|
|
365
|
+
"diagnostics": {
|
|
366
|
+
"performanceCounters": true,
|
|
367
|
+
"frameTiming": true
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"cssDevicePixelRatio": 1,
|
|
371
|
+
"constraints": {
|
|
372
|
+
"display.framebufferStream": [
|
|
373
|
+
"independent"
|
|
374
|
+
],
|
|
375
|
+
"renderer.fuseReplayFlush": [
|
|
376
|
+
false
|
|
377
|
+
]
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
"rp2350-tufty-2350": {
|
|
381
|
+
"cssDevicePixelRatio": 1,
|
|
382
|
+
"supported": []
|
|
383
|
+
},
|
|
384
|
+
"rp2350-waveshare-touch-amoled-2.41": {
|
|
385
|
+
"cssDevicePixelRatio": 1.5,
|
|
386
|
+
"supported": []
|
|
387
|
+
},
|
|
388
|
+
"esp32-s3-waveshare-touch-lcd-4b": {
|
|
389
|
+
"supported": [
|
|
390
|
+
"compiler.generatedCodeOptimization",
|
|
391
|
+
"services.wifi"
|
|
392
|
+
],
|
|
393
|
+
"defaults": {
|
|
394
|
+
"compiler": {
|
|
395
|
+
"generatedCodeOptimization": "O2"
|
|
396
|
+
},
|
|
397
|
+
"services": {
|
|
398
|
+
"wifi": "auto"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"cssDevicePixelRatio": 1,
|
|
402
|
+
"constraints": {}
|
|
403
|
+
},
|
|
404
|
+
"esp32-s3": {
|
|
405
|
+
"supported": [
|
|
406
|
+
"compiler.generatedCodeOptimization",
|
|
407
|
+
"services.wifi"
|
|
408
|
+
],
|
|
409
|
+
"defaults": {
|
|
410
|
+
"compiler": {
|
|
411
|
+
"generatedCodeOptimization": "O2",
|
|
412
|
+
"numberPrecision": "float32"
|
|
413
|
+
},
|
|
414
|
+
"services": {
|
|
415
|
+
"wifi": "auto"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
"cssDevicePixelRatio": 1.5
|
|
419
|
+
},
|
|
420
|
+
"esp32-s3-touch-amoled-1.75": {
|
|
421
|
+
"cssDevicePixelRatio": 1.5,
|
|
422
|
+
"defaults": {
|
|
423
|
+
"diagnostics": {
|
|
424
|
+
"frameTiming": true
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"supported": []
|
|
428
|
+
},
|
|
429
|
+
"esp32-s3-epaper-1.54": {
|
|
430
|
+
"cssDevicePixelRatio": 1,
|
|
431
|
+
"supported": []
|
|
432
|
+
},
|
|
433
|
+
"esp32-s3-lilygo-t5-epaper-4.7": {
|
|
434
|
+
"cssDevicePixelRatio": 1,
|
|
435
|
+
"supported": []
|
|
436
|
+
},
|
|
437
|
+
"esp32-m5stack-m5paper": {
|
|
438
|
+
"cssDevicePixelRatio": 1,
|
|
439
|
+
"supported": []
|
|
440
|
+
},
|
|
441
|
+
"esp32-s3-m5stack-papers3": {
|
|
442
|
+
"cssDevicePixelRatio": 1,
|
|
443
|
+
"supported": []
|
|
444
|
+
},
|
|
445
|
+
"esp32-s3-m5stack-sticks3": {
|
|
446
|
+
"cssDevicePixelRatio": 1.5,
|
|
447
|
+
"supported": []
|
|
448
|
+
},
|
|
449
|
+
"esp32-s3-elecrow-rotary-2.1": {
|
|
450
|
+
"cssDevicePixelRatio": 1.5,
|
|
451
|
+
"supported": []
|
|
452
|
+
},
|
|
453
|
+
"esp32-p4-waveshare-touch-lcd-7": {
|
|
454
|
+
"cssDevicePixelRatio": 1,
|
|
455
|
+
"defaults": {
|
|
456
|
+
"diagnostics": {
|
|
457
|
+
"frameTiming": true
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"supported": []
|
|
461
|
+
},
|
|
462
|
+
"esp32-p4-waveshare-touch-lcd-3.5": {
|
|
463
|
+
"cssDevicePixelRatio": 1,
|
|
464
|
+
"defaults": {
|
|
465
|
+
"diagnostics": {
|
|
466
|
+
"frameTiming": true
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"supported": []
|
|
470
|
+
},
|
|
471
|
+
"esp32-p4-m5stack-tab5": {
|
|
472
|
+
"cssDevicePixelRatio": 2,
|
|
473
|
+
"defaults": {
|
|
474
|
+
"diagnostics": {
|
|
475
|
+
"frameTiming": true
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"supported": []
|
|
479
|
+
},
|
|
480
|
+
"esp32-s3-touch-lcd-3.5b": {
|
|
481
|
+
"supported": [
|
|
482
|
+
"compiler.generatedCodeOptimization",
|
|
483
|
+
"renderer.fuseReplayFlush",
|
|
484
|
+
"renderer.adaptiveCoalescing",
|
|
485
|
+
"renderer.broadDirtyBounds",
|
|
486
|
+
"display.framebufferStream",
|
|
487
|
+
"display.presentStream"
|
|
488
|
+
],
|
|
489
|
+
"defaults": {
|
|
490
|
+
"compiler": {
|
|
491
|
+
"generatedCodeOptimization": "Os",
|
|
492
|
+
"numberPrecision": "float64"
|
|
493
|
+
},
|
|
494
|
+
"renderer": {
|
|
495
|
+
"fuseReplayFlush": false,
|
|
496
|
+
"subtreeRevealChecks": true,
|
|
497
|
+
"recordInlinePositions": true,
|
|
498
|
+
"adaptiveCoalescing": false,
|
|
499
|
+
"broadDirtyBounds": false
|
|
500
|
+
},
|
|
501
|
+
"display": {
|
|
502
|
+
"framebufferStream": "independent",
|
|
503
|
+
"presentStream": "independent"
|
|
504
|
+
},
|
|
505
|
+
"diagnostics": {
|
|
506
|
+
"performanceCounters": true,
|
|
507
|
+
"frameTiming": true
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
"cssDevicePixelRatio": 1.5,
|
|
511
|
+
"constraints": {
|
|
512
|
+
"display.framebufferStream": [
|
|
513
|
+
"independent"
|
|
514
|
+
],
|
|
515
|
+
"renderer.fuseReplayFlush": [
|
|
516
|
+
false
|
|
517
|
+
]
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geastack/targets",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.86",
|
|
4
4
|
"description": "Native embedded build targets (ESP32-IDF, RP2350) for geastack apps: board sources, target catalog, and CMake glue driven by the gea CLI.",
|
|
5
5
|
"license": "GPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"targets.json",
|
|
18
|
+
"build-config.json",
|
|
18
19
|
"targets",
|
|
19
20
|
"!targets/**/build/**",
|
|
20
21
|
"!targets/**/build-*/**",
|
|
@@ -36,16 +37,15 @@
|
|
|
36
37
|
},
|
|
37
38
|
"dependencies": {
|
|
38
39
|
"@geastack/chips": "^0.1.4",
|
|
39
|
-
"@geastack/compiler": "^1.0.
|
|
40
|
-
"@geastack/core": "^0.1.
|
|
40
|
+
"@geastack/compiler": "^1.0.20",
|
|
41
|
+
"@geastack/core": "^0.1.31",
|
|
41
42
|
"@geastack/elements": "^0.1.3",
|
|
42
43
|
"@geastack/engine": "^0.1.8",
|
|
43
44
|
"@geastack/geaos": "^0.1.3",
|
|
44
|
-
"@geastack/geatsc-plugin-gea": "^0.1.
|
|
45
|
-
"@geastack/host": "^0.1.
|
|
45
|
+
"@geastack/geatsc-plugin-gea": "^0.1.13",
|
|
46
|
+
"@geastack/host": "^0.1.10"
|
|
46
47
|
},
|
|
47
48
|
"scripts": {
|
|
48
49
|
"test": "for f in $(git ls-files | grep -E '(^|/)(test[-_][^/]*|[^/]*\\.test)\\.mjs$'); do echo \"==> $f\"; node \"$f\" || exit 1; done"
|
|
49
|
-
}
|
|
50
|
-
"gitHead": "10230ddd9bec0287a8705c8e1f96fb06a063c845"
|
|
50
|
+
}
|
|
51
51
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Resolved application choices come from the CLI, never from an app name.
|
|
2
|
+
# IDF's early requirements pass only receives the path through its child env.
|
|
3
|
+
foreach(_gea_input GEA_BUILD_CONFIG_FILE GEA_BUILD_CONFIG_JSON)
|
|
4
|
+
if(NOT ${_gea_input} AND DEFINED ENV{${_gea_input}})
|
|
5
|
+
set(${_gea_input} "$ENV{${_gea_input}}")
|
|
6
|
+
endif()
|
|
7
|
+
endforeach()
|
|
8
|
+
if(GEA_BUILD_CONFIG_FILE)
|
|
9
|
+
include("${GEA_BUILD_CONFIG_FILE}")
|
|
10
|
+
elseif(NOT CMAKE_SCRIPT_MODE_FILE)
|
|
11
|
+
message(FATAL_ERROR "Resolved package.json build settings are missing. Build with a current gea CLI.")
|
|
12
|
+
endif()
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
#if GEA_EMBEDDED_AXS15231B_PANEL
|
|
21
21
|
#include "driver/ledc.h"
|
|
22
22
|
#include "esp_lcd_axs15231b.h"
|
|
23
|
+
#ifdef GEA_BOARD_AXS15231B_INIT_HEADER
|
|
24
|
+
#include GEA_BOARD_AXS15231B_INIT_HEADER
|
|
25
|
+
#endif
|
|
23
26
|
#else
|
|
24
27
|
#include "esp_lcd_sh8601.h"
|
|
25
28
|
#endif
|
|
@@ -306,8 +309,13 @@ namespace gea::platform::esp32::chip_bindings::sh8601
|
|
|
306
309
|
#if GEA_EMBEDDED_AXS15231B_PANEL
|
|
307
310
|
ESP_RETURN_ON_ERROR(configureBacklight(), kTag, "backlight setup failed");
|
|
308
311
|
axs15231b_vendor_config_t vendorConfig = {};
|
|
312
|
+
#ifdef GEA_BOARD_AXS15231B_INIT_HEADER
|
|
313
|
+
vendorConfig.init_cmds = kBoardAxsInitCommands;
|
|
314
|
+
vendorConfig.init_cmds_size = sizeof(kBoardAxsInitCommands) / sizeof(kBoardAxsInitCommands[0]);
|
|
315
|
+
#else
|
|
309
316
|
vendorConfig.init_cmds = kLilygoInitCommands;
|
|
310
317
|
vendorConfig.init_cmds_size = sizeof(kLilygoInitCommands) / sizeof(kLilygoInitCommands[0]);
|
|
318
|
+
#endif
|
|
311
319
|
#elif GEA_EMBEDDED_RM690B0_PANEL
|
|
312
320
|
sh8601_vendor_config_t vendorConfig = {};
|
|
313
321
|
vendorConfig.init_cmds = kRm69080InitCommands;
|
|
@@ -190,6 +190,13 @@ namespace gea::platform::esp32::display
|
|
|
190
190
|
#ifndef GEA_EMBEDDED_DISPLAY_ASYNC_MEMCPY_BURST_BYTES
|
|
191
191
|
#define GEA_EMBEDDED_DISPLAY_ASYNC_MEMCPY_BURST_BYTES 32
|
|
192
192
|
#endif
|
|
193
|
+
// Some AXS15231B glass accepts sequential full-frame QSPI writes but cannot
|
|
194
|
+
// reliably restart at a nonzero native row. Keep damage-based rasterization,
|
|
195
|
+
// while sending the retained framebuffer from its origin on these panels.
|
|
196
|
+
#ifndef GEA_EMBEDDED_DISPLAY_FULL_FRAME_TRANSFERS
|
|
197
|
+
#define GEA_EMBEDDED_DISPLAY_FULL_FRAME_TRANSFERS 0
|
|
198
|
+
#endif
|
|
199
|
+
|
|
193
200
|
// DIAGNOSTIC: collapse all dirty flush windows into a single bounding box, so a
|
|
194
201
|
// frame flushes as one window's worth of row-chunks instead of N fragmented
|
|
195
202
|
// windows. Used to A/B whether per-chunk transaction overhead (not pixel
|
|
@@ -1263,6 +1270,12 @@ namespace gea::platform::esp32::display
|
|
|
1263
1270
|
bool flushFramebufferRectFrom(const std::uint16_t *source, int x0, int y0, int x1, int y1, bool waitAtEnd, bool allowDirect = true, bool allowPerChunkDrain = true,
|
|
1264
1271
|
platform_display::DisplayStreamRasterFn raster = nullptr, void *rasterUser = nullptr)
|
|
1265
1272
|
{
|
|
1273
|
+
#if GEA_EMBEDDED_DISPLAY_FULL_FRAME_TRANSFERS
|
|
1274
|
+
x0 = 0;
|
|
1275
|
+
y0 = 0;
|
|
1276
|
+
x1 = logicalDisplayWidth() - 1;
|
|
1277
|
+
y1 = logicalDisplayHeight() - 1;
|
|
1278
|
+
#endif
|
|
1266
1279
|
#if GEA_EMBEDDED_DISPLAY_SOFTWARE_LANDSCAPE_PRIMARY
|
|
1267
1280
|
#if GEA_EMBEDDED_DISPLAY_RUNTIME_SOFTWARE_ORIENTATION
|
|
1268
1281
|
if (softwareLandscapeActive())
|
|
@@ -1869,6 +1882,13 @@ namespace gea::platform::esp32::display
|
|
|
1869
1882
|
n = 1;
|
|
1870
1883
|
#endif
|
|
1871
1884
|
|
|
1885
|
+
#if GEA_EMBEDDED_DISPLAY_FULL_FRAME_TRANSFERS
|
|
1886
|
+
// Collapse damage to one upload, not one full-frame upload per dirty box.
|
|
1887
|
+
if (n > 0) {
|
|
1888
|
+
win[0] = {0, 0, logicalDisplayWidth() - 1, logicalDisplayHeight() - 1};
|
|
1889
|
+
n = 1;
|
|
1890
|
+
}
|
|
1891
|
+
#endif
|
|
1872
1892
|
bool ok = true;
|
|
1873
1893
|
for (int i = 0; i < n; i++)
|
|
1874
1894
|
{
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
include("${CMAKE_CURRENT_LIST_DIR}/../cmake/gea_build_config.cmake")
|
|
1
2
|
# Shared geastack framework resolution for every esp32 board target.
|
|
2
3
|
#
|
|
3
4
|
# Requires GEA_EMBEDDED_ROOT to be set by the includer (the board's main
|
|
@@ -215,7 +216,7 @@ list(REMOVE_ITEM GEA_FW_CXX_SOURCES ${GEA_FW_APP_SENSITIVE_SOURCES})
|
|
|
215
216
|
# The direct-canvas profiling apps intentionally use a small framework slice.
|
|
216
217
|
# Reproduce that slice in the stable component instead of compiling the normal
|
|
217
218
|
# framework and relying on the linker to discard it.
|
|
218
|
-
if(
|
|
219
|
+
if(GEA_APP_CANVAS_ONLY)
|
|
219
220
|
set(GEA_FW_CXX_SOURCES
|
|
220
221
|
"${GEA_ENGINE}/ui/canvas_element.cpp"
|
|
221
222
|
"${GEA_ENGINE}/canvas.cpp"
|
|
@@ -299,8 +300,29 @@ function(gea_framework_inherit_build_settings)
|
|
|
299
300
|
# main is a static archive, so PRIVATE link options stop at the archive and
|
|
300
301
|
# never reach the final executable link. Publish the rescan group through
|
|
301
302
|
# its link interface so the ELF linker actually sees it.
|
|
302
|
-
|
|
303
|
-
|
|
303
|
+
if(GEA_APP_CANVAS_ONLY)
|
|
304
|
+
# The small canvas graph can first pull app_main/display from the late
|
|
305
|
+
# framework rescan, after both the generated app and SDK drivers were
|
|
306
|
+
# visited. Rescan the selected components together, including the app.
|
|
307
|
+
# This extracts only referenced members, unlike --whole-archive.
|
|
308
|
+
idf_build_get_property(_gea_components BUILD_COMPONENTS)
|
|
309
|
+
set(_gea_rescan "${GEATSC_ARCHIVE}")
|
|
310
|
+
foreach(_gea_component IN LISTS _gea_components)
|
|
311
|
+
idf_component_get_property(_gea_lib ${_gea_component} COMPONENT_LIB)
|
|
312
|
+
if(TARGET ${_gea_lib})
|
|
313
|
+
get_target_property(_gea_lib_type ${_gea_lib} TYPE)
|
|
314
|
+
if(_gea_lib_type STREQUAL "STATIC_LIBRARY")
|
|
315
|
+
list(APPEND _gea_rescan "$<TARGET_FILE:${_gea_lib}>")
|
|
316
|
+
endif()
|
|
317
|
+
endif()
|
|
318
|
+
endforeach()
|
|
319
|
+
list(JOIN _gea_rescan "$<COMMA>" _gea_rescan_args)
|
|
320
|
+
target_link_libraries(${COMPONENT_LIB} INTERFACE
|
|
321
|
+
"-Wl$<COMMA>--start-group$<COMMA>${_gea_rescan_args}$<COMMA>--end-group")
|
|
322
|
+
else()
|
|
323
|
+
target_link_libraries(${COMPONENT_LIB} INTERFACE
|
|
324
|
+
"-Wl$<COMMA>--start-group$<COMMA>${CMAKE_BINARY_DIR}/esp-idf/main/libmain.a$<COMMA>${CMAKE_BINARY_DIR}/esp-idf/gea_framework/libgea_framework.a$<COMMA>--end-group")
|
|
325
|
+
endif()
|
|
304
326
|
|
|
305
327
|
endfunction()
|
|
306
328
|
|