@geastack/targets 0.1.100 → 0.1.102
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 +7 -7
- package/targets/cmake/geatsc-generated-archive-build.mjs +32 -1
- package/targets/esp32/app_project.cmake +2 -2
- package/targets/esp32/chip_bindings/audio/echo_cancellation.cpp +392 -28
- package/targets/esp32/chip_bindings/audio/echo_cancellation.h +18 -2
- package/targets/esp32/chip_bindings/audio/es8311.cpp +117 -13
- package/targets/esp32/chip_bindings/displays/co5300.cpp +68 -28
- package/targets/esp32/components/gea_framework/CMakeLists.txt +17 -1
- package/targets/esp32/components/gea_framework/idf_component.yml +4 -0
- package/targets/esp32/components/gea_vpx/CMakeLists.txt +1 -1
- package/targets/esp32/connectivity/wifi.cpp +800 -543
- package/targets/esp32/display.cpp +121 -26
- package/targets/esp32/gea_framework.cmake +22 -28
- package/targets/esp32/host_sources.cmake +1 -0
- package/targets/esp32/services/comparison_benchmark.h +137 -0
- package/targets/esp32/services/comparison_gesture.h +133 -0
- package/targets/esp32/services/comparison_input_trace.h +64 -0
- package/targets/esp32/services/comparison_upload_capture.h +125 -0
- package/targets/esp32/services/debugger.h +634 -0
- package/targets/esp32/services/device_control.cpp +965 -20
- package/targets/esp32/services/frame_scheduler.cpp +128 -4
- package/targets/esp32/services/heap.cpp +125 -0
- package/targets/esp32/services/opus_benchmark.h +1 -1
- package/targets/esp32/services/storage_service.cpp +119 -104
- package/targets/esp32-p4-m5stack-tab5/dependencies.lock +27 -16
- package/targets/esp32-s3-m5stack-stopwatch/.clang-format +10 -0
- package/targets/esp32-s3-m5stack-stopwatch/README.md +14 -9
- package/targets/esp32-s3-m5stack-stopwatch/dependencies.lock +54 -1
- package/targets/esp32-s3-m5stack-stopwatch/main/CMakeLists.txt +10 -7
- package/targets/esp32-s3-m5stack-stopwatch/main/buttons.cpp +80 -0
- package/targets/esp32-s3-m5stack-stopwatch/main/idf_component.yml +18 -0
- package/targets/esp32-s3-m5stack-stopwatch/main/include/board.h +38 -17
- package/targets/esp32-s3-m5stack-stopwatch/main/panel_reset.cpp +132 -129
- package/targets/esp32-s3-m5stack-stopwatch/main/power.cpp +253 -0
- package/targets/esp32-s3-m5stack-stopwatch/main/touch.cpp +158 -88
- package/targets/esp32-s3-m5stack-stopwatch/sdkconfig.defaults +13 -0
- package/targets/esp32-s3-touch-amoled-1.8/main/CMakeLists.txt +30 -3
- package/targets/esp32-s3-touch-amoled-2.06/dependencies.lock +10 -148
- package/targets/esp32-s31-espressif-mosaico/CMakeLists.txt +8 -0
- package/targets/esp32-s31-espressif-mosaico/README.md +54 -2
- package/targets/esp32-s31-espressif-mosaico/dependencies.lock +405 -1
- package/targets/esp32-s31-espressif-mosaico/main/CMakeLists.txt +31 -1
- package/targets/esp32-s31-espressif-mosaico/main/board_power.cpp +117 -0
- package/targets/esp32-s31-espressif-mosaico/main/camera.cpp +389 -0
- package/targets/esp32-s31-espressif-mosaico/main/idf_component.yml +17 -3
- package/targets/esp32-s31-espressif-mosaico/main/include/board.h +23 -0
- package/targets/esp32-s31-espressif-mosaico/main/nand_mount.cpp +172 -0
- package/targets/esp32-s31-espressif-mosaico/partitions.csv +7 -3
- package/targets/esp32-s31-espressif-mosaico/sdkconfig.defaults +24 -0
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# Target: ESP32-S31 (Espressif ESP-Mosaico V1.2) -- an ESP-IDF 6.2-dev preview target
|
|
2
2
|
CONFIG_IDF_TARGET="esp32s31"
|
|
3
3
|
|
|
4
|
+
# The camera's official BSP supplies expansion-slot resource ownership only.
|
|
5
|
+
# Gea owns the display, touch, audio and the power rail already brought up.
|
|
6
|
+
# CONFIG_BSP_DISPLAY_ENABLE is not set
|
|
7
|
+
# CONFIG_BSP_DISPLAY_LVGL_ENABLE is not set
|
|
8
|
+
# CONFIG_BSP_MOTOR_ENABLE_PWM is not set
|
|
9
|
+
|
|
4
10
|
# Flash: 16 MB GD25Q128E quad NOR (ESP-Mosaico V1.2)
|
|
5
11
|
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
|
|
6
12
|
# Match Waveshare's board-check/audio/template configurations. DIO needlessly
|
|
@@ -46,6 +52,12 @@ CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=4096
|
|
|
46
52
|
# Custom partition table with two OTA slots for wireless updates
|
|
47
53
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
48
54
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
|
|
55
|
+
# The app rewrites the partition table once, when a board still has an older
|
|
56
|
+
# layout (board_power.cpp, migratePartitionTable): there is no other way to
|
|
57
|
+
# change it without the ROM downloader, which needs BOOT held through a power
|
|
58
|
+
# cycle. The default aborts on any write below the first partition.
|
|
59
|
+
CONFIG_SPI_FLASH_DANGEROUS_WRITE_ALLOWED=y
|
|
60
|
+
# CONFIG_SPI_FLASH_DANGEROUS_WRITE_ABORTS is not set
|
|
49
61
|
|
|
50
62
|
# On panic: print backtrace then reboot. (Halting was meant to "keep USB alive
|
|
51
63
|
# for reflashing", but a halted ESP32-S3 won't accept an esptool reset — it has
|
|
@@ -198,3 +210,15 @@ CONFIG_HEAP_TRACING_OFF=y
|
|
|
198
210
|
# boot rolls back to the previous app instead of needing BOOT to recover.
|
|
199
211
|
CONFIG_BOOTLOADER_APP_ROLLBACK=y
|
|
200
212
|
CONFIG_BOOTLOADER_APP_ROLLBACK_CONFIRM_BY_APP=y
|
|
213
|
+
|
|
214
|
+
# esp_io_expander (pulled in by esp_lcd_panel_io_additions) defaults to wrapping
|
|
215
|
+
# six gpio_* functions so expander pins can be driven through the GPIO API. No
|
|
216
|
+
# code here registers an expander with that wrapper, so the wraps only forward to
|
|
217
|
+
# the real functions -- and any active --wrap makes RISC-V relaxation quadratic
|
|
218
|
+
# in an object's globals, which turned the app link into ~27 minutes.
|
|
219
|
+
# CONFIG_IO_EXPANDER_ENABLE_GPIO_API_WRAPPER is not set
|
|
220
|
+
|
|
221
|
+
# A core that stops yielding (both cores run the game and the 3D present task)
|
|
222
|
+
# reboots the board instead of leaving USB dead until a power cycle.
|
|
223
|
+
CONFIG_ESP_TASK_WDT_PANIC=y
|
|
224
|
+
CONFIG_ESP_TASK_WDT_TIMEOUT_S=20
|