@geastack/targets 0.1.103 → 0.1.104
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 +7 -0
- package/package.json +6 -6
- package/targets/cmake/geatsc-generated-archive-build.mjs +41 -12
- package/targets/esp32/app_project.cmake +23 -27
- package/targets/esp32/chip_bindings/magnetometer/bmm150.cpp +140 -0
- package/targets/esp32/chip_bindings/touch/cst9217.cpp +27 -3
- package/targets/esp32/chip_bindings/touch/cst9217_controller.h +11 -2
- package/targets/esp32/components/gea_framework/CMakeLists.txt +9 -5
- package/targets/esp32/components/gea_framework/project_include.cmake +22 -0
- package/targets/esp32/esp_now.cpp +298 -0
- package/targets/esp32/esp_now_power.h +17 -0
- package/targets/esp32/esp_now_rate.h +57 -0
- package/targets/esp32/esp_now_tx_header.h +46 -0
- package/targets/esp32/gea_framework.cmake +1 -0
- package/targets/esp32/ldfragments/gea_ui_state_external.lf +11 -0
- package/targets/esp32/services/device_control.cpp +29 -11
- package/targets/esp32/services/frame_scheduler.cpp +7 -0
- package/targets/esp32/uart.cpp +7 -1
- package/targets/esp32-m5stack-m5paper/CMakeLists.txt +1 -0
- package/targets/esp32-m5stack-m5paper/main/idf_component.yml +7 -4
- package/targets/esp32-p4-m5stack-tab5/CMakeLists.txt +1 -0
- package/targets/esp32-p4-m5stack-tab5/main/CMakeLists.txt +4 -0
- package/targets/esp32-p4-m5stack-tab5/main/idf_component.yml +9 -6
- package/targets/esp32-p4-waveshare-touch-lcd-3.5/CMakeLists.txt +1 -0
- package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/CMakeLists.txt +4 -0
- package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/display.cpp +21 -5
- package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/idf_component.yml +8 -5
- package/targets/esp32-p4-waveshare-touch-lcd-7/CMakeLists.txt +1 -0
- package/targets/esp32-p4-waveshare-touch-lcd-7/main/CMakeLists.txt +4 -0
- package/targets/esp32-p4-waveshare-touch-lcd-7/main/display.cpp +16 -5
- package/targets/esp32-p4-waveshare-touch-lcd-7/main/idf_component.yml +8 -5
- package/targets/esp32-s3-elecrow-rotary-2.1/CMakeLists.txt +1 -0
- package/targets/esp32-s3-elecrow-rotary-2.1/main/CMakeLists.txt +3 -3
- package/targets/esp32-s3-elecrow-rotary-2.1/main/idf_component.yml +5 -2
- package/targets/esp32-s3-epaper-1.54/CMakeLists.txt +1 -0
- package/targets/esp32-s3-epaper-1.54/main/CMakeLists.txt +9 -9
- package/targets/esp32-s3-epaper-1.54/main/idf_component.yml +7 -4
- package/targets/esp32-s3-lilygo-t-display-s3-long/CMakeLists.txt +1 -0
- package/targets/esp32-s3-lilygo-t-display-s3-long/main/idf_component.yml +7 -4
- package/targets/esp32-s3-lilygo-t5-epaper-4.7/CMakeLists.txt +1 -0
- package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/idf_component.yml +4 -1
- package/targets/esp32-s3-m5stack-papers3/CMakeLists.txt +1 -0
- package/targets/esp32-s3-m5stack-papers3/main/idf_component.yml +7 -4
- package/targets/esp32-s3-m5stack-sticks3/CMakeLists.txt +1 -0
- package/targets/esp32-s3-m5stack-sticks3/main/CMakeLists.txt +2 -1
- package/targets/esp32-s3-m5stack-sticks3/main/idf_component.yml +6 -3
- package/targets/esp32-s3-m5stack-stopwatch/CMakeLists.txt +1 -0
- package/targets/esp32-s3-m5stack-stopwatch/main/gea-dependencies.json +42 -0
- package/targets/esp32-s3-m5stack-stopwatch/main/idf_component.yml +4 -18
- package/targets/esp32-s3-touch-amoled-1.75/CMakeLists.txt +1 -0
- package/targets/esp32-s3-touch-amoled-1.75/main/idf_component.yml +8 -5
- package/targets/esp32-s3-touch-amoled-1.8/CMakeLists.txt +1 -0
- package/targets/esp32-s3-touch-amoled-1.8/main/CMakeLists.txt +9 -4
- package/targets/esp32-s3-touch-amoled-1.8/main/gea-dependencies.json +26 -0
- package/targets/esp32-s3-touch-amoled-1.8/main/idf_component.yml +6 -18
- package/targets/esp32-s3-touch-amoled-2.06/CMakeLists.txt +1 -0
- package/targets/esp32-s3-touch-amoled-2.06/main/CMakeLists.txt +11 -10
- package/targets/esp32-s3-touch-amoled-2.06/main/gea-dependencies.json +58 -0
- package/targets/esp32-s3-touch-amoled-2.06/main/idf_component.yml +4 -42
- package/targets/esp32-s3-touch-amoled-2.41/CMakeLists.txt +1 -0
- package/targets/esp32-s3-touch-amoled-2.41/main/gea-dependencies.json +42 -0
- package/targets/esp32-s3-touch-amoled-2.41/main/idf_component.yml +5 -30
- package/targets/esp32-s3-touch-lcd-1.54/CMakeLists.txt +1 -0
- package/targets/esp32-s3-touch-lcd-1.54/main/idf_component.yml +8 -5
- package/targets/esp32-s3-touch-lcd-3.5b/CMakeLists.txt +1 -0
- package/targets/esp32-s3-touch-lcd-3.5b/main/gea-dependencies.json +26 -0
- package/targets/esp32-s3-touch-lcd-3.5b/main/idf_component.yml +4 -20
- package/targets/esp32-s31-espressif-mosaico/CMakeLists.txt +1 -0
- package/targets/esp32-s31-espressif-mosaico/README.md +10 -2
- package/targets/esp32-s31-espressif-mosaico/dependencies.lock +7 -334
- package/targets/esp32-s31-espressif-mosaico/main/CMakeLists.txt +9 -1
- package/targets/esp32-s31-espressif-mosaico/main/board_power.cpp +13 -1
- package/targets/esp32-s31-espressif-mosaico/main/gea-dependencies.json +52 -0
- package/targets/esp32-s31-espressif-mosaico/main/idf_component.yml +13 -40
- package/targets/esp32-s31-espressif-mosaico/main/include/board.h +6 -0
- package/targets/esp32-s31-espressif-mosaico/main/include/mosaico_peer_uart_pins.h +2 -2
- package/targets/esp32-s31-espressif-mosaico/partitions.csv +1 -1
- package/targets/esp32-s3-m5stack-stopwatch/.clang-format +0 -10
|
@@ -1,23 +1,11 @@
|
|
|
1
|
+
# Always-required SDK dependencies. Optional SDKs are selected from
|
|
2
|
+
# gea-dependencies.json by the CLI capability analyzer.
|
|
1
3
|
dependencies:
|
|
2
|
-
espressif/esp_h264:
|
|
3
|
-
version: '==1.4.1'
|
|
4
|
-
rules:
|
|
5
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
6
4
|
espressif/esp_new_jpeg: '==1.0.2'
|
|
7
|
-
espressif/
|
|
8
|
-
|
|
9
|
-
rules:
|
|
10
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_AEC == 1'
|
|
11
|
-
# Use the S3-optimized native codec, as on the 2.06 audio target.
|
|
12
|
-
# The portable Opus fallback cannot meet capture deadlines alongside AEC.
|
|
13
|
-
espressif/esp_audio_codec:
|
|
14
|
-
version: '^2.6.2'
|
|
15
|
-
rules:
|
|
16
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
17
|
-
espressif/esp_lcd_sh8601: '^2.0.1'
|
|
18
|
-
espressif/esp_codec_dev: '^1.4.0'
|
|
5
|
+
espressif/esp_lcd_sh8601: '==2.0.1~1'
|
|
6
|
+
espressif/esp_codec_dev: '==1.5.9'
|
|
19
7
|
esp_lcd_panel_io_additions: '^1'
|
|
20
|
-
espressif/esp_websocket_client: '
|
|
21
|
-
espressif/esp_peer: '
|
|
8
|
+
espressif/esp_websocket_client: '==1.7.0'
|
|
9
|
+
espressif/esp_peer: '==1.4.1'
|
|
22
10
|
idf:
|
|
23
11
|
version: '>=5.3'
|
|
@@ -7,6 +7,7 @@ set(PROJECT_VER "${GEA_EMBEDDED_APP}" CACHE STRING "Firmware app id" FORCE)
|
|
|
7
7
|
|
|
8
8
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
9
9
|
idf_build_set_property(MINIMAL_BUILD ON)
|
|
10
|
+
gea_solve_dependencies_in_build_dir()
|
|
10
11
|
project(gea_embedded)
|
|
11
12
|
include("${CMAKE_CURRENT_LIST_DIR}/../esp32/i2c_completion_order.cmake")
|
|
12
13
|
gea_fix_i2c_completion_order()
|
|
@@ -319,9 +319,9 @@ set(GEA_EMBEDDED_CAPABILITY_COMPILE_DEFINITIONS "")
|
|
|
319
319
|
# capability again from the real app analysis before choosing sources/REQUIRES.
|
|
320
320
|
if(DEFINED ENV{GEA_EMBEDDED_BLE_OTA} AND "$ENV{GEA_EMBEDDED_BLE_OTA}" STREQUAL "1")
|
|
321
321
|
set(GEA_EMBEDDED_CAPABILITY_BLE 1)
|
|
322
|
-
elseif(DEFINED
|
|
323
|
-
AND NOT "$
|
|
324
|
-
set(GEA_EMBEDDED_CAPABILITY_BLE "$
|
|
322
|
+
elseif(DEFINED GEA_EMBEDDED_CAPABILITY_BLE
|
|
323
|
+
AND NOT "${GEA_EMBEDDED_CAPABILITY_BLE}" STREQUAL "")
|
|
324
|
+
set(GEA_EMBEDDED_CAPABILITY_BLE "${GEA_EMBEDDED_CAPABILITY_BLE}")
|
|
325
325
|
elseif(DEFINED CACHE{GEA_EMBEDDED_CAPABILITY_BLE}
|
|
326
326
|
AND NOT "$CACHE{GEA_EMBEDDED_CAPABILITY_BLE}" STREQUAL "")
|
|
327
327
|
set(GEA_EMBEDDED_CAPABILITY_BLE "$CACHE{GEA_EMBEDDED_CAPABILITY_BLE}")
|
|
@@ -338,9 +338,9 @@ endif()
|
|
|
338
338
|
# the whole Wi-Fi/HTTP/TLS stack and the codec path into an app that asks for
|
|
339
339
|
# neither is not a smaller price for being invisible -- it is flash, RAM,
|
|
340
340
|
# link-time literal pressure, and managed components nobody asked for.
|
|
341
|
-
if(DEFINED
|
|
342
|
-
AND NOT "$
|
|
343
|
-
set(GEA_EMBEDDED_CAPABILITY_NETWORK "$
|
|
341
|
+
if(DEFINED GEA_EMBEDDED_CAPABILITY_NETWORK
|
|
342
|
+
AND NOT "${GEA_EMBEDDED_CAPABILITY_NETWORK}" STREQUAL "")
|
|
343
|
+
set(GEA_EMBEDDED_CAPABILITY_NETWORK "${GEA_EMBEDDED_CAPABILITY_NETWORK}")
|
|
344
344
|
elseif(DEFINED CACHE{GEA_EMBEDDED_CAPABILITY_NETWORK}
|
|
345
345
|
AND NOT "$CACHE{GEA_EMBEDDED_CAPABILITY_NETWORK}" STREQUAL "")
|
|
346
346
|
set(GEA_EMBEDDED_CAPABILITY_NETWORK "$CACHE{GEA_EMBEDDED_CAPABILITY_NETWORK}")
|
|
@@ -351,9 +351,9 @@ else()
|
|
|
351
351
|
set(GEA_EMBEDDED_CAPABILITY_NETWORK 1)
|
|
352
352
|
endif()
|
|
353
353
|
endif()
|
|
354
|
-
if(DEFINED
|
|
355
|
-
AND NOT "$
|
|
356
|
-
set(GEA_EMBEDDED_CAPABILITY_AUDIO "$
|
|
354
|
+
if(DEFINED GEA_EMBEDDED_CAPABILITY_AUDIO
|
|
355
|
+
AND NOT "${GEA_EMBEDDED_CAPABILITY_AUDIO}" STREQUAL "")
|
|
356
|
+
set(GEA_EMBEDDED_CAPABILITY_AUDIO "${GEA_EMBEDDED_CAPABILITY_AUDIO}")
|
|
357
357
|
elseif(DEFINED CACHE{GEA_EMBEDDED_CAPABILITY_AUDIO}
|
|
358
358
|
AND NOT "$CACHE{GEA_EMBEDDED_CAPABILITY_AUDIO}" STREQUAL "")
|
|
359
359
|
set(GEA_EMBEDDED_CAPABILITY_AUDIO "$CACHE{GEA_EMBEDDED_CAPABILITY_AUDIO}")
|
|
@@ -577,7 +577,7 @@ if(NOT GEA_APP_CANVAS_ONLY)
|
|
|
577
577
|
"${GEA_HOST}/audio_runtime.cpp"
|
|
578
578
|
)
|
|
579
579
|
list(APPEND GEA_EMBEDDED_TARGET_REQUIRES esp_driver_i2s esp_codec_dev)
|
|
580
|
-
if("$
|
|
580
|
+
if("${GEA_EMBEDDED_CAPABILITY_AEC}" STREQUAL "1")
|
|
581
581
|
list(APPEND GEA_EMBEDDED_TARGET_HOST_SOURCES
|
|
582
582
|
"${GEA_EMBEDDED_ROOT}/targets/esp32/chip_bindings/audio/echo_cancellation.cpp")
|
|
583
583
|
list(APPEND GEA_EMBEDDED_TARGET_REQUIRES esp-sr)
|
|
@@ -974,6 +974,7 @@ add_dependencies(geatsc_active_archive geatsc_build)
|
|
|
974
974
|
# argument: otherwise CMake can separate the switches across IDF's repeated
|
|
975
975
|
# dependency groups. --gc-sections still drops unused asset sections.
|
|
976
976
|
add_library(gea_active_app_assets STATIC "${GENERATED_ASSETS_CPP}")
|
|
977
|
+
target_include_directories(gea_active_app_assets PRIVATE ${GEA_FW_INCLUDE_DIRS})
|
|
977
978
|
add_dependencies(gea_active_app_assets geatsc_build)
|
|
978
979
|
target_link_libraries(${COMPONENT_LIB} PRIVATE
|
|
979
980
|
"-Wl$<COMMA>--whole-archive$<COMMA>$<TARGET_FILE:gea_active_app_assets>$<COMMA>--no-whole-archive")
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"espressif/esp_new_jpeg": {
|
|
3
|
+
"when": [
|
|
4
|
+
"network"
|
|
5
|
+
],
|
|
6
|
+
"dependency": {
|
|
7
|
+
"version": "==1.0.2"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"espressif/esp_h264": {
|
|
11
|
+
"when": [
|
|
12
|
+
"network"
|
|
13
|
+
],
|
|
14
|
+
"dependency": {
|
|
15
|
+
"version": "^1.4.1"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"espressif/esp-sr": {
|
|
19
|
+
"when": [
|
|
20
|
+
"aec"
|
|
21
|
+
],
|
|
22
|
+
"dependency": {
|
|
23
|
+
"version": "==2.5.5"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"espressif/esp_audio_codec": {
|
|
27
|
+
"when": [
|
|
28
|
+
"network"
|
|
29
|
+
],
|
|
30
|
+
"dependency": {
|
|
31
|
+
"version": "^2.6.2"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"espressif/esp_codec_dev": {
|
|
35
|
+
"when": [
|
|
36
|
+
"audio"
|
|
37
|
+
],
|
|
38
|
+
"dependency": {
|
|
39
|
+
"version": "^1.4.0"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"espressif/esp_websocket_client": {
|
|
43
|
+
"when": [
|
|
44
|
+
"network"
|
|
45
|
+
],
|
|
46
|
+
"dependency": {
|
|
47
|
+
"version": "^1.4"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"espressif/esp_peer": {
|
|
51
|
+
"when": [
|
|
52
|
+
"network"
|
|
53
|
+
],
|
|
54
|
+
"dependency": {
|
|
55
|
+
"version": "1.5.5"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -1,49 +1,11 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
# built. The `if:` rules keep each registry component tied to the capability
|
|
4
|
-
# whose source actually uses it. GEA_EMBEDDED_CAPABILITY_* comes from the gea
|
|
5
|
-
# CLI's app analysis; app_project.cmake defaults each to 1 before project() so a
|
|
6
|
-
# direct `idf.py` build keeps everything (and so the component manager never
|
|
7
|
-
# sees an unset variable, which it treats as an error).
|
|
1
|
+
# Always-required SDK dependencies. Optional SDKs are selected from
|
|
2
|
+
# gea-dependencies.json by the CLI capability analyzer.
|
|
8
3
|
dependencies:
|
|
9
4
|
# host/mjpeg.cpp needs this header in main, not only gea_framework.
|
|
10
|
-
espressif/
|
|
11
|
-
version: '==1.0.2'
|
|
12
|
-
rules:
|
|
13
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
14
|
-
espressif/esp_h264:
|
|
15
|
-
version: '^1.4.1'
|
|
16
|
-
rules:
|
|
17
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
18
|
-
espressif/esp-sr:
|
|
19
|
-
version: '==2.5.5'
|
|
20
|
-
rules:
|
|
21
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_AEC == 1'
|
|
22
|
-
# Optimized Opus leaves CPU time for simultaneous AEC and rendering.
|
|
23
|
-
espressif/esp_audio_codec:
|
|
24
|
-
version: '^2.6.2'
|
|
25
|
-
rules:
|
|
26
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
27
|
-
espressif/esp_lcd_co5300: '^2.0.3'
|
|
5
|
+
espressif/esp_lcd_co5300: '==2.2.0'
|
|
28
6
|
# Custom QSPI boards may select the existing SH8601 binding.
|
|
29
|
-
espressif/esp_lcd_sh8601: '
|
|
7
|
+
espressif/esp_lcd_sh8601: '==2.0.1~1'
|
|
30
8
|
esp_lcd_panel_io_additions: '^1'
|
|
31
9
|
# chip_bindings/audio/es8311.cpp
|
|
32
|
-
espressif/esp_codec_dev:
|
|
33
|
-
version: '^1.4.0'
|
|
34
|
-
rules:
|
|
35
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_AUDIO == 1'
|
|
36
|
-
# host/websocket.cpp
|
|
37
|
-
espressif/esp_websocket_client:
|
|
38
|
-
version: '^1.4'
|
|
39
|
-
rules:
|
|
40
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
41
|
-
# host/rtc_esp.cpp -- the WebRTC peer, and libsrtp behind it
|
|
42
|
-
espressif/esp_peer:
|
|
43
|
-
# 1.5.6 rejects peer-reflexive NAT mappings during ICE nomination.
|
|
44
|
-
# Keep the version explicit while verifying the direct Realtime path.
|
|
45
|
-
version: '1.5.5'
|
|
46
|
-
rules:
|
|
47
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
48
10
|
idf:
|
|
49
11
|
version: '>=5.3'
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"espressif/esp_h264": {
|
|
3
|
+
"when": [
|
|
4
|
+
"network"
|
|
5
|
+
],
|
|
6
|
+
"dependency": {
|
|
7
|
+
"version": "==1.4.1"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"78/esp-opus": {
|
|
11
|
+
"when": [
|
|
12
|
+
"network"
|
|
13
|
+
],
|
|
14
|
+
"dependency": {
|
|
15
|
+
"version": "==1.0.5"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"espressif/esp_websocket_client": {
|
|
19
|
+
"when": [
|
|
20
|
+
"network"
|
|
21
|
+
],
|
|
22
|
+
"dependency": {
|
|
23
|
+
"version": "==1.8.0"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"espressif/esp_peer": {
|
|
27
|
+
"when": [
|
|
28
|
+
"network"
|
|
29
|
+
],
|
|
30
|
+
"dependency": {
|
|
31
|
+
"version": "==1.5.6"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"espressif/esp-sr": {
|
|
35
|
+
"when": [
|
|
36
|
+
"aec"
|
|
37
|
+
],
|
|
38
|
+
"dependency": {
|
|
39
|
+
"version": "==2.5.5"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,37 +1,12 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
# built. The `if:` rules keep each registry component tied to the capability
|
|
4
|
-
# whose source actually uses it. GEA_EMBEDDED_CAPABILITY_* comes from the gea
|
|
5
|
-
# CLI's app analysis; app_project.cmake defaults each to 1 before project() so a
|
|
6
|
-
# direct `idf.py` build keeps everything (and so the component manager never
|
|
7
|
-
# sees an unset variable, which it treats as an error).
|
|
8
|
-
#
|
|
9
|
-
# No esp_codec_dev: this board carries no audio codec.
|
|
1
|
+
# Always-required SDK dependencies. Optional SDKs are selected from
|
|
2
|
+
# gea-dependencies.json by the CLI capability analyzer.
|
|
10
3
|
dependencies:
|
|
11
4
|
# Native WebRTC avatar video receives baseline H.264.
|
|
12
|
-
espressif/
|
|
13
|
-
version: '^1.4.1'
|
|
14
|
-
rules:
|
|
15
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
16
|
-
# host/rtc_esp.cpp encodes/decodes RTP payloads using Opus.
|
|
17
|
-
78/esp-opus:
|
|
18
|
-
version: '^1.0.5'
|
|
19
|
-
rules:
|
|
20
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
21
|
-
espressif/esp_lcd_sh8601: '^2.0.1'
|
|
5
|
+
espressif/esp_lcd_sh8601: '==2.0.1~1'
|
|
22
6
|
# panel_reset.cpp -- OLED_RESET/TP_RESET sit on a TCA9554
|
|
23
|
-
espressif/esp_io_expander: '
|
|
24
|
-
espressif/esp_io_expander_tca9554: '
|
|
7
|
+
espressif/esp_io_expander: '==1.2.1'
|
|
8
|
+
espressif/esp_io_expander_tca9554: '==2.0.3'
|
|
25
9
|
esp_lcd_panel_io_additions: '^1'
|
|
26
10
|
# host/websocket.cpp
|
|
27
|
-
espressif/esp_websocket_client:
|
|
28
|
-
version: '^1.4'
|
|
29
|
-
rules:
|
|
30
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
31
|
-
# host/rtc_esp.cpp -- the WebRTC peer, and libsrtp behind it
|
|
32
|
-
espressif/esp_peer:
|
|
33
|
-
version: '^1.4'
|
|
34
|
-
rules:
|
|
35
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
36
11
|
idf:
|
|
37
12
|
version: '>=5.3'
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
# Registry versions are pinned to the ones dependencies.lock records. The build
|
|
2
|
+
# solves into its build directory (esp32/app_project.cmake), so a range would let
|
|
3
|
+
# a re-solve for another app's capabilities move them.
|
|
1
4
|
dependencies:
|
|
2
5
|
idf: '>=5.3'
|
|
3
|
-
espressif/esp_lcd_touch_cst816s: '
|
|
4
|
-
espressif/esp_codec_dev: '
|
|
5
|
-
espressif/esp_websocket_client: '
|
|
6
|
-
espressif/esp_peer: '
|
|
7
|
-
78/esp-opus: '
|
|
6
|
+
espressif/esp_lcd_touch_cst816s: '==1.1.2'
|
|
7
|
+
espressif/esp_codec_dev: '==1.6.2'
|
|
8
|
+
espressif/esp_websocket_client: '==1.8.0'
|
|
9
|
+
espressif/esp_peer: '==1.5.6'
|
|
10
|
+
78/esp-opus: '==1.0.5'
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"espressif/esp_websocket_client": {
|
|
3
|
+
"when": [
|
|
4
|
+
"network"
|
|
5
|
+
],
|
|
6
|
+
"dependency": {
|
|
7
|
+
"version": "^1.4"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"espressif/esp_peer": {
|
|
11
|
+
"when": [
|
|
12
|
+
"network"
|
|
13
|
+
],
|
|
14
|
+
"dependency": {
|
|
15
|
+
"version": "^1.4"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"espressif/esp-sr": {
|
|
19
|
+
"when": [
|
|
20
|
+
"aec"
|
|
21
|
+
],
|
|
22
|
+
"dependency": {
|
|
23
|
+
"version": "==2.5.5"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
# built. The `if:` rules keep each registry component tied to the capability
|
|
4
|
-
# whose source actually uses it. GEA_EMBEDDED_CAPABILITY_* comes from the gea
|
|
5
|
-
# CLI's app analysis; app_project.cmake defaults each to 1 before project() so a
|
|
6
|
-
# direct `idf.py` build keeps everything (and so the component manager never
|
|
7
|
-
# sees an unset variable, which it treats as an error).
|
|
8
|
-
#
|
|
9
|
-
# The ES8311 provides the onboard speaker output.
|
|
1
|
+
# Always-required SDK dependencies. Optional SDKs are selected from
|
|
2
|
+
# gea-dependencies.json by the CLI capability analyzer.
|
|
10
3
|
dependencies:
|
|
11
|
-
espressif/esp_codec_dev: '
|
|
12
|
-
espressif/esp_lcd_axs15231b: '
|
|
4
|
+
espressif/esp_codec_dev: '==1.6.2'
|
|
5
|
+
espressif/esp_lcd_axs15231b: '==2.1.1'
|
|
13
6
|
# host/websocket.cpp
|
|
14
|
-
espressif/esp_websocket_client:
|
|
15
|
-
version: '^1.4'
|
|
16
|
-
rules:
|
|
17
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
18
|
-
# host/rtc_esp.cpp -- the WebRTC peer, and libsrtp behind it
|
|
19
|
-
espressif/esp_peer:
|
|
20
|
-
version: '^1.4'
|
|
21
|
-
rules:
|
|
22
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
23
7
|
idf:
|
|
24
8
|
version: '>=5.3'
|
|
@@ -7,6 +7,7 @@ set(PROJECT_VER "${GEA_EMBEDDED_APP}" CACHE STRING "Firmware app id" FORCE)
|
|
|
7
7
|
|
|
8
8
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
9
9
|
idf_build_set_property(MINIMAL_BUILD ON)
|
|
10
|
+
gea_solve_dependencies_in_build_dir()
|
|
10
11
|
# Camera component patches use git apply --no-index against PROJECT_DIR.
|
|
11
12
|
# Inside a consumer Git checkout, discovery of its enclosing repository makes
|
|
12
13
|
# Git silently skip those project-relative paths and report success. Stop
|
|
@@ -66,8 +66,16 @@ wear levelling. `main/nand_mount.cpp` installs the storage provider; file
|
|
|
66
66
|
operations mount it as needed, and a blank chip is formatted on first mount.
|
|
67
67
|
Assets can be uploaded with `gea devctl push <file> /nand/...`.
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
`Magnetometer.open()` enables both BMM150 sensors on the existing onboard
|
|
70
|
+
I2C bus. Index 0 is the right sensor at 0x11; index 1 is the left at 0x12.
|
|
71
|
+
`Magnetometer.read(index)` returns compensated integer microtesla, validity,
|
|
72
|
+
axis saturation bits and a microsecond timestamp. Native `readAll()` samples
|
|
73
|
+
both back-to-back with a shared completion timestamp. Overflow sentinels are
|
|
74
|
+
preserved for the magnetic classifier; saturated values are not field strength.
|
|
75
|
+
The driver uses the pinned BSD-3-Clause `espressif/bmm150` 1.1.0 component and
|
|
76
|
+
never owns or removes the shared bus. Call it from a sensor task, not audio I/O.
|
|
77
|
+
|
|
78
|
+
Not yet wired: the BQ27220 fuel gauge (the board reports no battery reading).
|
|
71
79
|
|
|
72
80
|
## Camera module
|
|
73
81
|
|