build: remove IMU and button sources from CMakeLists.txt

Remove button and IMU source files from the build. Drop the 'driver'
component dependency which was only needed for GPIO/I2C used by the
removed peripherals.

Signed-off-by: Asklv <boironic@gmail.com>
This commit is contained in:
Asklv
2026-02-25 14:00:00 +08:00
parent cc20ae58d9
commit e9081fdb8f

View File

@@ -1,11 +1,6 @@
idf_component_register(
SRCS
"mimi.c"
"buttons/multi_button.c"
"buttons/button_driver.c"
"imu/I2C_Driver.c"
"imu/QMI8658.c"
"imu/imu_manager.c"
"bus/message_bus.c"
"wifi/wifi_manager.c"
"telegram/telegram_bot.c"
@@ -30,5 +25,5 @@ idf_component_register(
REQUIRES
nvs_flash esp_wifi esp_netif esp_http_client esp_http_server
esp_https_ota esp_event json spiffs console vfs app_update esp-tls
driver esp_timer
esp_timer
)