@geastack/targets 0.1.102 → 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 +10 -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 +2 -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 +144 -0
- 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 +68 -0
- package/targets/esp32-s31-espressif-mosaico/main/peer_uart.cpp +28 -72
- package/targets/esp32-s31-espressif-mosaico/partitions.csv +1 -1
- package/targets/esp32-s3-m5stack-stopwatch/.clang-format +0 -10
|
@@ -1,93 +1,18 @@
|
|
|
1
1
|
dependencies:
|
|
2
|
-
|
|
3
|
-
component_hash:
|
|
2
|
+
espressif/bmm150:
|
|
3
|
+
component_hash: 4bdc8ecc8dee320ba3736abf551bbc89457d61e952bf9a2170bcdc232d3a871c
|
|
4
4
|
dependencies:
|
|
5
|
-
- name: idf
|
|
6
|
-
require: private
|
|
7
|
-
version: '>=5.0'
|
|
8
|
-
source:
|
|
9
|
-
registry_url: https://components.espressif.com/
|
|
10
|
-
type: service
|
|
11
|
-
version: 1.0.5
|
|
12
|
-
esp-mosaico-bsp:
|
|
13
|
-
component_hash: 85897538499a0683b3f08d07620ae3e4a4c45a6c91cb21264d9c6361f21d7098
|
|
14
|
-
dependencies:
|
|
15
|
-
- name: idf
|
|
16
|
-
version: '>=6.2'
|
|
17
|
-
- git: https://github.com/esp-mosaico/esp-mosaico-bsp.git
|
|
18
|
-
name: mosaico_boot_splash
|
|
19
|
-
path: components/mosaico_boot_splash
|
|
20
|
-
version: a4bfb426afcf2911c01fdd9b6d6f024019f00f8f
|
|
21
|
-
- name: espressif/esp_lvgl_adapter
|
|
22
|
-
public: true
|
|
23
|
-
rules:
|
|
24
|
-
- if: $CONFIG{BSP_DISPLAY_ENABLE} == True && $CONFIG{BSP_DISPLAY_LVGL_ENABLE} == True
|
|
25
|
-
version: 0.6.2
|
|
26
|
-
- name: lvgl/lvgl
|
|
27
|
-
rules:
|
|
28
|
-
- if: $CONFIG{BSP_DISPLAY_ENABLE} == True && $CONFIG{BSP_DISPLAY_LVGL_ENABLE} == True
|
|
29
|
-
version: ^9.5.0,<9.6.0
|
|
30
|
-
- name: espressif/esp_lcd_co5300
|
|
31
|
-
version: ^2.2
|
|
32
|
-
- name: espressif/esp_lcd_touch_cst9220
|
|
33
|
-
version: ^0.1
|
|
34
|
-
- name: espressif/spi_nand_flash
|
|
35
|
-
public: true
|
|
36
|
-
version: ^1.3.0
|
|
37
|
-
- name: espressif/esp_codec_dev
|
|
38
|
-
public: true
|
|
39
|
-
version: ~1.6
|
|
40
|
-
- name: espressif/button
|
|
41
|
-
public: true
|
|
42
|
-
version: ^4
|
|
43
|
-
- name: espressif2022/bmi270
|
|
44
|
-
public: true
|
|
45
|
-
version: ^1.1.0~2
|
|
46
|
-
- name: tangyumei3535/bmm150_sensorapi
|
|
47
|
-
public: true
|
|
48
|
-
version: ^1.0.0
|
|
49
|
-
- name: espressif/bq27220
|
|
50
|
-
public: true
|
|
51
|
-
version: ^0.1.1~1
|
|
52
|
-
source:
|
|
53
|
-
git: https://github.com/esp-mosaico/esp-mosaico-bsp.git
|
|
54
|
-
path: components/esp-mosaico-bsp
|
|
55
|
-
type: git
|
|
56
|
-
targets:
|
|
57
|
-
- esp32s31
|
|
58
|
-
version: a4bfb426afcf2911c01fdd9b6d6f024019f00f8f
|
|
59
|
-
espressif/bq27220:
|
|
60
|
-
component_hash: 6f216c63304baed177cd70bdb1654223e55dfbf3ff5a272d793eed3e3be15e6d
|
|
61
|
-
dependencies:
|
|
62
|
-
- name: espressif/cmake_utilities
|
|
63
|
-
registry_url: https://components.espressif.com
|
|
64
|
-
require: private
|
|
65
|
-
version: 0.*
|
|
66
5
|
- name: espressif/i2c_bus
|
|
67
6
|
registry_url: https://components.espressif.com
|
|
68
7
|
require: public
|
|
69
|
-
version: ^1.
|
|
70
|
-
- name: idf
|
|
71
|
-
require: private
|
|
72
|
-
version: '>=4.4'
|
|
73
|
-
source:
|
|
74
|
-
registry_url: https://components.espressif.com/
|
|
75
|
-
type: service
|
|
76
|
-
version: 0.1.3
|
|
77
|
-
espressif/button:
|
|
78
|
-
component_hash: a1f34e8ed2e61ffef1a230fd9477005c2db335c7e1f6a239f43e5f119dcbe1b0
|
|
79
|
-
dependencies:
|
|
80
|
-
- name: espressif/cmake_utilities
|
|
81
|
-
registry_url: https://components.espressif.com
|
|
82
|
-
require: private
|
|
83
|
-
version: '*'
|
|
8
|
+
version: ^1.5.0
|
|
84
9
|
- name: idf
|
|
85
10
|
require: private
|
|
86
|
-
version: '>=
|
|
11
|
+
version: '>=5.3'
|
|
87
12
|
source:
|
|
88
13
|
registry_url: https://components.espressif.com/
|
|
89
14
|
type: service
|
|
90
|
-
version:
|
|
15
|
+
version: 1.1.0
|
|
91
16
|
espressif/cjson:
|
|
92
17
|
component_hash: e788323270d90738662d66fffa910bfe1fba019bba087f01557e70c40485b469
|
|
93
18
|
dependencies:
|
|
@@ -115,32 +40,6 @@ dependencies:
|
|
|
115
40
|
registry_url: https://components.espressif.com
|
|
116
41
|
type: service
|
|
117
42
|
version: 1.1.0
|
|
118
|
-
espressif/esp_cam_sensor:
|
|
119
|
-
component_hash: 0dd6634a71cc8756f0e46c961476304a23a82db4f4c4deb8aecfa30161d2185c
|
|
120
|
-
dependencies:
|
|
121
|
-
- name: espressif/cmake_utilities
|
|
122
|
-
registry_url: https://components.espressif.com
|
|
123
|
-
require: private
|
|
124
|
-
version: 0.*
|
|
125
|
-
- name: espressif/esp_sccb_intf
|
|
126
|
-
registry_url: https://components.espressif.com
|
|
127
|
-
require: private
|
|
128
|
-
version: '>=0.0.5'
|
|
129
|
-
- name: idf
|
|
130
|
-
require: private
|
|
131
|
-
version: '>=5.3'
|
|
132
|
-
source:
|
|
133
|
-
registry_url: https://components.espressif.com
|
|
134
|
-
type: service
|
|
135
|
-
targets:
|
|
136
|
-
- esp32p4
|
|
137
|
-
- esp32s3
|
|
138
|
-
- esp32c3
|
|
139
|
-
- esp32c5
|
|
140
|
-
- esp32c6
|
|
141
|
-
- esp32c61
|
|
142
|
-
- esp32s31
|
|
143
|
-
version: 2.6.0
|
|
144
43
|
espressif/esp_codec_dev:
|
|
145
44
|
component_hash: 4779f31a3ba3f9b38aee1afe6ccb9ba8f6108dc3a6e77d39d7d714e9a215371b
|
|
146
45
|
dependencies:
|
|
@@ -151,20 +50,6 @@ dependencies:
|
|
|
151
50
|
registry_url: https://components.espressif.com/
|
|
152
51
|
type: service
|
|
153
52
|
version: 1.6.2
|
|
154
|
-
espressif/esp_h264:
|
|
155
|
-
component_hash: 3d60078419ceac61cd87579664ae6a5a9b9a42d6f2edf4e23d753af8d2a67da9
|
|
156
|
-
dependencies:
|
|
157
|
-
- name: idf
|
|
158
|
-
require: private
|
|
159
|
-
version: '>=4.4'
|
|
160
|
-
source:
|
|
161
|
-
registry_url: https://components.espressif.com/
|
|
162
|
-
type: service
|
|
163
|
-
targets:
|
|
164
|
-
- esp32s3
|
|
165
|
-
- esp32s31
|
|
166
|
-
- esp32p4
|
|
167
|
-
version: 1.4.1
|
|
168
53
|
espressif/esp_io_expander:
|
|
169
54
|
component_hash: 7b7f91270172e46ca4597e3874f48d8412e280e8c295559f5922ec38656e3e5f
|
|
170
55
|
dependencies:
|
|
@@ -235,34 +120,6 @@ dependencies:
|
|
|
235
120
|
registry_url: https://components.espressif.com/
|
|
236
121
|
type: service
|
|
237
122
|
version: 0.1.1
|
|
238
|
-
espressif/esp_libsrtp:
|
|
239
|
-
component_hash: 131560184c73ec09f77d8904a2db709307803f0f9f111898921b6966776eac15
|
|
240
|
-
dependencies: []
|
|
241
|
-
source:
|
|
242
|
-
registry_url: https://components.espressif.com
|
|
243
|
-
type: service
|
|
244
|
-
version: 1.0.0
|
|
245
|
-
espressif/esp_peer:
|
|
246
|
-
component_hash: 92bc1b80772acf8a0e2dc36193ec24278e0793140eca2a4060d8ce7b45c47845
|
|
247
|
-
dependencies:
|
|
248
|
-
- name: espressif/esp_libsrtp
|
|
249
|
-
registry_url: https://components.espressif.com
|
|
250
|
-
require: private
|
|
251
|
-
version: ^1.0.0
|
|
252
|
-
source:
|
|
253
|
-
registry_url: https://components.espressif.com/
|
|
254
|
-
type: service
|
|
255
|
-
version: 1.5.7
|
|
256
|
-
espressif/esp_sccb_intf:
|
|
257
|
-
component_hash: eb6a7d5c992f09583c163b2e3f5e95a0fdc87a2d9f8e026f3e59153935553889
|
|
258
|
-
dependencies:
|
|
259
|
-
- name: idf
|
|
260
|
-
require: private
|
|
261
|
-
version: '>=5.3'
|
|
262
|
-
source:
|
|
263
|
-
registry_url: https://components.espressif.com
|
|
264
|
-
type: service
|
|
265
|
-
version: 0.0.9
|
|
266
123
|
espressif/esp_tinyusb:
|
|
267
124
|
component_hash: 0fab24246e07bdf919c6489d17a590cffbffbbf6a9c44d6235641645c8b946b7
|
|
268
125
|
dependencies:
|
|
@@ -283,62 +140,6 @@ dependencies:
|
|
|
283
140
|
- esp32h4
|
|
284
141
|
- esp32s31
|
|
285
142
|
version: 2.3.0
|
|
286
|
-
espressif/esp_video:
|
|
287
|
-
component_hash: 5694b16c12b8bb26b56ad3f999ad10119f1314d64b2d1c518bc7dfed902df9e1
|
|
288
|
-
dependencies:
|
|
289
|
-
- name: espressif/cmake_utilities
|
|
290
|
-
registry_url: https://components.espressif.com
|
|
291
|
-
require: private
|
|
292
|
-
version: 0.*
|
|
293
|
-
- name: espressif/esp_cam_sensor
|
|
294
|
-
registry_url: https://components.espressif.com
|
|
295
|
-
require: private
|
|
296
|
-
version: 2.6.*
|
|
297
|
-
- matches:
|
|
298
|
-
- if: $CONFIG{ESP_VIDEO_USE_CUSTOMIZED_ESP_H264_VERSION} == False
|
|
299
|
-
name: espressif/esp_h264
|
|
300
|
-
registry_url: https://components.espressif.com
|
|
301
|
-
require: private
|
|
302
|
-
rules:
|
|
303
|
-
- if: target in [esp32p4]
|
|
304
|
-
version: 1.4.*
|
|
305
|
-
- name: espressif/esp_ipa
|
|
306
|
-
registry_url: https://components.espressif.com
|
|
307
|
-
require: private
|
|
308
|
-
rules:
|
|
309
|
-
- if: target in [esp32p4]
|
|
310
|
-
version: 2.4.*
|
|
311
|
-
- name: idf
|
|
312
|
-
require: private
|
|
313
|
-
version: '>=5.4'
|
|
314
|
-
- name: espressif/usb_host_uvc
|
|
315
|
-
registry_url: https://components.espressif.com
|
|
316
|
-
require: private
|
|
317
|
-
rules:
|
|
318
|
-
- if: target in [esp32p4, esp32s3, esp32s31]
|
|
319
|
-
version: 2.5.*
|
|
320
|
-
source:
|
|
321
|
-
registry_url: https://components.espressif.com/
|
|
322
|
-
type: service
|
|
323
|
-
targets:
|
|
324
|
-
- esp32p4
|
|
325
|
-
- esp32s3
|
|
326
|
-
- esp32c3
|
|
327
|
-
- esp32c5
|
|
328
|
-
- esp32c6
|
|
329
|
-
- esp32c61
|
|
330
|
-
- esp32s31
|
|
331
|
-
version: 2.5.0
|
|
332
|
-
espressif/esp_websocket_client:
|
|
333
|
-
component_hash: dc00233af846f3a744ada283a300e0d586040aadc3ee67361645ecdce4523672
|
|
334
|
-
dependencies:
|
|
335
|
-
- name: idf
|
|
336
|
-
require: private
|
|
337
|
-
version: '>=5.0'
|
|
338
|
-
source:
|
|
339
|
-
registry_url: https://components.espressif.com/
|
|
340
|
-
type: service
|
|
341
|
-
version: 1.8.0
|
|
342
143
|
espressif/i2c_bus:
|
|
343
144
|
component_hash: 483112c1619c54c38d0b734fb25f1678733267858a77b7af2f48cc7db6dbbd84
|
|
344
145
|
dependencies:
|
|
@@ -397,149 +198,21 @@ dependencies:
|
|
|
397
198
|
- esp32h4
|
|
398
199
|
- esp32s31
|
|
399
200
|
version: 0.21.0~2
|
|
400
|
-
espressif/usb:
|
|
401
|
-
component_hash: 99eee72ea224d9117d4c342442717a1f20bf8112e2ab5d7d7038b827874f4c92
|
|
402
|
-
dependencies:
|
|
403
|
-
- name: idf
|
|
404
|
-
require: private
|
|
405
|
-
version: '>=5.5.3'
|
|
406
|
-
source:
|
|
407
|
-
registry_url: https://components.espressif.com
|
|
408
|
-
type: service
|
|
409
|
-
targets:
|
|
410
|
-
- esp32s2
|
|
411
|
-
- esp32s3
|
|
412
|
-
- esp32s31
|
|
413
|
-
- esp32p4
|
|
414
|
-
- esp32h4
|
|
415
|
-
- linux
|
|
416
|
-
version: 1.6.0
|
|
417
|
-
espressif/usb_host_uvc:
|
|
418
|
-
component_hash: ecb2604b71cb5a65d64e5f441be54793b1838096043ad8cf1fa0d3012de18a9a
|
|
419
|
-
dependencies:
|
|
420
|
-
- name: idf
|
|
421
|
-
require: private
|
|
422
|
-
version: '>=5.0'
|
|
423
|
-
- name: espressif/usb
|
|
424
|
-
registry_url: https://components.espressif.com
|
|
425
|
-
require: public
|
|
426
|
-
rules:
|
|
427
|
-
- if: idf_version >=6.0
|
|
428
|
-
- if: target not in ["linux"]
|
|
429
|
-
version: ^1.0.0
|
|
430
|
-
source:
|
|
431
|
-
registry_url: https://components.espressif.com
|
|
432
|
-
type: service
|
|
433
|
-
targets:
|
|
434
|
-
- esp32s2
|
|
435
|
-
- esp32s3
|
|
436
|
-
- esp32p4
|
|
437
|
-
- esp32h4
|
|
438
|
-
- esp32s31
|
|
439
|
-
- linux
|
|
440
|
-
version: 2.5.2
|
|
441
|
-
espressif2022/bmi270:
|
|
442
|
-
component_hash: 6c6637680a233845d13961f23df39426a7fad9c02c6c289bf8facbb7f8624e22
|
|
443
|
-
dependencies:
|
|
444
|
-
- name: espressif/cmake_utilities
|
|
445
|
-
registry_url: https://components.espressif.com
|
|
446
|
-
require: private
|
|
447
|
-
version: 0.*
|
|
448
|
-
- name: espressif/i2c_bus
|
|
449
|
-
registry_url: https://components.espressif.com
|
|
450
|
-
require: private
|
|
451
|
-
version: 1.*
|
|
452
|
-
- name: idf
|
|
453
|
-
require: private
|
|
454
|
-
version: '>=4.4'
|
|
455
|
-
source:
|
|
456
|
-
registry_url: https://components.espressif.com/
|
|
457
|
-
type: service
|
|
458
|
-
version: 1.1.0~2
|
|
459
201
|
idf:
|
|
460
202
|
source:
|
|
461
203
|
type: idf
|
|
462
204
|
version: 6.2.0
|
|
463
|
-
mosaico_boot_splash:
|
|
464
|
-
component_hash: 75f0fe6ae0b23792a92a047d371fac351ae972cbb188632633b5b3c665424e1e
|
|
465
|
-
dependencies:
|
|
466
|
-
- name: idf
|
|
467
|
-
version: '>=6.2'
|
|
468
|
-
source:
|
|
469
|
-
git: https://github.com/esp-mosaico/esp-mosaico-bsp.git
|
|
470
|
-
path: components/mosaico_boot_splash
|
|
471
|
-
type: git
|
|
472
|
-
targets:
|
|
473
|
-
- esp32s31
|
|
474
|
-
version: a4bfb426afcf2911c01fdd9b6d6f024019f00f8f
|
|
475
|
-
mosaico_module_camera:
|
|
476
|
-
component_hash: ed3a838b50c512fa6d00aca444bae2bfa28574c094118435df93f3fc864d2945
|
|
477
|
-
dependencies:
|
|
478
|
-
- name: idf
|
|
479
|
-
version: '>=6.2'
|
|
480
|
-
- git: https://github.com/esp-mosaico/esp-mosaico-bsp.git
|
|
481
|
-
name: esp-mosaico-bsp
|
|
482
|
-
path: components/esp-mosaico-bsp
|
|
483
|
-
version: a4bfb426afcf2911c01fdd9b6d6f024019f00f8f
|
|
484
|
-
- git: https://github.com/esp-mosaico/esp-mosaico-bsp.git
|
|
485
|
-
name: mosaico_module_mgr
|
|
486
|
-
path: components/mosaico_module_mgr
|
|
487
|
-
public: true
|
|
488
|
-
version: a4bfb426afcf2911c01fdd9b6d6f024019f00f8f
|
|
489
|
-
- name: espressif/esp_video
|
|
490
|
-
public: true
|
|
491
|
-
version: ^2.4.1
|
|
492
|
-
source:
|
|
493
|
-
git: https://github.com/esp-mosaico/esp-mosaico-bsp.git
|
|
494
|
-
path: components/mosaico_module_camera
|
|
495
|
-
type: git
|
|
496
|
-
targets:
|
|
497
|
-
- esp32s31
|
|
498
|
-
version: a4bfb426afcf2911c01fdd9b6d6f024019f00f8f
|
|
499
|
-
mosaico_module_mgr:
|
|
500
|
-
component_hash: a8954bc6f445dfdfab66d63927718c5fcb1ea5c294db3a62f1ddc2103d8b03f9
|
|
501
|
-
dependencies:
|
|
502
|
-
- git: https://github.com/esp-mosaico/esp-mosaico-bsp.git
|
|
503
|
-
name: esp-mosaico-bsp
|
|
504
|
-
path: components/esp-mosaico-bsp
|
|
505
|
-
public: true
|
|
506
|
-
version: a4bfb426afcf2911c01fdd9b6d6f024019f00f8f
|
|
507
|
-
source:
|
|
508
|
-
git: https://github.com/esp-mosaico/esp-mosaico-bsp.git
|
|
509
|
-
path: components/mosaico_module_mgr
|
|
510
|
-
type: git
|
|
511
|
-
targets:
|
|
512
|
-
- esp32s31
|
|
513
|
-
version: a4bfb426afcf2911c01fdd9b6d6f024019f00f8f
|
|
514
|
-
tangyumei3535/bmm150_sensorapi:
|
|
515
|
-
component_hash: fe12d09c0ff06fabe9f4ae8fcc54b8b0ee59b936650bd26e8a3742e282fa4465
|
|
516
|
-
dependencies:
|
|
517
|
-
- name: espressif2022/bmi270
|
|
518
|
-
registry_url: https://components.espressif.com
|
|
519
|
-
require: private
|
|
520
|
-
version: '*'
|
|
521
|
-
- name: idf
|
|
522
|
-
require: private
|
|
523
|
-
version: '>=4.4'
|
|
524
|
-
source:
|
|
525
|
-
registry_url: https://components.espressif.com/
|
|
526
|
-
type: service
|
|
527
|
-
version: 1.0.0
|
|
528
205
|
direct_dependencies:
|
|
529
|
-
-
|
|
206
|
+
- espressif/bmm150
|
|
530
207
|
- espressif/cjson
|
|
531
208
|
- espressif/esp_codec_dev
|
|
532
|
-
- espressif/esp_h264
|
|
533
209
|
- espressif/esp_lcd_co5300
|
|
534
210
|
- espressif/esp_lcd_panel_io_additions
|
|
535
211
|
- espressif/esp_lcd_touch_cst9220
|
|
536
|
-
- espressif/esp_peer
|
|
537
212
|
- espressif/esp_tinyusb
|
|
538
|
-
- espressif/esp_websocket_client
|
|
539
213
|
- espressif/spi_nand_flash
|
|
540
214
|
- espressif/spi_nand_flash_fatfs
|
|
541
215
|
- idf
|
|
542
|
-
|
|
543
|
-
manifest_hash: a6fdc7e010a8befa9c59a7ccd4b58665dba6209368539d6ae58315d28881a0da
|
|
216
|
+
manifest_hash: 6bd0f1ec2268ac04b114c8a34ff3153feaeb87b0177c48dcbde522a2eb79a589
|
|
544
217
|
target: esp32s31
|
|
545
218
|
version: 3.0.0
|
|
@@ -26,6 +26,7 @@ set(GEA_BOARD_PARTIAL_PAD_Y 0)
|
|
|
26
26
|
set(GEA_BOARD_EXTRA_REQUIRES
|
|
27
27
|
esp_codec_dev
|
|
28
28
|
esp_driver_ledc
|
|
29
|
+
espressif__bmm150
|
|
29
30
|
espressif__esp_tinyusb
|
|
30
31
|
# nand_mount.cpp: FAT on the SPI NAND.
|
|
31
32
|
esp_driver_spi
|
|
@@ -72,6 +73,7 @@ set(GEA_BOARD_PLATFORM_SOURCES
|
|
|
72
73
|
"${CMAKE_CURRENT_LIST_DIR}/../../esp32/chip_bindings/touch/cst9217.cpp"
|
|
73
74
|
"${CMAKE_CURRENT_LIST_DIR}/../../esp32/chip_bindings/audio/es8311.cpp"
|
|
74
75
|
"${CMAKE_CURRENT_LIST_DIR}/../../esp32/chip_bindings/imu/bmi270.cpp"
|
|
76
|
+
"${CMAKE_CURRENT_LIST_DIR}/../../esp32/chip_bindings/magnetometer/bmm150.cpp"
|
|
75
77
|
# The BQ27220 fuel gauge has no binding yet; report "no battery reading"
|
|
76
78
|
# rather than a number nobody measured.
|
|
77
79
|
"${CMAKE_CURRENT_LIST_DIR}/../../esp32/power_absent.cpp"
|
|
@@ -79,7 +81,7 @@ set(GEA_BOARD_PLATFORM_SOURCES
|
|
|
79
81
|
|
|
80
82
|
# The CLI exposes the analyzed camera binding to both CMake passes and the
|
|
81
83
|
# component manager. Other Mosaico apps keep the camera backend absent.
|
|
82
|
-
if(GEA_EMBEDDED_CAPABILITY_CAMERA OR "$
|
|
84
|
+
if(GEA_EMBEDDED_CAPABILITY_CAMERA OR "${GEA_EMBEDDED_CAPABILITY_CAMERA}" STREQUAL "1")
|
|
83
85
|
list(APPEND GEA_BOARD_EXTRA_REQUIRES mosaico_module_camera esp_driver_jpeg)
|
|
84
86
|
list(APPEND GEA_BOARD_EXTRA_COMPILE_DEFINITIONS GEA_MOSAICO_CAMERA_ENABLED=1)
|
|
85
87
|
else()
|
|
@@ -93,6 +95,12 @@ include("${CMAKE_CURRENT_LIST_DIR}/../../esp32-s3-touch-amoled-1.8/main/CMakeLis
|
|
|
93
95
|
# std::move()s as redundant. Warnings, not errors, until the compiler runtime
|
|
94
96
|
# and emitter are fixed for this toolchain.
|
|
95
97
|
if(NOT CMAKE_BUILD_EARLY_EXPANSION)
|
|
98
|
+
# Match the official Mosaico classifier's compensated int16 readings,
|
|
99
|
+
# preserving overflow sentinels. PUBLIC keeps the ABI identical in the
|
|
100
|
+
# driver, board binding and native application consumers.
|
|
101
|
+
idf_component_get_property(_mosaico_bmm150_lib espressif__bmm150 COMPONENT_LIB)
|
|
102
|
+
target_compile_options(${_mosaico_bmm150_lib} PUBLIC -UBMM150_USE_FLOATING_POINT)
|
|
103
|
+
target_link_libraries(${COMPONENT_LIB} INTERFACE "-Wl,-u,gea_magnetometer_open")
|
|
96
104
|
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error=nonnull -Wno-error=redundant-move)
|
|
97
105
|
# Make the optional native side-link capability discoverable through its
|
|
98
106
|
# weak C API without allocating or driving pins until an app opts in.
|
|
@@ -381,12 +381,24 @@ namespace
|
|
|
381
381
|
const std::size_t bytes = static_cast<std::size_t>(partitionTableEnd - partitionTableStart);
|
|
382
382
|
if (bytes == 0 || bytes > kSector)
|
|
383
383
|
return;
|
|
384
|
-
|
|
384
|
+
// This comparison runs once at boot. Keep the flash-read buffer internal,
|
|
385
|
+
// but release it before the application needs its realtime working memory.
|
|
386
|
+
auto *flashed = static_cast<std::uint8_t *>(
|
|
387
|
+
heap_caps_malloc(bytes, MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT));
|
|
388
|
+
if (flashed == nullptr)
|
|
389
|
+
{
|
|
390
|
+
ESP_LOGW(kTag, "partition comparison skipped: no internal memory");
|
|
391
|
+
return;
|
|
392
|
+
}
|
|
385
393
|
if (esp_flash_read(nullptr, flashed, kTableOffset, bytes) != ESP_OK)
|
|
394
|
+
{
|
|
395
|
+
heap_caps_free(flashed);
|
|
386
396
|
return;
|
|
397
|
+
}
|
|
387
398
|
bool same = true;
|
|
388
399
|
for (std::size_t i = 0; i < bytes && same; ++i)
|
|
389
400
|
same = flashed[i] == partitionTableStart[i];
|
|
401
|
+
heap_caps_free(flashed);
|
|
390
402
|
if (same)
|
|
391
403
|
return;
|
|
392
404
|
std::uint32_t firstApp = 0, firstAppSize = 0, otadata = 0, otadataSize = 0;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"espressif/esp-sr": {
|
|
3
|
+
"when": [
|
|
4
|
+
"aec"
|
|
5
|
+
],
|
|
6
|
+
"dependency": {
|
|
7
|
+
"version": "==2.6.0"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"mosaico_module_camera": {
|
|
11
|
+
"when": [
|
|
12
|
+
"camera"
|
|
13
|
+
],
|
|
14
|
+
"dependency": {
|
|
15
|
+
"git": "https://github.com/esp-mosaico/esp-mosaico-bsp.git",
|
|
16
|
+
"version": "a4bfb426afcf2911c01fdd9b6d6f024019f00f8f",
|
|
17
|
+
"path": "components/mosaico_module_camera"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"espressif/esp_h264": {
|
|
21
|
+
"when": [
|
|
22
|
+
"network"
|
|
23
|
+
],
|
|
24
|
+
"dependency": {
|
|
25
|
+
"version": "==1.4.1"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"78/esp-opus": {
|
|
29
|
+
"when": [
|
|
30
|
+
"network"
|
|
31
|
+
],
|
|
32
|
+
"dependency": {
|
|
33
|
+
"version": "==1.0.5"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"espressif/esp_websocket_client": {
|
|
37
|
+
"when": [
|
|
38
|
+
"network"
|
|
39
|
+
],
|
|
40
|
+
"dependency": {
|
|
41
|
+
"version": "==1.8.0"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"espressif/esp_peer": {
|
|
45
|
+
"when": [
|
|
46
|
+
"network"
|
|
47
|
+
],
|
|
48
|
+
"dependency": {
|
|
49
|
+
"version": "==1.5.7"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,51 +1,24 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
# targets use (GEA_EMBEDDED_CAPABILITY_* comes from the gea CLI's app analysis).
|
|
4
|
-
#
|
|
5
|
-
# ESP-SR now ships S31 libraries. Keep them optional for voice apps using AEC;
|
|
6
|
-
# the portable Opus build below still replaces the unsupported audio codec.
|
|
1
|
+
# Always-required SDK dependencies. Optional SDKs are selected from
|
|
2
|
+
# gea-dependencies.json by the CLI capability analyzer.
|
|
7
3
|
dependencies:
|
|
8
|
-
espressif/
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
# Official module ownership, sensor autodetection and DVP stability patches.
|
|
13
|
-
# The pinned Git checkout also supplies its relative BSP/manager components.
|
|
14
|
-
mosaico_module_camera:
|
|
15
|
-
git: https://github.com/esp-mosaico/esp-mosaico-bsp.git
|
|
16
|
-
version: a4bfb426afcf2911c01fdd9b6d6f024019f00f8f
|
|
17
|
-
path: components/mosaico_module_camera
|
|
18
|
-
rules:
|
|
19
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_CAMERA == 1'
|
|
20
|
-
espressif/esp_lcd_co5300: '^2.0.3'
|
|
4
|
+
espressif/esp_lcd_co5300: '==2.2.0'
|
|
5
|
+
# The BSP asks for espressif/button '^4'; pinned to the locked release so a
|
|
6
|
+
# re-solve (a different app's capabilities) does not move it.
|
|
7
|
+
espressif/button: '==4.2.1'
|
|
21
8
|
# The board's touch controller is a CST9220 (Espressif's board definition,
|
|
22
9
|
# esp-brookesia esp_mosaico_v1_2). It may run the HYN212 protocol, which the
|
|
23
10
|
# CST9217 driver does not speak: touch then initializes and never reports.
|
|
24
|
-
espressif/esp_lcd_touch_cst9220: '
|
|
25
|
-
espressif/esp_codec_dev: '
|
|
11
|
+
espressif/esp_lcd_touch_cst9220: '==0.1.1'
|
|
12
|
+
espressif/esp_codec_dev: '==1.6.2'
|
|
13
|
+
# Existing-bus, per-device API supports the two onboard magnetic sensors.
|
|
14
|
+
espressif/bmm150: '1.1.0'
|
|
26
15
|
esp_lcd_panel_io_additions: '^1'
|
|
27
16
|
# board_power.cpp: the USB-C port is the S31's high-speed OTG controller, so
|
|
28
17
|
# the console is a TinyUSB CDC interface.
|
|
29
|
-
espressif/esp_tinyusb: '
|
|
18
|
+
espressif/esp_tinyusb: '==2.3.0'
|
|
30
19
|
# nand_mount.cpp: the board's SPI NAND as FAT storage at /nand.
|
|
31
|
-
espressif/spi_nand_flash: '
|
|
32
|
-
espressif/spi_nand_flash_fatfs: '
|
|
33
|
-
espressif/esp_h264:
|
|
34
|
-
version: '^1.4.1'
|
|
35
|
-
rules:
|
|
36
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
37
|
-
78/esp-opus:
|
|
38
|
-
version: '^1.0.5'
|
|
39
|
-
rules:
|
|
40
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
41
|
-
espressif/esp_websocket_client:
|
|
42
|
-
version: '^1.4'
|
|
43
|
-
rules:
|
|
44
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
45
|
-
espressif/esp_peer:
|
|
46
|
-
version: '^1.4'
|
|
47
|
-
rules:
|
|
48
|
-
- if: '$GEA_EMBEDDED_CAPABILITY_NETWORK == 1'
|
|
20
|
+
espressif/spi_nand_flash: '==1.4.4'
|
|
21
|
+
espressif/spi_nand_flash_fatfs: '==1.1.2'
|
|
49
22
|
idf:
|
|
50
23
|
# ESP32-S31 exists only in ESP-IDF master (6.2-dev), as a preview target.
|
|
51
24
|
version: '>=6.2.0-dev'
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
|
|
3
|
+
#include <array>
|
|
4
|
+
#include <cstdint>
|
|
5
|
+
|
|
3
6
|
#include "driver/gpio.h"
|
|
4
7
|
#include "driver/i2s_types.h"
|
|
5
8
|
#include "driver/spi_master.h"
|
|
@@ -149,6 +152,9 @@ public:
|
|
|
149
152
|
|
|
150
153
|
using Board = EspMosaicoV12;
|
|
151
154
|
|
|
155
|
+
// Physical positions used by the magnetic edge classifier: right, left.
|
|
156
|
+
inline constexpr std::array<std::uint8_t, 2> magnetometerAddresses{0x11, 0x12};
|
|
157
|
+
|
|
152
158
|
inline constexpr auto i2c = Board::i2c;
|
|
153
159
|
inline constexpr auto display = Board::display;
|
|
154
160
|
inline constexpr auto touch = Board::touch;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
// Override through the Mosaico board's package.json defines. Defaults match
|
|
4
|
+
// the H1 12 -> H2 12 and H1 11 <- H2 11 side-header link.
|
|
5
|
+
#ifndef GEA_MOSAICO_PEER_LEFT_TX_GPIO
|
|
6
|
+
#define GEA_MOSAICO_PEER_LEFT_TX_GPIO 15
|
|
7
|
+
#endif
|
|
8
|
+
#ifndef GEA_MOSAICO_PEER_LEFT_RX_GPIO
|
|
9
|
+
#define GEA_MOSAICO_PEER_LEFT_RX_GPIO 4
|
|
10
|
+
#endif
|
|
11
|
+
#ifndef GEA_MOSAICO_PEER_RIGHT_TX_GPIO
|
|
12
|
+
#define GEA_MOSAICO_PEER_RIGHT_TX_GPIO 5
|
|
13
|
+
#endif
|
|
14
|
+
#ifndef GEA_MOSAICO_PEER_RIGHT_RX_GPIO
|
|
15
|
+
#define GEA_MOSAICO_PEER_RIGHT_RX_GPIO 38
|
|
16
|
+
#endif
|
|
17
|
+
|
|
18
|
+
namespace gea::platform::board::peer {
|
|
19
|
+
struct PinPair {
|
|
20
|
+
int tx;
|
|
21
|
+
int rx;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
inline constexpr PinPair left{GEA_MOSAICO_PEER_LEFT_TX_GPIO,
|
|
25
|
+
GEA_MOSAICO_PEER_LEFT_RX_GPIO};
|
|
26
|
+
inline constexpr PinPair right{GEA_MOSAICO_PEER_RIGHT_TX_GPIO,
|
|
27
|
+
GEA_MOSAICO_PEER_RIGHT_RX_GPIO};
|
|
28
|
+
|
|
29
|
+
// Only unclaimed V1.2 expansion GPIOs. In this target GPIO0/1 are the unused
|
|
30
|
+
// expansion I2C bus; the onboard touch/sensors use GPIO56/3. Exclude the
|
|
31
|
+
// codec, display, NAND, power controls, USB/JTAG and UART0 console pins.
|
|
32
|
+
constexpr bool isExpansionGpio(int pin) {
|
|
33
|
+
switch (pin) {
|
|
34
|
+
case 0:
|
|
35
|
+
case 1:
|
|
36
|
+
case 4:
|
|
37
|
+
case 5:
|
|
38
|
+
case 10:
|
|
39
|
+
case 11:
|
|
40
|
+
case 12:
|
|
41
|
+
case 13:
|
|
42
|
+
case 14:
|
|
43
|
+
case 15:
|
|
44
|
+
case 16:
|
|
45
|
+
case 17:
|
|
46
|
+
case 18:
|
|
47
|
+
case 19:
|
|
48
|
+
case 38:
|
|
49
|
+
case 39:
|
|
50
|
+
case 46:
|
|
51
|
+
case 47:
|
|
52
|
+
case 48:
|
|
53
|
+
case 53:
|
|
54
|
+
case 55:
|
|
55
|
+
return true;
|
|
56
|
+
default:
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
static_assert(isExpansionGpio(left.tx) && isExpansionGpio(left.rx) &&
|
|
62
|
+
isExpansionGpio(right.tx) && isExpansionGpio(right.rx),
|
|
63
|
+
"Mosaico peer UART pins must be unclaimed expansion GPIOs");
|
|
64
|
+
static_assert(left.tx != left.rx && left.tx != right.tx &&
|
|
65
|
+
left.tx != right.rx && left.rx != right.tx &&
|
|
66
|
+
left.rx != right.rx && right.tx != right.rx,
|
|
67
|
+
"Mosaico peer UART requires four distinct GPIOs");
|
|
68
|
+
} // namespace gea::platform::board::peer
|