@geastack/targets 0.1.79 → 0.1.81
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/README.md +2 -3
- package/package.json +3 -3
- package/targets/esp32/chip_bindings/README.md +15 -0
- package/targets/esp32/chip_bindings/displays/rgb_panel.cpp +1275 -0
- package/targets/esp32/chip_bindings/expanders/ch422g.cpp +141 -0
- package/targets/esp32/chip_bindings/expanders/io_expander.h +29 -0
- package/targets/esp32/chip_bindings/touch/gt911.cpp +355 -0
- package/targets/esp32/chip_bindings/touch/gt911_controller.h +84 -0
- package/targets/esp32/sdk-patches/README.md +11 -13
- package/targets/esp32-p4-m5stack-tab5/main/CMakeLists.txt +10 -0
- package/targets/esp32-p4-m5stack-tab5/main/app_main.cpp +42 -2
- package/targets/esp32-p4-m5stack-tab5/main/touch.cpp +10 -1
- package/targets/esp32-s3-touch-amoled-2.06/dependencies.lock +1 -1
- package/targets/esp32-s3-touch-amoled-2.06/main/CMakeLists.txt +27 -3
- package/targets/esp32-s3-touch-amoled-2.06/main/launcher_button.cpp +8 -1
- package/targets/esp32-s3-waveshare-touch-lcd-7.json +61 -0
- package/targets/rp2350-waveshare-touch-amoled-2.41/README.md +23 -26
- package/targets.json +10 -0
package/README.md
CHANGED
|
@@ -59,8 +59,8 @@ Controllers without an ESP32-S3 binding fail before compilation.
|
|
|
59
59
|
Every chip role is optional, so a bare module composes too. Omit `chips.display`
|
|
60
60
|
and the board is **headless**: `display_headless.cpp` gives it the same
|
|
61
61
|
canvas-backed `Display` every target has, rasterizing into PSRAM and flushing to
|
|
62
|
-
memory rather than a panel
|
|
63
|
-
|
|
62
|
+
memory rather than a panel. The native test host runs the framework the same
|
|
63
|
+
way. Omit `chips.touch` and it takes the no-op `Touchscreen`.
|
|
64
64
|
A definition also carries its own `flashSize` and `partitions`, because those
|
|
65
65
|
are the module's geometry and not the base's.
|
|
66
66
|
|
|
@@ -68,7 +68,6 @@ See the `tutorials` repository's
|
|
|
68
68
|
`embedded-tutorials/02-custom-board-composition` course for a complete target
|
|
69
69
|
definition and firmware build.
|
|
70
70
|
|
|
71
|
-
|
|
72
71
|
## License
|
|
73
72
|
|
|
74
73
|
This repo is the GeaStack **embedded board support** (ESP32, RP2350) and is
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geastack/targets",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.81",
|
|
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": {
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@geastack/chips": "^0.1.
|
|
38
|
+
"@geastack/chips": "^0.1.4",
|
|
39
39
|
"@geastack/compiler": "^1.0.15",
|
|
40
|
-
"@geastack/core": "^0.1.
|
|
40
|
+
"@geastack/core": "^0.1.24",
|
|
41
41
|
"@geastack/elements": "^0.1.2",
|
|
42
42
|
"@geastack/engine": "^0.1.5",
|
|
43
43
|
"@geastack/geaos": "^0.1.3",
|
|
@@ -52,6 +52,21 @@ Concrete examples in the current tree:
|
|
|
52
52
|
`gea::chips::qmi8658::Driver`.
|
|
53
53
|
- `touch/ft3168.cpp` adapts ESP-IDF I2C, GPIO, interrupts, and task delivery to
|
|
54
54
|
`gea::chips::ft3168::ControllerCore`.
|
|
55
|
+
- `touch/gt911.cpp` does the same for `gea::chips::gt911::ControllerCore`, and
|
|
56
|
+
also answers the `Touchscreen` surface itself, so a composed board links it
|
|
57
|
+
with no board-local glue. Its reset line may be a GPIO or a pin on the
|
|
58
|
+
board's I/O expander; INT is driven low across reset to fix the I2C address.
|
|
59
|
+
- `displays/rgb_panel.cpp` is a whole `Display` for a bare parallel RGB (DPI)
|
|
60
|
+
panel: the S3's LCD peripheral scans a PSRAM framebuffer out and there is no
|
|
61
|
+
controller to talk to, so it does not sit behind `qspi_panel.h`. Timings and
|
|
62
|
+
pins come from `board::display` (an `RgbPanelDisplayConfig`); the backlight
|
|
63
|
+
is a LEDC-driven GPIO or an expander pin.
|
|
64
|
+
- `expanders/io_expander.h` is the interface for a board's I/O expander --
|
|
65
|
+
the slow control lines (backlight enable, touch and panel resets) a board
|
|
66
|
+
ran out of GPIOs for. `expanders/ch422g.cpp` implements it over
|
|
67
|
+
`gea::chips::ch422g::Driver`; `board::expander` names which expander pin
|
|
68
|
+
carries which line, and bindings that need a line guard on
|
|
69
|
+
`GEA_BOARD_HAS_EXPANDER`.
|
|
55
70
|
|
|
56
71
|
If a future non-ESP board uses one of those chips, it should implement the same
|
|
57
72
|
small bus/runtime interfaces in its own target folder and reuse the code under
|