增加按钮驱动

This commit is contained in:
2026-07-30 21:01:38 +08:00
parent 06fc5714c4
commit d9cc6e1f3a
3 changed files with 137 additions and 2 deletions
+2 -2
View File
@@ -1,3 +1,3 @@
idf_component_register(SRCS "hello_world_main.c" "iic.c" "oled.c" "state.c" "tca9535.c" "moonshineOS_core/cli.c"
PRIV_REQUIRES spi_flash esp_driver_i2c esp_driver_uart log
idf_component_register(SRCS "hello_world_main.c" "iic.c" "oled.c" "state.c" "tca9535.c" "button.c" "moonshineOS_core/cli.c"
PRIV_REQUIRES spi_flash esp_driver_i2c esp_driver_uart log esp_timer
INCLUDE_DIRS "." "moonshineOS_core")