ESP-VoCat: BMI270 motion feedback, capacitive slider (v1.2), and single-pad button (v1.0) (#1902)

* Add support bmi270

* Add support slider

* Add support touch for v1.0
This commit is contained in:
almirus
2026-04-08 05:12:56 +03:00
committed by GitHub
parent ab2cae5746
commit 36d742e4d7
3 changed files with 375 additions and 35 deletions

View File

@ -936,6 +936,14 @@ if(CONFIG_IDF_TARGET_ESP32S3)
list(APPEND SOURCES "boards/common/esp32_camera.cc")
endif()
set(MAIN_PRIV_REQUIRES_EXTRA "")
if(CONFIG_BOARD_TYPE_ESP_VOCAT)
list(APPEND MAIN_PRIV_REQUIRES_EXTRA
espressif__touch_slider_sensor
espressif__touch_button_sensor
)
endif()
idf_component_register(SRCS ${SOURCES}
EMBED_FILES ${LANG_SOUNDS} ${COMMON_SOUNDS}
INCLUDE_DIRS ${INCLUDE_DIRS}
@ -958,6 +966,7 @@ idf_component_register(SRCS ${SOURCES}
efuse
bt
fatfs
${MAIN_PRIV_REQUIRES_EXTRA}
)
# Use target_compile_definitions to define BOARD_TYPE, BOARD_NAME