feat(ulp_touch): add example for lp_touch

This commit is contained in:
laokaiyao
2025-02-27 17:45:33 +08:00
parent ffb8adcf49
commit c9cc7bb216
17 changed files with 436 additions and 70 deletions
+5
View File
@@ -132,6 +132,11 @@ function(ulp_apply_default_sources ulp_app_name)
"${IDF_PATH}/components/ulp/lp_core/shared/ulp_lp_core_lp_vad_shared.c"
"${IDF_PATH}/components/ulp/lp_core/shared/ulp_lp_core_critical_section_shared.c")
if(CONFIG_SOC_TOUCH_SENSOR_SUPPORTED)
list(APPEND ULP_S_SOURCES
"${IDF_PATH}/components/ulp/lp_core/lp_core/lp_core_touch.c")
endif()
set(target_folder ${IDF_TARGET})
target_link_options(${ulp_app_name}