@geastack/targets 0.1.77

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.
Files changed (348) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +83 -0
  3. package/package.json +50 -0
  4. package/targets/cmake/geatsc-generated-archive-build.mjs +614 -0
  5. package/targets/cmake/geatsc_generated_archive.cmake +116 -0
  6. package/targets/cmake/geatsc_generated_archive_build.cmake +50 -0
  7. package/targets/esp32/app_project.cmake +33 -0
  8. package/targets/esp32/apps/app_manager.cpp +188 -0
  9. package/targets/esp32/apps/app_manager.h +10 -0
  10. package/targets/esp32/chip_bindings/README.md +58 -0
  11. package/targets/esp32/chip_bindings/audio/es8311.cpp +556 -0
  12. package/targets/esp32/chip_bindings/displays/co5300.cpp +510 -0
  13. package/targets/esp32/chip_bindings/displays/co5300.h +47 -0
  14. package/targets/esp32/chip_bindings/displays/co5300_async_stream.inc +79 -0
  15. package/targets/esp32/chip_bindings/displays/qspi_panel.h +65 -0
  16. package/targets/esp32/chip_bindings/displays/sh8601.cpp +583 -0
  17. package/targets/esp32/chip_bindings/displays/sh8601.h +36 -0
  18. package/targets/esp32/chip_bindings/gps/lc76g.cpp +296 -0
  19. package/targets/esp32/chip_bindings/gps/lc76g.h +7 -0
  20. package/targets/esp32/chip_bindings/imu/bmi270.cpp +299 -0
  21. package/targets/esp32/chip_bindings/imu/bmi270_config.inl +439 -0
  22. package/targets/esp32/chip_bindings/imu/qmi8658.cpp +213 -0
  23. package/targets/esp32/chip_bindings/power/axp2101.cpp +185 -0
  24. package/targets/esp32/chip_bindings/touch/cst9217.cpp +229 -0
  25. package/targets/esp32/chip_bindings/touch/cst9217_controller.h +78 -0
  26. package/targets/esp32/chip_bindings/touch/ft3168.cpp +340 -0
  27. package/targets/esp32/chip_bindings/touch/ft3168_controller.h +103 -0
  28. package/targets/esp32/chip_bindings/touch/ft6336.cpp +310 -0
  29. package/targets/esp32/chip_bindings/touch/ft6336_controller.h +90 -0
  30. package/targets/esp32/components/gea_framework/CMakeLists.txt +62 -0
  31. package/targets/esp32/connectivity/ble_hid.cpp +2916 -0
  32. package/targets/esp32/connectivity/ble_hid.h +8 -0
  33. package/targets/esp32/connectivity/diagnostics_transport.cpp +523 -0
  34. package/targets/esp32/connectivity/diagnostics_transport_offline.cpp +108 -0
  35. package/targets/esp32/connectivity/wifi.cpp +615 -0
  36. package/targets/esp32/connectivity/wifi_debug_offline.cpp +37 -0
  37. package/targets/esp32/connectivity/wifi_task_stack.h +119 -0
  38. package/targets/esp32/display.cpp +6010 -0
  39. package/targets/esp32/display_headless.cpp +468 -0
  40. package/targets/esp32/gea/platform_random.h +11 -0
  41. package/targets/esp32/gea_framework.cmake +382 -0
  42. package/targets/esp32/gpio.cpp +229 -0
  43. package/targets/esp32/host_sources.cmake +35 -0
  44. package/targets/esp32/imu_absent.cpp +36 -0
  45. package/targets/esp32/ldfragments/gea_ui_state_external.lf +35 -0
  46. package/targets/esp32/memory_config.h +64 -0
  47. package/targets/esp32/power_absent.cpp +22 -0
  48. package/targets/esp32/sdk-patches/0001-esp_ptr_dma_capable-accept-PSRAM.patch +70 -0
  49. package/targets/esp32/sdk-patches/0002-gdma-access_ext_mem-spi_master.patch +59 -0
  50. package/targets/esp32/sdk-patches/README.md +127 -0
  51. package/targets/esp32/services/app_runner.cpp +248 -0
  52. package/targets/esp32/services/app_state.cpp +56 -0
  53. package/targets/esp32/services/audio_runtime_stub.cpp +86 -0
  54. package/targets/esp32/services/battery_service.cpp +31 -0
  55. package/targets/esp32/services/device_control.cpp +1896 -0
  56. package/targets/esp32/services/device_control.h +31 -0
  57. package/targets/esp32/services/frame_scheduler.cpp +1571 -0
  58. package/targets/esp32/services/heap.cpp +129 -0
  59. package/targets/esp32/services/memory.cpp +103 -0
  60. package/targets/esp32/services/ota.cpp +840 -0
  61. package/targets/esp32/services/ota_image.cpp +162 -0
  62. package/targets/esp32/services/ota_image.h +16 -0
  63. package/targets/esp32/services/storage_service.cpp +159 -0
  64. package/targets/esp32/touch_absent.cpp +44 -0
  65. package/targets/esp32-m5stack-m5paper/CMakeLists.txt +10 -0
  66. package/targets/esp32-m5stack-m5paper/README.md +55 -0
  67. package/targets/esp32-m5stack-m5paper/dependencies.lock +76 -0
  68. package/targets/esp32-m5stack-m5paper/main/CMakeLists.txt +46 -0
  69. package/targets/esp32-m5stack-m5paper/main/Kconfig.projbuild +10 -0
  70. package/targets/esp32-m5stack-m5paper/main/app_main.cpp +114 -0
  71. package/targets/esp32-m5stack-m5paper/main/audio_stub.cpp +27 -0
  72. package/targets/esp32-m5stack-m5paper/main/buttons.cpp +111 -0
  73. package/targets/esp32-m5stack-m5paper/main/display.cpp +1074 -0
  74. package/targets/esp32-m5stack-m5paper/main/i2c.cpp +36 -0
  75. package/targets/esp32-m5stack-m5paper/main/idf_component.yml +7 -0
  76. package/targets/esp32-m5stack-m5paper/main/imu_stub.cpp +20 -0
  77. package/targets/esp32-m5stack-m5paper/main/include/board.h +100 -0
  78. package/targets/esp32-m5stack-m5paper/main/include/buttons.h +8 -0
  79. package/targets/esp32-m5stack-m5paper/main/launcher_button.cpp +82 -0
  80. package/targets/esp32-m5stack-m5paper/main/m5paper_psram.lf +20 -0
  81. package/targets/esp32-m5stack-m5paper/main/power.cpp +73 -0
  82. package/targets/esp32-m5stack-m5paper/main/sdcard_mount.cpp +82 -0
  83. package/targets/esp32-m5stack-m5paper/main/touch.cpp +279 -0
  84. package/targets/esp32-m5stack-m5paper/partitions.csv +9 -0
  85. package/targets/esp32-m5stack-m5paper/sdkconfig.defaults +84 -0
  86. package/targets/esp32-p4-m5stack-tab5/CMakeLists.txt +10 -0
  87. package/targets/esp32-p4-m5stack-tab5/dependencies.lock +276 -0
  88. package/targets/esp32-p4-m5stack-tab5/main/CMakeLists.txt +586 -0
  89. package/targets/esp32-p4-m5stack-tab5/main/Kconfig.projbuild +12 -0
  90. package/targets/esp32-p4-m5stack-tab5/main/app_main.cpp +177 -0
  91. package/targets/esp32-p4-m5stack-tab5/main/camera.cpp +2025 -0
  92. package/targets/esp32-p4-m5stack-tab5/main/display.cpp +4033 -0
  93. package/targets/esp32-p4-m5stack-tab5/main/fatfs_ffconf.h +383 -0
  94. package/targets/esp32-p4-m5stack-tab5/main/i2c.cpp +39 -0
  95. package/targets/esp32-p4-m5stack-tab5/main/idf_component.yml +21 -0
  96. package/targets/esp32-p4-m5stack-tab5/main/include/board.h +130 -0
  97. package/targets/esp32-p4-m5stack-tab5/main/include/tab5_drivers.h +68 -0
  98. package/targets/esp32-p4-m5stack-tab5/main/include/wifi_config.h.example +5 -0
  99. package/targets/esp32-p4-m5stack-tab5/main/launcher_button.cpp +188 -0
  100. package/targets/esp32-p4-m5stack-tab5/main/power.cpp +22 -0
  101. package/targets/esp32-p4-m5stack-tab5/main/sdcard_mount.cpp +125 -0
  102. package/targets/esp32-p4-m5stack-tab5/main/tab5_audio.cpp +345 -0
  103. package/targets/esp32-p4-m5stack-tab5/main/tab5_drivers.cpp +871 -0
  104. package/targets/esp32-p4-m5stack-tab5/main/tab5_imu.cpp +246 -0
  105. package/targets/esp32-p4-m5stack-tab5/main/touch.cpp +206 -0
  106. package/targets/esp32-p4-m5stack-tab5/partitions.csv +12 -0
  107. package/targets/esp32-p4-m5stack-tab5/sdkconfig.defaults +128 -0
  108. package/targets/esp32-p4-waveshare-touch-lcd-3.5/CMakeLists.txt +19 -0
  109. package/targets/esp32-p4-waveshare-touch-lcd-3.5/component-patches/0001-esp_video-csi-raw-passthrough-p4-rev-lt-v3.patch +28 -0
  110. package/targets/esp32-p4-waveshare-touch-lcd-3.5/component-patches/README.md +45 -0
  111. package/targets/esp32-p4-waveshare-touch-lcd-3.5/component-patches/apply.sh +37 -0
  112. package/targets/esp32-p4-waveshare-touch-lcd-3.5/dependencies.lock +196 -0
  113. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/CMakeLists.txt +562 -0
  114. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/Kconfig.projbuild +12 -0
  115. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/app_main.cpp +166 -0
  116. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/camera.cpp +2105 -0
  117. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/display.cpp +1730 -0
  118. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/fatfs_ffconf.h +383 -0
  119. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/i2c.cpp +39 -0
  120. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/idf_component.yml +11 -0
  121. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/include/board.h +87 -0
  122. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/include/panel_native.h +59 -0
  123. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/include/wifi_config.h.example +5 -0
  124. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/launcher_button.cpp +191 -0
  125. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/power.cpp +15 -0
  126. package/targets/esp32-p4-waveshare-touch-lcd-3.5/main/touch.cpp +306 -0
  127. package/targets/esp32-p4-waveshare-touch-lcd-3.5/partitions.csv +13 -0
  128. package/targets/esp32-p4-waveshare-touch-lcd-3.5/patches/README.md +22 -0
  129. package/targets/esp32-p4-waveshare-touch-lcd-3.5/patches/espressif__esp_video-csi-bypass.patch +28 -0
  130. package/targets/esp32-p4-waveshare-touch-lcd-3.5/sdkconfig.defaults +109 -0
  131. package/targets/esp32-p4-waveshare-touch-lcd-3.5/tools/README-camera-capture.md +84 -0
  132. package/targets/esp32-p4-waveshare-touch-lcd-3.5/tools/capture-camera.py +369 -0
  133. package/targets/esp32-p4-waveshare-touch-lcd-7/CMakeLists.txt +10 -0
  134. package/targets/esp32-p4-waveshare-touch-lcd-7/dependencies.lock +258 -0
  135. package/targets/esp32-p4-waveshare-touch-lcd-7/main/CMakeLists.txt +577 -0
  136. package/targets/esp32-p4-waveshare-touch-lcd-7/main/Kconfig.projbuild +12 -0
  137. package/targets/esp32-p4-waveshare-touch-lcd-7/main/app_main.cpp +177 -0
  138. package/targets/esp32-p4-waveshare-touch-lcd-7/main/camera.cpp +1935 -0
  139. package/targets/esp32-p4-waveshare-touch-lcd-7/main/display.cpp +2832 -0
  140. package/targets/esp32-p4-waveshare-touch-lcd-7/main/fatfs_ffconf.h +383 -0
  141. package/targets/esp32-p4-waveshare-touch-lcd-7/main/i2c.cpp +39 -0
  142. package/targets/esp32-p4-waveshare-touch-lcd-7/main/idf_component.yml +23 -0
  143. package/targets/esp32-p4-waveshare-touch-lcd-7/main/include/board.h +68 -0
  144. package/targets/esp32-p4-waveshare-touch-lcd-7/main/include/wifi_config.h.example +5 -0
  145. package/targets/esp32-p4-waveshare-touch-lcd-7/main/launcher_button.cpp +191 -0
  146. package/targets/esp32-p4-waveshare-touch-lcd-7/main/power.cpp +15 -0
  147. package/targets/esp32-p4-waveshare-touch-lcd-7/main/sdcard_mount.cpp +125 -0
  148. package/targets/esp32-p4-waveshare-touch-lcd-7/main/touch.cpp +332 -0
  149. package/targets/esp32-p4-waveshare-touch-lcd-7/partitions.csv +12 -0
  150. package/targets/esp32-p4-waveshare-touch-lcd-7/sdkconfig.defaults +122 -0
  151. package/targets/esp32-p4-waveshare-touch-lcd-7/tools/README-camera-capture.md +84 -0
  152. package/targets/esp32-p4-waveshare-touch-lcd-7/tools/capture-camera.py +369 -0
  153. package/targets/esp32-s3-devkit-n16r8.json +31 -0
  154. package/targets/esp32-s3-elecrow-rotary-2.1/CMakeLists.txt +10 -0
  155. package/targets/esp32-s3-elecrow-rotary-2.1/dependencies.lock +40 -0
  156. package/targets/esp32-s3-elecrow-rotary-2.1/main/CMakeLists.txt +549 -0
  157. package/targets/esp32-s3-elecrow-rotary-2.1/main/Kconfig.projbuild +12 -0
  158. package/targets/esp32-s3-elecrow-rotary-2.1/main/app_main.cpp +187 -0
  159. package/targets/esp32-s3-elecrow-rotary-2.1/main/display_rgb.cpp +1338 -0
  160. package/targets/esp32-s3-elecrow-rotary-2.1/main/i2c.cpp +39 -0
  161. package/targets/esp32-s3-elecrow-rotary-2.1/main/idf_component.yml +5 -0
  162. package/targets/esp32-s3-elecrow-rotary-2.1/main/include/board.h +142 -0
  163. package/targets/esp32-s3-elecrow-rotary-2.1/main/include/pcf8574.h +16 -0
  164. package/targets/esp32-s3-elecrow-rotary-2.1/main/include/rotary_encoder.h +7 -0
  165. package/targets/esp32-s3-elecrow-rotary-2.1/main/launcher_button.cpp +191 -0
  166. package/targets/esp32-s3-elecrow-rotary-2.1/main/pcf8574.cpp +86 -0
  167. package/targets/esp32-s3-elecrow-rotary-2.1/main/platform_stubs.cpp +47 -0
  168. package/targets/esp32-s3-elecrow-rotary-2.1/main/rotary_encoder.cpp +135 -0
  169. package/targets/esp32-s3-elecrow-rotary-2.1/main/touch.cpp +250 -0
  170. package/targets/esp32-s3-elecrow-rotary-2.1/partitions.csv +8 -0
  171. package/targets/esp32-s3-elecrow-rotary-2.1/sdkconfig.defaults +116 -0
  172. package/targets/esp32-s3-epaper-1.54/CMakeLists.txt +10 -0
  173. package/targets/esp32-s3-epaper-1.54/dependencies.lock +76 -0
  174. package/targets/esp32-s3-epaper-1.54/main/CMakeLists.txt +691 -0
  175. package/targets/esp32-s3-epaper-1.54/main/Kconfig.projbuild +12 -0
  176. package/targets/esp32-s3-epaper-1.54/main/app_main.cpp +181 -0
  177. package/targets/esp32-s3-epaper-1.54/main/buttons.cpp +144 -0
  178. package/targets/esp32-s3-epaper-1.54/main/display.cpp +1281 -0
  179. package/targets/esp32-s3-epaper-1.54/main/fatfs_ffconf.h +377 -0
  180. package/targets/esp32-s3-epaper-1.54/main/i2c.cpp +39 -0
  181. package/targets/esp32-s3-epaper-1.54/main/idf_component.yml +7 -0
  182. package/targets/esp32-s3-epaper-1.54/main/imu_stub.cpp +21 -0
  183. package/targets/esp32-s3-epaper-1.54/main/include/board.h +119 -0
  184. package/targets/esp32-s3-epaper-1.54/main/include/buttons.h +9 -0
  185. package/targets/esp32-s3-epaper-1.54/main/include/wifi_config.h.example +5 -0
  186. package/targets/esp32-s3-epaper-1.54/main/launcher_button.cpp +191 -0
  187. package/targets/esp32-s3-epaper-1.54/main/power.cpp +15 -0
  188. package/targets/esp32-s3-epaper-1.54/main/sdcard_mount.cpp +89 -0
  189. package/targets/esp32-s3-epaper-1.54/main/touch.cpp +299 -0
  190. package/targets/esp32-s3-epaper-1.54/partitions.csv +8 -0
  191. package/targets/esp32-s3-epaper-1.54/sdkconfig.defaults +217 -0
  192. package/targets/esp32-s3-lilygo-t-display-s3-long/CMakeLists.txt +10 -0
  193. package/targets/esp32-s3-lilygo-t-display-s3-long/README.md +29 -0
  194. package/targets/esp32-s3-lilygo-t-display-s3-long/dependencies.lock +116 -0
  195. package/targets/esp32-s3-lilygo-t-display-s3-long/main/CMakeLists.txt +90 -0
  196. package/targets/esp32-s3-lilygo-t-display-s3-long/main/idf_component.yml +7 -0
  197. package/targets/esp32-s3-lilygo-t-display-s3-long/main/include/board.h +61 -0
  198. package/targets/esp32-s3-lilygo-t-display-s3-long/main/touch.cpp +299 -0
  199. package/targets/esp32-s3-lilygo-t-display-s3-long/partitions.csv +7 -0
  200. package/targets/esp32-s3-lilygo-t-display-s3-long/sdkconfig.defaults +50 -0
  201. package/targets/esp32-s3-lilygo-t5-epaper-4.7/CMakeLists.txt +12 -0
  202. package/targets/esp32-s3-lilygo-t5-epaper-4.7/components/epd_driver/CMakeLists.txt +17 -0
  203. package/targets/esp32-s3-lilygo-t5-epaper-4.7/components/epd_driver/ed047tc1.c +269 -0
  204. package/targets/esp32-s3-lilygo-t5-epaper-4.7/components/epd_driver/ed047tc1.h +142 -0
  205. package/targets/esp32-s3-lilygo-t5-epaper-4.7/components/epd_driver/epd_driver.c +1114 -0
  206. package/targets/esp32-s3-lilygo-t5-epaper-4.7/components/epd_driver/epd_driver.h +410 -0
  207. package/targets/esp32-s3-lilygo-t5-epaper-4.7/components/epd_driver/gea_epd.c +989 -0
  208. package/targets/esp32-s3-lilygo-t5-epaper-4.7/components/epd_driver/i2s_data_bus.c +489 -0
  209. package/targets/esp32-s3-lilygo-t5-epaper-4.7/components/epd_driver/i2s_data_bus.h +104 -0
  210. package/targets/esp32-s3-lilygo-t5-epaper-4.7/components/epd_driver/rmt_pulse.c +136 -0
  211. package/targets/esp32-s3-lilygo-t5-epaper-4.7/components/epd_driver/rmt_pulse.h +78 -0
  212. package/targets/esp32-s3-lilygo-t5-epaper-4.7/components/epd_driver/utilities.h +49 -0
  213. package/targets/esp32-s3-lilygo-t5-epaper-4.7/dependencies.lock +35 -0
  214. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/CMakeLists.txt +30 -0
  215. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/Kconfig.projbuild +10 -0
  216. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/app_main.cpp +95 -0
  217. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/audio_stub.cpp +27 -0
  218. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/buttons.cpp +40 -0
  219. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/display.cpp +627 -0
  220. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/i2c.cpp +36 -0
  221. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/idf_component.yml +4 -0
  222. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/imu_stub.cpp +20 -0
  223. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/include/board.h +85 -0
  224. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/include/buttons.h +8 -0
  225. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/launcher_button.cpp +82 -0
  226. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/power.cpp +36 -0
  227. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/sdcard_mount.cpp +90 -0
  228. package/targets/esp32-s3-lilygo-t5-epaper-4.7/main/touch.cpp +293 -0
  229. package/targets/esp32-s3-lilygo-t5-epaper-4.7/partitions.csv +9 -0
  230. package/targets/esp32-s3-lilygo-t5-epaper-4.7/sdkconfig.defaults +217 -0
  231. package/targets/esp32-s3-m5stack-papers3/CMakeLists.txt +13 -0
  232. package/targets/esp32-s3-m5stack-papers3/components/papers3_epd/CMakeLists.txt +5 -0
  233. package/targets/esp32-s3-m5stack-papers3/components/papers3_epd/include/papers3_epd.h +74 -0
  234. package/targets/esp32-s3-m5stack-papers3/components/papers3_epd/papers3_epd.c +671 -0
  235. package/targets/esp32-s3-m5stack-papers3/dependencies.lock +76 -0
  236. package/targets/esp32-s3-m5stack-papers3/main/CMakeLists.txt +64 -0
  237. package/targets/esp32-s3-m5stack-papers3/main/Kconfig.projbuild +10 -0
  238. package/targets/esp32-s3-m5stack-papers3/main/app_main.cpp +96 -0
  239. package/targets/esp32-s3-m5stack-papers3/main/audio_stub.cpp +27 -0
  240. package/targets/esp32-s3-m5stack-papers3/main/buttons.cpp +49 -0
  241. package/targets/esp32-s3-m5stack-papers3/main/display.cpp +706 -0
  242. package/targets/esp32-s3-m5stack-papers3/main/i2c.cpp +36 -0
  243. package/targets/esp32-s3-m5stack-papers3/main/idf_component.yml +14 -0
  244. package/targets/esp32-s3-m5stack-papers3/main/imu.cpp +351 -0
  245. package/targets/esp32-s3-m5stack-papers3/main/include/board.h +101 -0
  246. package/targets/esp32-s3-m5stack-papers3/main/include/buttons.h +8 -0
  247. package/targets/esp32-s3-m5stack-papers3/main/launcher_button.cpp +96 -0
  248. package/targets/esp32-s3-m5stack-papers3/main/power.cpp +102 -0
  249. package/targets/esp32-s3-m5stack-papers3/main/sdcard_mount.cpp +88 -0
  250. package/targets/esp32-s3-m5stack-papers3/main/touch.cpp +287 -0
  251. package/targets/esp32-s3-m5stack-papers3/partitions.csv +9 -0
  252. package/targets/esp32-s3-m5stack-papers3/sdkconfig.defaults +232 -0
  253. package/targets/esp32-s3-m5stack-sticks3/CMakeLists.txt +10 -0
  254. package/targets/esp32-s3-m5stack-sticks3/dependencies.lock +51 -0
  255. package/targets/esp32-s3-m5stack-sticks3/main/CMakeLists.txt +51 -0
  256. package/targets/esp32-s3-m5stack-sticks3/main/Kconfig.projbuild +12 -0
  257. package/targets/esp32-s3-m5stack-sticks3/main/app_main.cpp +130 -0
  258. package/targets/esp32-s3-m5stack-sticks3/main/buttons.cpp +101 -0
  259. package/targets/esp32-s3-m5stack-sticks3/main/display.cpp +1391 -0
  260. package/targets/esp32-s3-m5stack-sticks3/main/i2c.cpp +39 -0
  261. package/targets/esp32-s3-m5stack-sticks3/main/idf_component.yml +8 -0
  262. package/targets/esp32-s3-m5stack-sticks3/main/imu_stub.cpp +9 -0
  263. package/targets/esp32-s3-m5stack-sticks3/main/include/board.h +89 -0
  264. package/targets/esp32-s3-m5stack-sticks3/main/include/buttons.h +9 -0
  265. package/targets/esp32-s3-m5stack-sticks3/main/launcher_button.cpp +191 -0
  266. package/targets/esp32-s3-m5stack-sticks3/main/power.cpp +15 -0
  267. package/targets/esp32-s3-m5stack-sticks3/main/sdcard_mount.cpp +8 -0
  268. package/targets/esp32-s3-m5stack-sticks3/main/touch.cpp +65 -0
  269. package/targets/esp32-s3-m5stack-sticks3/partitions.csv +8 -0
  270. package/targets/esp32-s3-m5stack-sticks3/sdkconfig.defaults +130 -0
  271. package/targets/esp32-s3-touch-amoled-1.75/CMakeLists.txt +10 -0
  272. package/targets/esp32-s3-touch-amoled-1.75/dependencies.lock +130 -0
  273. package/targets/esp32-s3-touch-amoled-1.75/main/CMakeLists.txt +589 -0
  274. package/targets/esp32-s3-touch-amoled-1.75/main/Kconfig.projbuild +12 -0
  275. package/targets/esp32-s3-touch-amoled-1.75/main/app_main.cpp +153 -0
  276. package/targets/esp32-s3-touch-amoled-1.75/main/i2c.cpp +39 -0
  277. package/targets/esp32-s3-touch-amoled-1.75/main/idf_component.yml +9 -0
  278. package/targets/esp32-s3-touch-amoled-1.75/main/include/board.h +110 -0
  279. package/targets/esp32-s3-touch-amoled-1.75/main/include/wifi_config.h.example +5 -0
  280. package/targets/esp32-s3-touch-amoled-1.75/main/launcher_button.cpp +191 -0
  281. package/targets/esp32-s3-touch-amoled-1.75/main/touch.cpp +45 -0
  282. package/targets/esp32-s3-touch-amoled-1.75/partitions.csv +8 -0
  283. package/targets/esp32-s3-touch-amoled-1.75/sdkconfig.defaults +179 -0
  284. package/targets/esp32-s3-touch-amoled-1.8/CMakeLists.txt +10 -0
  285. package/targets/esp32-s3-touch-amoled-1.8/dependencies.lock +105 -0
  286. package/targets/esp32-s3-touch-amoled-1.8/main/CMakeLists.txt +768 -0
  287. package/targets/esp32-s3-touch-amoled-1.8/main/Kconfig.projbuild +12 -0
  288. package/targets/esp32-s3-touch-amoled-1.8/main/app_main.cpp +172 -0
  289. package/targets/esp32-s3-touch-amoled-1.8/main/i2c.cpp +39 -0
  290. package/targets/esp32-s3-touch-amoled-1.8/main/idf_component.yml +8 -0
  291. package/targets/esp32-s3-touch-amoled-1.8/main/include/board.h +83 -0
  292. package/targets/esp32-s3-touch-amoled-1.8/main/include/wifi_config.h.example +5 -0
  293. package/targets/esp32-s3-touch-amoled-1.8/main/launcher_button.cpp +191 -0
  294. package/targets/esp32-s3-touch-amoled-1.8/main/touch.cpp +41 -0
  295. package/targets/esp32-s3-touch-amoled-1.8/partitions.csv +8 -0
  296. package/targets/esp32-s3-touch-amoled-1.8/sdkconfig.defaults +179 -0
  297. package/targets/esp32-s3-touch-amoled-2.06/CMakeLists.txt +10 -0
  298. package/targets/esp32-s3-touch-amoled-2.06/dependencies.lock +64 -0
  299. package/targets/esp32-s3-touch-amoled-2.06/main/CMakeLists.txt +1121 -0
  300. package/targets/esp32-s3-touch-amoled-2.06/main/Kconfig.projbuild +12 -0
  301. package/targets/esp32-s3-touch-amoled-2.06/main/app_main.cpp +333 -0
  302. package/targets/esp32-s3-touch-amoled-2.06/main/i2c.cpp +39 -0
  303. package/targets/esp32-s3-touch-amoled-2.06/main/idf_component.yml +27 -0
  304. package/targets/esp32-s3-touch-amoled-2.06/main/include/board.h +114 -0
  305. package/targets/esp32-s3-touch-amoled-2.06/main/include/wifi_config.h.example +5 -0
  306. package/targets/esp32-s3-touch-amoled-2.06/main/launcher_button.cpp +199 -0
  307. package/targets/esp32-s3-touch-amoled-2.06/main/sdcard_mount.cpp +105 -0
  308. package/targets/esp32-s3-touch-amoled-2.06/main/touch.cpp +49 -0
  309. package/targets/esp32-s3-touch-amoled-2.06/partitions.csv +14 -0
  310. package/targets/esp32-s3-touch-amoled-2.06/sdkconfig.defaults +273 -0
  311. package/targets/esp32-s3-touch-amoled-2.41/CMakeLists.txt +10 -0
  312. package/targets/esp32-s3-touch-amoled-2.41/main/CMakeLists.txt +71 -0
  313. package/targets/esp32-s3-touch-amoled-2.41/main/Kconfig.projbuild +12 -0
  314. package/targets/esp32-s3-touch-amoled-2.41/main/idf_component.yml +27 -0
  315. package/targets/esp32-s3-touch-amoled-2.41/main/include/board.h +108 -0
  316. package/targets/esp32-s3-touch-amoled-2.41/main/include/wifi_config.h.example +5 -0
  317. package/targets/esp32-s3-touch-amoled-2.41/main/panel_reset.cpp +82 -0
  318. package/targets/esp32-s3-touch-amoled-2.41/main/touch.cpp +49 -0
  319. package/targets/esp32-s3-touch-amoled-2.41/partitions.csv +8 -0
  320. package/targets/esp32-s3-touch-amoled-2.41/sdkconfig.defaults +273 -0
  321. package/targets/rp2350-tufty-2350/CMakeLists.txt +348 -0
  322. package/targets/rp2350-tufty-2350/README.md +53 -0
  323. package/targets/rp2350-tufty-2350/boards/pimoroni_tufty2350.h +87 -0
  324. package/targets/rp2350-tufty-2350/main/bringup.cpp +187 -0
  325. package/targets/rp2350-tufty-2350/main/include/board.h +124 -0
  326. package/targets/rp2350-tufty-2350/main/rp2350_panel.cpp +428 -0
  327. package/targets/rp2350-tufty-2350/main/rp2350_panel.h +46 -0
  328. package/targets/rp2350-tufty-2350/main/st7789_parallel.pio +7 -0
  329. package/targets/rp2350-waveshare-touch-amoled-2.41/CMakeLists.txt +345 -0
  330. package/targets/rp2350-waveshare-touch-amoled-2.41/README.md +153 -0
  331. package/targets/rp2350-waveshare-touch-amoled-2.41/boards/waveshare_rp2350_touch_amoled_2_41.h +59 -0
  332. package/targets/rp2350-waveshare-touch-amoled-2.41/main/app.cpp +984 -0
  333. package/targets/rp2350-waveshare-touch-amoled-2.41/main/bringup.cpp +222 -0
  334. package/targets/rp2350-waveshare-touch-amoled-2.41/main/include/board.h +138 -0
  335. package/targets/rp2350-waveshare-touch-amoled-2.41/main/rp2350_gea_platform.cpp +2553 -0
  336. package/targets/rp2350-waveshare-touch-amoled-2.41/main/rp2350_gea_platform.h +18 -0
  337. package/targets/rp2350-waveshare-touch-amoled-2.41/main/rp2350_host_fetch_stub.cpp +64 -0
  338. package/targets/rp2350-waveshare-touch-amoled-2.41/main/rp2350_panel.cpp +677 -0
  339. package/targets/rp2350-waveshare-touch-amoled-2.41/main/rp2350_panel.h +48 -0
  340. package/targets/rp2350-waveshare-touch-amoled-2.41/main/vendor/waveshare_psram/rp_pico_alloc.c +354 -0
  341. package/targets/rp2350-waveshare-touch-amoled-2.41/main/vendor/waveshare_psram/rp_pico_alloc.h +56 -0
  342. package/targets/rp2350-waveshare-touch-amoled-2.41/main/vendor/waveshare_psram/tlsf/tlsf.c +1284 -0
  343. package/targets/rp2350-waveshare-touch-amoled-2.41/main/vendor/waveshare_psram/tlsf/tlsf.h +95 -0
  344. package/targets/rp2350-waveshare-touch-amoled-2.41/main/vendor/waveshare_psram/tlsf/tlsf_block_functions.h +123 -0
  345. package/targets/rp2350-waveshare-touch-amoled-2.41/main/vendor/waveshare_psram/tlsf/tlsf_common.h +127 -0
  346. package/targets/rp2350-waveshare-touch-amoled-2.41/tools/rp2350-scroll-bench.py +162 -0
  347. package/targets/rp2350-waveshare-touch-amoled-2.41/tools/rp2350-scroll-parity.py +198 -0
  348. package/targets.json +154 -0
@@ -0,0 +1,199 @@
1
+ #include "apps.h"
2
+ #include "apps/app_manager.h"
3
+ #include "input.h"
4
+ #include "memory_config.h"
5
+ #include "board.h"
6
+
7
+ #include <cstdint>
8
+
9
+ #include "driver/gpio.h"
10
+ #include "esp_err.h"
11
+ #if GEA_EMBEDDED_HEAP_DIAGNOSTICS_LOG
12
+ #include "esp_heap_caps.h"
13
+ #endif
14
+ #include "esp_log.h"
15
+ #include "freertos/FreeRTOS.h"
16
+ #include "freertos/task.h"
17
+
18
+ namespace gea::platform::esp32::apps {
19
+
20
+ namespace {
21
+
22
+ constexpr const char *kTag = "launcher_button";
23
+ constexpr gpio_num_t kGpio = gea::platform::board::launcherButton.pin;
24
+ constexpr int kActiveLevel = gea::platform::board::launcherButton.activeLevel;
25
+ constexpr int kDebounceMs = 50;
26
+ constexpr int kPollMs = 25;
27
+ constexpr int kLongPressMs = 800;
28
+ // ESP-IDF task stack sizes are bytes. The BOOT-button task only polls GPIO and
29
+ // posts launcher events; keep its internal-RAM footprint small and verify with
30
+ // the high-water probes below.
31
+ // Hardware high-water logging showed only ~788 bytes used from the old 4096-byte
32
+ // allocation. Keep over 2.5x that measured peak and return 2 KiB of scarce
33
+ // internal RAM to radio/display recovery paths.
34
+ constexpr std::uint32_t kTaskStackBytes = 2048;
35
+ constexpr UBaseType_t kTaskPriority = 10;
36
+
37
+ #if GEA_EMBEDDED_HEAP_DIAGNOSTICS_LOG
38
+ void logInternalHeap(const char *stage)
39
+ {
40
+ multi_heap_info_t info{};
41
+ heap_caps_get_info(&info, MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT);
42
+ ESP_LOGI(kTag,
43
+ "heap probe [%s] internal_free=%u internal_largest=%u internal_min=%u free_blocks=%u alloc_blocks=%u",
44
+ stage ? stage : "?",
45
+ static_cast<unsigned>(info.total_free_bytes),
46
+ static_cast<unsigned>(info.largest_free_block),
47
+ static_cast<unsigned>(info.minimum_free_bytes),
48
+ static_cast<unsigned>(info.free_blocks),
49
+ static_cast<unsigned>(info.allocated_blocks));
50
+ }
51
+ #endif
52
+
53
+ class LauncherButton {
54
+ public:
55
+ static LauncherButton &instance()
56
+ {
57
+ static LauncherButton button;
58
+ return button;
59
+ }
60
+
61
+ void start()
62
+ {
63
+ if (task_) return;
64
+ if (kGpio == GPIO_NUM_NC) {
65
+ ESP_LOGI(kTag, "no launcher button configured");
66
+ return;
67
+ }
68
+ if (!gea::framework::apps::AppManager::shouldEnableLauncherButton()) {
69
+ ESP_LOGW(kTag, "BOOT launcher button disabled by AppManager policy");
70
+ return;
71
+ }
72
+
73
+ // GPIO0 on ESP32-S3 is a strapping pin and may be left muxed to a
74
+ // non-GPIO function (USB-serial JTAG, RTC GPIO, etc.) by the bootloader
75
+ // or a prior reset cause. gpio_config alone does not detach those
76
+ // alternates, so the pin can read as floating even with pull_up_en set.
77
+ // Resetting first forces the pad back to a clean GPIO matrix entry.
78
+ gpio_reset_pin(kGpio);
79
+
80
+ gpio_config_t config = {
81
+ .pin_bit_mask = 1ULL << kGpio,
82
+ .mode = GPIO_MODE_INPUT,
83
+ .pull_up_en = GPIO_PULLUP_ENABLE,
84
+ .pull_down_en = GPIO_PULLDOWN_DISABLE,
85
+ .intr_type = GPIO_INTR_DISABLE,
86
+ };
87
+ const esp_err_t err = gpio_config(&config);
88
+ if (err != ESP_OK) {
89
+ ESP_LOGE(kTag, "Failed to configure BOOT launcher button on GPIO0: %s", esp_err_to_name(err));
90
+ return;
91
+ }
92
+
93
+ const BaseType_t ok = xTaskCreate(
94
+ &LauncherButton::taskMain,
95
+ "launcher_button",
96
+ kTaskStackBytes,
97
+ this,
98
+ kTaskPriority,
99
+ &task_);
100
+ if (ok != pdPASS) {
101
+ task_ = nullptr;
102
+ #if GEA_EMBEDDED_HEAP_DIAGNOSTICS_LOG
103
+ logInternalHeap("launcher_button:create_failed");
104
+ #endif
105
+ ESP_LOGE(kTag,
106
+ "Failed to start BOOT launcher button task (stack_bytes=%u)",
107
+ static_cast<unsigned>(kTaskStackBytes));
108
+ return;
109
+ }
110
+ ESP_LOGI(kTag,
111
+ "BOOT launcher button task started on GPIO%d (priority=%u, stack_bytes=%u, hwm=%u, level=%d)",
112
+ static_cast<int>(kGpio),
113
+ static_cast<unsigned>(kTaskPriority),
114
+ static_cast<unsigned>(kTaskStackBytes),
115
+ static_cast<unsigned>(uxTaskGetStackHighWaterMark(task_)),
116
+ gpio_get_level(kGpio));
117
+ #if GEA_EMBEDDED_HEAP_DIAGNOSTICS_LOG
118
+ logInternalHeap("launcher_button:after_start");
119
+ #endif
120
+ }
121
+
122
+ private:
123
+ LauncherButton() = default;
124
+
125
+ #if GEA_EMBEDDED_FRAME_SCHEDULER_PERF_LOG
126
+ void logStackProbe(const char *stage) const
127
+ {
128
+ ESP_LOGI(kTag,
129
+ "stack probe [%s] task=launcher_button stack_bytes=%u hwm=%u",
130
+ stage ? stage : "?",
131
+ static_cast<unsigned>(kTaskStackBytes),
132
+ static_cast<unsigned>(uxTaskGetStackHighWaterMark(nullptr)));
133
+ }
134
+ #endif
135
+
136
+ void run()
137
+ {
138
+ #if GEA_EMBEDDED_FRAME_SCHEDULER_PERF_LOG
139
+ logStackProbe("launcher_button:task_start");
140
+ #endif
141
+ while (true) {
142
+ if (gpio_get_level(kGpio) == kActiveLevel) {
143
+ vTaskDelay(pdMS_TO_TICKS(kDebounceMs));
144
+ if (gpio_get_level(kGpio) == kActiveLevel) {
145
+ ESP_LOGI(kTag, "BOOT pressed");
146
+ TickType_t pressedAt = xTaskGetTickCount();
147
+ bool longPressHandled = false;
148
+ while (gpio_get_level(kGpio) == kActiveLevel) {
149
+ if (!longPressHandled && xTaskGetTickCount() - pressedAt >= pdMS_TO_TICKS(kLongPressMs)) {
150
+ const bool returned = gea::framework::apps::AppManager::returnRunningAppToLauncher("BOOT button long press");
151
+ ESP_LOGI(kTag, "BOOT long press: returnRunningAppToLauncher=%d", returned ? 1 : 0);
152
+ if (!returned) {
153
+ const bool toggled = gea::framework::apps::AppManager::queueSettingsToggle();
154
+ ESP_LOGI(kTag, "BOOT long press: queueSettingsToggle=%d", toggled ? 1 : 0);
155
+ }
156
+ #if GEA_EMBEDDED_FRAME_SCHEDULER_PERF_LOG
157
+ logStackProbe("launcher_button:after_long_press");
158
+ #endif
159
+ longPressHandled = true;
160
+ }
161
+ vTaskDelay(pdMS_TO_TICKS(kPollMs));
162
+ }
163
+ if (!longPressHandled) {
164
+ const bool returned = gea::framework::apps::AppManager::returnRunningAppToLauncher("BOOT button press");
165
+ ESP_LOGI(kTag, "BOOT short press: returnRunningAppToLauncher=%d", returned ? 1 : 0);
166
+ if (!returned) {
167
+ // At the launcher (no sub-app to return to). Set the back-button
168
+ // flag so the launcher's rAF loop dismisses Settings if it's
169
+ // open. Polled via `Input.consumeBackButton()`.
170
+ gea::framework::input::pressBackButton();
171
+ ESP_LOGI(kTag, "BOOT short press: back-button flag set");
172
+ }
173
+ #if GEA_EMBEDDED_FRAME_SCHEDULER_PERF_LOG
174
+ logStackProbe("launcher_button:after_short_press");
175
+ #endif
176
+ }
177
+ }
178
+ }
179
+
180
+ vTaskDelay(pdMS_TO_TICKS(kPollMs));
181
+ }
182
+ }
183
+
184
+ static void taskMain(void *arg)
185
+ {
186
+ static_cast<LauncherButton *>(arg)->run();
187
+ }
188
+
189
+ TaskHandle_t task_ = nullptr;
190
+ };
191
+
192
+ } // namespace
193
+
194
+ void startLauncherButtonTask()
195
+ {
196
+ LauncherButton::instance().start();
197
+ }
198
+
199
+ } // namespace gea::platform::esp32::apps
@@ -0,0 +1,105 @@
1
+ // Mounts the onboard microSD (TF) card at /sdcard for the persistent file cache
2
+ // (the maps OSM tile cache, voice-notes recordings, GEADEV PUSH, ...). Without
3
+ // this the registered mount provider is null, gea::platform::storage::ensureMounted()
4
+ // always returns false, and every tile re-downloads instead of reading from SD.
5
+ //
6
+ // The ESP32-S3-Touch-AMOLED-2.06 wires its TF slot for SD_MMC (SDIO) 1-bit mode,
7
+ // NOT SPI — per Waveshare's own pin_config.h: SDMMC_CLK=GPIO2, SDMMC_CMD=GPIO1,
8
+ // SDMMC_DATA(D0)=GPIO3. The ESP32-S3 SDMMC host routes these through the GPIO
9
+ // matrix, so the non-default pins are fine. (An SPI-mode mount on these pins
10
+ // returns ESP_ERR_INVALID_RESPONSE — the card is wired for SDIO.)
11
+ //
12
+ // Lazy + idempotent: the card isn't touched until the first ensureMounted() (a
13
+ // tile/file op or GEADEV PUSH). A missing/unformatted card just logs and returns
14
+ // false, so the app transparently falls back to no caching.
15
+ #include "platform/file_cache.h"
16
+ #include "board.h"
17
+
18
+ #include <sys/stat.h>
19
+
20
+ #include "driver/sdmmc_host.h"
21
+ #include "esp_log.h"
22
+ #include "esp_vfs_fat.h"
23
+ #include "sdmmc_cmd.h"
24
+
25
+ namespace gea::platform::storage {
26
+
27
+ namespace {
28
+
29
+ constexpr char kTag[] = "sdcard";
30
+
31
+ // Waveshare ESP32-S3-Touch-AMOLED-2.06 TF slot (SD_MMC 1-bit, GPIO matrix).
32
+ constexpr gpio_num_t kPinClk = gea::platform::board::storage.clk;
33
+ constexpr gpio_num_t kPinCmd = gea::platform::board::storage.cmd;
34
+ constexpr gpio_num_t kPinD0 = gea::platform::board::storage.data0;
35
+
36
+ bool g_attempted = false;
37
+ bool g_mounted = false;
38
+ sdmmc_card_t *g_card = nullptr;
39
+
40
+ bool mountSdCard()
41
+ {
42
+ if (kPinClk == GPIO_NUM_NC || kPinCmd == GPIO_NUM_NC || kPinD0 == GPIO_NUM_NC) {
43
+ ESP_LOGI(kTag, "no microSD pins configured; storage cache disabled");
44
+ return false;
45
+ }
46
+ struct stat st {};
47
+ if (stat("/sdcard", &st) == 0) {
48
+ g_mounted = true;
49
+ return true;
50
+ }
51
+
52
+ esp_vfs_fat_sdmmc_mount_config_t mountConfig = {};
53
+ mountConfig.format_if_mount_failed = false;
54
+ mountConfig.max_files = 3;
55
+ mountConfig.allocation_unit_size = 16 * 1024;
56
+
57
+ sdmmc_host_t host = SDMMC_HOST_DEFAULT();
58
+ host.max_freq_khz = SDMMC_FREQ_HIGHSPEED; // 40 MHz; init still steps down to 400 kHz
59
+
60
+ sdmmc_slot_config_t slot = SDMMC_SLOT_CONFIG_DEFAULT();
61
+ slot.width = 1;
62
+ slot.clk = kPinClk;
63
+ slot.cmd = kPinCmd;
64
+ slot.d0 = kPinD0;
65
+ slot.d1 = GPIO_NUM_NC;
66
+ slot.d2 = GPIO_NUM_NC;
67
+ slot.d3 = GPIO_NUM_NC;
68
+ slot.d4 = GPIO_NUM_NC;
69
+ slot.d5 = GPIO_NUM_NC;
70
+ slot.d6 = GPIO_NUM_NC;
71
+ slot.d7 = GPIO_NUM_NC;
72
+ slot.cd = GPIO_NUM_NC;
73
+ slot.wp = GPIO_NUM_NC;
74
+ slot.flags |= SDMMC_SLOT_FLAG_INTERNAL_PULLUP;
75
+
76
+ ESP_LOGI(kTag, "mounting /sdcard SD_MMC 1-bit clk=%d cmd=%d d0=%d", static_cast<int>(slot.clk),
77
+ static_cast<int>(slot.cmd), static_cast<int>(slot.d0));
78
+
79
+ esp_err_t err = esp_vfs_fat_sdmmc_mount("/sdcard", &host, &slot, &mountConfig, &g_card);
80
+ if (err != ESP_OK) {
81
+ ESP_LOGE(kTag, "mount /sdcard failed: %s (card inserted + FAT-formatted?)", esp_err_to_name(err));
82
+ return false;
83
+ }
84
+
85
+ g_mounted = true;
86
+ ESP_LOGI(kTag, "mounted /sdcard (SD_MMC 1-bit)");
87
+ return true;
88
+ }
89
+
90
+ bool ensureStorageMounted()
91
+ {
92
+ if (g_attempted) return g_mounted;
93
+ g_attempted = true;
94
+ g_mounted = mountSdCard();
95
+ return g_mounted;
96
+ }
97
+
98
+ } // namespace
99
+
100
+ void installSdCardFileCache()
101
+ {
102
+ setMountProvider(&ensureStorageMounted);
103
+ }
104
+
105
+ } // namespace gea::platform::storage
@@ -0,0 +1,49 @@
1
+ #include "touch.h"
2
+ #include "chip_bindings/touch/ft3168_controller.h"
3
+
4
+ namespace {
5
+
6
+ gea::platform::esp32::chip_bindings::ft3168::TouchController &touchController() {
7
+ return gea::platform::esp32::chip_bindings::ft3168::TouchController::instance();
8
+ }
9
+
10
+ } // namespace
11
+
12
+ void gea::platform::touch::Touchscreen::setObserver(Observer observer) {
13
+ touchController().setObserver(observer);
14
+ }
15
+
16
+ // Strong override of the runtime's weak no-op default: routes the multi-finger
17
+ // observer to the FT3168 controller so a second contact (pointerId 1) reaches
18
+ // the app (maps pinch-zoom). Without this the runtime keeps the single-pointer
19
+ // path and pinch never sees the second finger.
20
+ void gea::platform::touch::Touchscreen::setPointerObserver(PointerObserver observer) {
21
+ touchController().setPointerObserver(observer);
22
+ }
23
+
24
+ bool gea::platform::touch::Touchscreen::init() {
25
+ return touchController().begin() == ESP_OK;
26
+ }
27
+
28
+ int gea::platform::touch::Touchscreen::read(int *x, int *y) {
29
+ gea::chips::ft3168::TouchSample sample;
30
+ const bool touching = touchController().read(sample);
31
+ if (x) *x = sample.x;
32
+ if (y) *y = sample.y;
33
+ return touching ? 1 : 0;
34
+ }
35
+
36
+ int gea::platform::touch::Touchscreen::readCached(int *x, int *y) {
37
+ const auto sample = touchController().cached();
38
+ if (x) *x = sample.x;
39
+ if (y) *y = sample.y;
40
+ return sample.touching ? 1 : 0;
41
+ }
42
+
43
+ void gea::platform::touch::Touchscreen::consumeLatestMove(int *x, int *y) {
44
+ touchController().consumeLatestMove(x, y);
45
+ }
46
+
47
+ void gea::platform::touch::Touchscreen::injectEvent(Phase phase, bool touching, int x, int y) {
48
+ touchController().injectEvent(phase, touching, x, y);
49
+ }
@@ -0,0 +1,14 @@
1
+ # Hand-edited (was: generated by npm run install-app). Re-running install-app
2
+ # WILL clobber the `storage` partition below — re-add it after any regenerate.
3
+ # Firmware OTA layout: two app slots (8MB each; the app is ~4.5MB) plus a
4
+ # `storage` SPIFFS partition on the 32MB flash for persistent app data
5
+ # (localStorage / config profiles). The stock plan gave each OTA slot ~16MB
6
+ # (running 64KB past the chip end) and left NO writable filesystem — so config
7
+ # fell back to the 24KB NVS blob, which fills up and loses profiles on reboot.
8
+ # Name, Type, SubType, Offset, Size
9
+ nvs, data, nvs, 0x9000, 0x6000
10
+ otadata, data, ota, 0xf000, 0x2000
11
+ phy_init, data, phy, 0x11000, 0x1000
12
+ ota_0, app, ota_0, 0x20000, 0x800000
13
+ ota_1, app, ota_1, 0x820000, 0x800000
14
+ storage, data, spiffs, 0x1020000, 0xFE0000
@@ -0,0 +1,273 @@
1
+ # Target: ESP32-S3
2
+ CONFIG_IDF_TARGET="esp32s3"
3
+
4
+ # Flash: 32 MB (Waveshare ESP32-S3-Touch-AMOLED-2.06)
5
+ CONFIG_ESPTOOLPY_FLASHSIZE_32MB=y
6
+
7
+ # Allow bootloader cache-mapped reads from 32-bit SPI flash addresses. This is
8
+ # required for bootable app partitions above 16 MB on the board's DIO flash.
9
+ CONFIG_IDF_EXPERIMENTAL_FEATURES=y
10
+ CONFIG_BOOTLOADER_CACHE_32BIT_ADDR_QUAD_FLASH=y
11
+
12
+ # Console over USB Serial/JTAG (native USB-C on this board)
13
+ CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
14
+
15
+ # esp_codec_dev should share the existing new-driver I2C bus with touch/PMIC.
16
+ # CONFIG_CODEC_I2C_BACKWARD_COMPATIBLE is not set
17
+
18
+ # Disable secondary console to avoid duplicate output
19
+ CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
20
+
21
+ # FreeRTOS tick rate — 1000 Hz gives 1 ms resolution for modMilliseconds
22
+ CONFIG_FREERTOS_HZ=1000
23
+
24
+ # Run the S3 at its full rated app CPU clock. Bouncing display workloads are
25
+ # otherwise CPU-bound before the 80 MHz QSPI flush finishes.
26
+ CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
27
+ CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ=240
28
+
29
+ # Main task stack for the app event loop. gea TSX frames can build deep
30
+ # reactive call chains before returning to the firmware loop.
31
+ CONFIG_ESP_MAIN_TASK_STACK_SIZE=32768
32
+ # The IPC task is per-core and its stack is internal DRAM, so 16384 cost 32 KiB of
33
+ # the scarcest memory on this board for tasks that only ever run ESP-IDF's own
34
+ # cross-core callbacks (intr_alloc is the single caller of esp_ipc_call_blocking
35
+ # in this firmware). IDF's default is 1024; 4096 keeps a 4x margin and hands ~24
36
+ # KiB back to the DMA-capable heap that the display staging and the WiFi RX
37
+ # frames were fighting over.
38
+ CONFIG_ESP_IPC_TASK_STACK_SIZE=4096
39
+
40
+ # Wi-Fi scan/connect callbacks run on ESP-IDF's system event task.
41
+ CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=4096
42
+
43
+ # Custom partition table with two OTA slots for wireless updates
44
+ CONFIG_PARTITION_TABLE_CUSTOM=y
45
+ CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
46
+
47
+ # On panic: print backtrace then reboot. (Halting was meant to "keep USB alive
48
+ # for reflashing", but a halted ESP32-S3 won't accept an esptool reset — it has
49
+ # to be recovered over JTAG. Rebooting allows the firmware to remain
50
+ # reachable for diagnosis and reflashing.)
51
+ CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT=y
52
+
53
+ # Enable octal PSRAM for framebuffer
54
+ CONFIG_SPIRAM=y
55
+ CONFIG_SPIRAM_MODE_OCT=y
56
+ CONFIG_SPIRAM_SPEED_80M=y
57
+ CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY=y
58
+ CONFIG_FREERTOS_TASK_CREATE_ALLOW_EXT_MEM=y
59
+ CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
60
+ CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0
61
+ # IDF defaults this to 32 KiB when SPIRAM malloc is enabled. That creates a
62
+ # second DMA/internal heap by allocating a chunk from internal DRAM and
63
+ # re-registering it, which splits the physical heap map into a middle green
64
+ # reserve island. Keep internal memory globally allocatable; app/display code
65
+ # already asks for MALLOC_CAP_INTERNAL/MALLOC_CAP_DMA when it truly needs it.
66
+ CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=0
67
+
68
+ # Wi-Fi/LwIP memory budget: prefer lower throughput over internal DRAM pressure.
69
+ CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM=8
70
+ CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM=16
71
+ CONFIG_ESP_WIFI_STATIC_TX_BUFFER_NUM=4
72
+ CONFIG_ESP_WIFI_CACHE_TX_BUFFER_NUM=2
73
+ CONFIG_ESP_WIFI_MGMT_SBUF_NUM=16
74
+ CONFIG_ESP_WIFI_RX_BA_WIN=8
75
+ # RX-MGMT buffers DYNAMIC, not static. A RAM-tight app (maps: full-screen canvas
76
+ # + tile cache) leaves esp_wifi_init only ~11 KB internal DMA, but its STATIC
77
+ # esf_buf pool (static_rx 3 + rx_mgmt 5 + cache_tx 2 = 10 DMA-capable internal
78
+ # buffers) overflows it → esf_buf_setup_static NO_MEM → WiFi never comes up (no
79
+ # map tiles). Dynamic mgmt buffers leave the static pool and, with
80
+ # CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y above, allocate on demand from PSRAM.
81
+ # MUST be set here, not via the runtime wifi_init_config: flipping rx_mgmt_buf_type
82
+ # at runtime against a static-configured build asserts inside esp_wifi_init
83
+ # (panic/reboot loop). Doing it in sdkconfig keeps WIFI_INIT_CONFIG_DEFAULT consistent.
84
+ # CONFIG_ESP_WIFI_STATIC_RX_MGMT_BUFFER is not set
85
+ CONFIG_ESP_WIFI_DYNAMIC_RX_MGMT_BUFFER=y
86
+ # CONFIG_ESP_WIFI_IRAM_OPT is not set
87
+ # Measured on this board, NOT worth it for OTA. Putting the WiFi RX path in IRAM
88
+ # does what it promises — the receive phase of a 3.8 MB image went from 277 KB/s
89
+ # to 488 KB/s, because RX keeps running through the cache-disabled windows that
90
+ # esp_ota_write opens. But the same live RX path then contends with the flash
91
+ # operation it is running alongside, and the write phase fell from 502 KB/s to
92
+ # 213 KB/s. End to end that is 116 KB/s against 133 KB/s, plus ~10 KB of internal
93
+ # DRAM. Left off deliberately; do not re-enable without re-measuring both phases.
94
+ # CONFIG_ESP_WIFI_RX_IRAM_OPT is not set
95
+ # Wi-Fi driver task: IDF 5.5/6.0 no longer exposes a public
96
+ # CONFIG_ESP_WIFI_TASK_STACK_SIZE knob. targets/esp32/connectivity/wifi.cpp
97
+ # wraps wifi_init_config_t.osi_funcs task creation and bumps the closed-source
98
+ # "wifi" task to 8192 bytes there.
99
+ CONFIG_LWIP_TCPIP_TASK_STACK_SIZE=4096
100
+
101
+ # Allow lwIP to buffer out-of-sequence TCP segments. Without them a single dropped
102
+ # segment forces go-back-N retransmission of everything in flight, which (with RTO
103
+ # backoff 1.5+3+6+...s) turns one packet loss into a ~15s stall on an otherwise-fast
104
+ # link. 0 means UNCAPPED here, which is also IDF's own default whenever
105
+ # CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP is set, because the pbufs then come from
106
+ # PSRAM and are only held while a gap actually exists. The previous cap of 8 was
107
+ # below the widened receive window, so a loss early in a 16-segment window could
108
+ # not be bridged: an OTA transfer was bimodal, either ~17 s or ~87 s for the same
109
+ # 3.9 MB image under identical conditions, with the slow mode sitting in RTO backoff.
110
+ CONFIG_LWIP_TCP_OOSEQ_MAX_PBUFS=0
111
+
112
+ # Advertise selective acknowledgements. An OTA receiver drops frames every time
113
+ # esp_ota_write disables the flash cache, and without SACK the sender cannot tell
114
+ # which single segment went missing — it retransmits the whole window and backs
115
+ # off. This is the other half of the bimodal-throughput fix above.
116
+ CONFIG_LWIP_TCP_SACK_OUT=y
117
+
118
+ # TCP receive window. The IDF default of 5760 is four segments: an OTA image
119
+ # arrives through a receiver that has to stop and write to flash, and with a
120
+ # four-segment window the sender spends most of the transfer blocked waiting for
121
+ # a window update instead of keeping the link busy. Sixteen segments give the
122
+ # flash writes something to overlap with. The buffering behind the window is
123
+ # lwIP pbufs and WiFi dynamic RX frames, both of which prefer PSRAM here
124
+ # (CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP above), so this does not spend internal
125
+ # DRAM. 23040 stays under 65535, so no window scaling is required.
126
+ CONFIG_LWIP_TCP_WND_DEFAULT=23040
127
+ CONFIG_LWIP_TCP_RECVMBOX_SIZE=16
128
+
129
+ # Firmware uses STA mode for OTA/log/mirror; trim unused Wi-Fi/LwIP features.
130
+ # CONFIG_ESP_WIFI_SOFTAP_SUPPORT is not set
131
+ # CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT is not set
132
+ # CONFIG_ESP_WIFI_ENABLE_WPA3_SAE is not set
133
+ # CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA is not set
134
+ # CONFIG_LWIP_IPV6 is not set
135
+ # CONFIG_LWIP_DHCPS is not set
136
+
137
+ # Bluetooth: NimBLE dual-role for the BLE control surface. This board serves
138
+ # HID + BLE-MIDI as a peripheral AND hosts remote peripherals as a central
139
+ # (XPPen ACK05 macro pad, WIDI/pedal BLE-MIDI adapter) — 4 simultaneous links:
140
+ # desktop (our HID), DAW (our MIDI), XPPen, pedal.
141
+ CONFIG_BT_ENABLED=y
142
+ CONFIG_BT_NIMBLE_ENABLED=y
143
+ CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL=y
144
+ CONFIG_BT_NIMBLE_MAX_CONNECTIONS=4
145
+ CONFIG_BT_NIMBLE_ROLE_BROADCASTER=y
146
+ CONFIG_BT_NIMBLE_ROLE_PERIPHERAL=y
147
+ CONFIG_BT_NIMBLE_ROLE_CENTRAL=y
148
+ CONFIG_BT_NIMBLE_ROLE_OBSERVER=y
149
+ CONFIG_BT_NIMBLE_SM_LEGACY=y
150
+ CONFIG_BT_NIMBLE_SM_SC=y
151
+ CONFIG_BT_NIMBLE_NVS_PERSIST=y
152
+ CONFIG_BT_NIMBLE_LOG_LEVEL_NONE=y
153
+
154
+ # Pin WiFi + BT controller + NimBLE host to core 1, leaving core 0 for the app
155
+ # frame/render task (GEA_EMBEDDED_APP_FRAME_TASK_CORE=0). IDF pins all of these
156
+ # to core 0 by default, where they contend with rendering: launching an app
157
+ # through the launcher dropped to ~22 fps because the per-chunk flush wait was
158
+ # preempted (19 ms vs 1.6 ms). Moving them to core 1 restores ~60 fps. Keep
159
+ # WiFi and BT on the SAME core for coexistence (ESP_COEX_SW_COEXIST_ENABLE).
160
+ CONFIG_ESP_WIFI_TASK_PINNED_TO_CORE_1=y
161
+ CONFIG_BT_CTRL_PINNED_TO_CORE_1=y
162
+ CONFIG_BT_NIMBLE_PINNED_TO_CORE_1=y
163
+
164
+ # WebRTC: mbedTLS DTLS + DTLS-SRTP for esp_peer
165
+ # Required by espressif/esp_peer (DTLS-SRTP handshake, DTLS cookies, MTU
166
+ # config). Off by default in IDF — turning them on costs ~30-40 kB of
167
+ # mbedTLS code but is non-negotiable for SRTP-protected RTP.
168
+ CONFIG_MBEDTLS_SSL_PROTO_DTLS=y
169
+ CONFIG_MBEDTLS_SSL_DTLS_SRTP=y
170
+ CONFIG_MBEDTLS_SSL_DTLS_HELLO_VERIFY=y
171
+ CONFIG_MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE=y
172
+ CONFIG_MBEDTLS_SSL_DTLS_CONNECTION_ID=y
173
+ # esp_peer generates a self-signed DTLS cert at runtime via
174
+ # mbedtls_x509write_crt_*; those live behind MBEDTLS_X509_CREATE_C, which
175
+ # ESP-IDF 6.0 flipped to default-off (was implicitly available in 5.5). Without
176
+ # it esp_peer fails to link (implicit-declaration of mbedtls_x509write_crt_*).
177
+ CONFIG_MBEDTLS_X509_CREATE_C=y
178
+ CONFIG_MBEDTLS_X509_CRT_WRITE_C=y
179
+ CONFIG_MBEDTLS_X509_CSR_WRITE_C=y
180
+
181
+ # Allocate mbedTLS memory from PSRAM instead of internal DRAM. IDF defaults to
182
+ # INTERNAL_MEM_ALLOC, but internal RAM is scarce on this board (app + 2-deep
183
+ # flush pipeline + WiFi driver). A TLS handshake's PSA signature verification
184
+ # and 16 KB input buffer then fail to allocate, surfacing as the misleading
185
+ # "esp-x509-crt-bundle: Certificate matched but signature verification failed"
186
+ # with PSA error -141 (PSA_ERROR_INSUFFICIENT_MEMORY) — a heap shortage, not a
187
+ # trust failure. PSRAM has megabytes free; the hardware MPI/crypto path copies
188
+ # operands into the peripheral so PSRAM-resident TLS buffers are fine.
189
+ # CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC is not set
190
+ CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC=y
191
+
192
+ # Run TLS crypto in SOFTWARE so it allocates from PSRAM (via EXTERNAL_MEM_ALLOC
193
+ # above) rather than DMA-capable internal SRAM. EXTERNAL_MEM_ALLOC moves the
194
+ # mbedTLS input/output buffers to PSRAM, but the ESP32-S3 SHA/MPI/AES hardware
195
+ # drivers bypass the mbedTLS allocator and demand MALLOC_CAP_DMA|MALLOC_CAP_INTERNAL
196
+ # scratch buffers (e.g. sha.c allocates a DMA buffer sized to the data being
197
+ # hashed). Once WiFi is up, internal 8-bit RAM is ~1 KB free, so those allocations
198
+ # fail mid-handshake — surfacing as mbedtls_ssl_setup -> MBEDTLS_ERR_SSL_ALLOC_FAILED
199
+ # (PSA -141) and ESP_ERR_HTTP_CONNECT on every HTTPS fetch. Software crypto keeps
200
+ # everything in PSRAM and is amply fast for the app's occasional small fetches.
201
+ # CONFIG_MBEDTLS_HARDWARE_SHA is not set
202
+ # CONFIG_MBEDTLS_HARDWARE_MPI is not set
203
+ # CONFIG_MBEDTLS_MPI_USE_INTERRUPT is not set
204
+ # CONFIG_MBEDTLS_HARDWARE_AES is not set
205
+
206
+ # Release optimization level. ESP-IDF defaults to -Og (DEBUG) which is
207
+ # friendly for debugging but leaves real perf on the table for compute-heavy
208
+ # code paths. -O2 (PERF) is the correct release setting.
209
+ CONFIG_COMPILER_OPTIMIZATION_PERF=y
210
+ # CONFIG_COMPILER_OPTIMIZATION_DEBUG is not set
211
+
212
+ # --- Development logging / diagnostics defaults ---
213
+ # VS Code launch tasks build per-app firmware under build/app-builds/<app>.
214
+ # Keep those dev builds chatty by default so serial monitor shows boot logs,
215
+ # gea.perf fps windows, frame scheduler diagnostics, and assertion failures.
216
+ # Production lockdown can still be enabled via menuconfig, but it is not the
217
+ # default for local flash/monitor iteration.
218
+ # CONFIG_GEA_EMBEDDED_PRODUCTION_LOCKDOWN is not set
219
+
220
+ # Runtime and bootloader logs visible on USB serial/JTAG.
221
+ # CONFIG_LOG_DEFAULT_LEVEL_NONE is not set
222
+ CONFIG_LOG_DEFAULT_LEVEL_INFO=y
223
+ CONFIG_LOG_DEFAULT_LEVEL=3
224
+ CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT=y
225
+ CONFIG_LOG_MAXIMUM_LEVEL=3
226
+
227
+ # Keep assertions enabled in local dev builds.
228
+ # CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE is not set
229
+ CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
230
+ CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL=2
231
+ # geatsc lowers a program's `throw`/`try`/`catch` to real C++ exceptions, and
232
+ # its runtime header (`gea_runtime.h`, e.g. the regex cache's std::regex_error
233
+ # translation) contains typed catch handlers unconditionally. ESP-IDF's default
234
+ # stubs __cxa_throw to abort and compiles with -fno-exceptions, under which
235
+ # gcc rejects those handlers -- so no geatsc-generated app compiles for this
236
+ # board without exception support. The emergency pool stays 0: the cost is
237
+ # unwind tables in flash and ~500 B of heap on the first throw, nothing at rest.
238
+ CONFIG_COMPILER_CXX_EXCEPTIONS=y
239
+ CONFIG_COMPILER_CXX_EXCEPTIONS_EMG_POOL_SIZE=0
240
+
241
+ # Keep early boot output visible too.
242
+ # CONFIG_BOOTLOADER_LOG_LEVEL_NONE is not set
243
+ CONFIG_BOOTLOADER_LOG_LEVEL_INFO=y
244
+ CONFIG_BOOTLOADER_LOG_LEVEL=3
245
+
246
+ # Diagnostic allocation attribution. Keep standalone heap tracing available for
247
+ # app-init fragmentation investigations; trace records are placed in PSRAM by
248
+ # the caller, and tracing remains idle unless explicitly started.
249
+ # Heap tracing costs about a kilobyte of IRAM (1,067 bytes measured on
250
+ # esp32-s3-touch-amoled-2.06) and puts a hook on the allocator's hot path. On the
251
+ # S3 that IRAM is not free space: the linker sizes .dram0.dummy to whatever IRAM
252
+ # the image used, so every byte of .iram0.text is a byte the internal heap never
253
+ # gets -- and the internal heap is what DMA, USB host enumeration and aligned
254
+ # coefficient banks come out of. The framework's only users, the display and
255
+ # AXP2101 init traces, are already gated on GEA_EMBEDDED_HEAP_DIAGNOSTICS_LOG,
256
+ # which defaults to 0. So nothing traced by default and every app paid for it.
257
+ # Turn this and that macro on together when you actually want a trace.
258
+ CONFIG_HEAP_TRACING_OFF=y
259
+ # CONFIG_HEAP_TRACING_STANDALONE is not set
260
+ # CONFIG_HEAP_TRACING_TOHOST is not set
261
+ # CONFIG_HEAP_TRACING is not set
262
+ # CONFIG_HEAP_TRACE_HASH_MAP is not set
263
+
264
+ # Instruction cache: the default 16 KB / 32-byte-line I-cache thrashes on
265
+ # frame loops that touch libm. Measured on bubble-grid: a Math.pow costs
266
+ # 25.4k cycles cold but 6.5k warm back-to-back, and Date.now 11.5k vs 4.1k --
267
+ # i.e. ~19k and ~7.4k cycles per frame are pure cold-flash refetch, because
268
+ # the rest of the frame evicts the routine before the next frame calls it.
269
+ # 32 KB holds more of the frame's working set. (S3's I-cache line size is
270
+ # 16B or 32B only -- there is no 64B option.) the gea CLI also enforces this
271
+ # on every build, because the generated sdkconfig is sticky and defaults only
272
+ # fill values that an existing build directory has not already frozen.
273
+ CONFIG_ESP32S3_INSTRUCTION_CACHE_32KB=y
@@ -0,0 +1,10 @@
1
+ cmake_minimum_required(VERSION 3.16)
2
+
3
+ set(EXTRA_COMPONENT_DIRS "${CMAKE_CURRENT_LIST_DIR}/../esp32/components")
4
+ include("${CMAKE_CURRENT_LIST_DIR}/../esp32/app_project.cmake")
5
+ set(GEA_EMBEDDED_APP "tic-tac-toe" CACHE STRING "Example app to build (must match a package.json gea.id)")
6
+ set(PROJECT_VER "${GEA_EMBEDDED_APP}" CACHE STRING "Firmware app id" FORCE)
7
+
8
+ include($ENV{IDF_PATH}/tools/cmake/project.cmake)
9
+ idf_build_set_property(MINIMAL_BUILD ON)
10
+ project(gea_embedded)