@geastack/targets 0.1.79 → 0.1.80
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/package.json +2 -2
- 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-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.json +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geastack/targets",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.80",
|
|
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,7 +35,7 @@
|
|
|
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
40
|
"@geastack/core": "^0.1.23",
|
|
41
41
|
"@geastack/elements": "^0.1.2",
|
|
@@ -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
|