change esp32h2 to iot button, update iot button version to 2.5.0

This commit is contained in:
liyashuai
2023-01-06 16:06:56 +08:00
parent 8d3e66d303
commit 95983b01c3
3 changed files with 4 additions and 4 deletions
@@ -1,3 +1,3 @@
## IDF Component Manager Manifest File
dependencies:
espressif/button: "=2.3.0"
espressif/button: "=2.5.0"
+1 -1
View File
@@ -17,7 +17,7 @@
#define LED_GPIO_PIN GPIO_NUM_8
#define LED_CHANNEL 0 /* RMT_CHANNEL_0 */
#define BUTTON_GPIO_PIN GPIO_NUM_0
#define BUTTON_GPIO_PIN GPIO_NUM_9
static const char *TAG = "device";
@@ -5,7 +5,7 @@ endif()
SET(device_type esp32h2_devkit_c)
SET(led_type ws2812)
SET(button_type hollow_button)
SET(button_type iot)
SET(extra_components_dirs_append "$ENV{ESP_MATTER_DEVICE_PATH}/../../led_driver"
"$ENV{ESP_MATTER_DEVICE_PATH}/../../button_driver/button")
"$ENV{ESP_MATTER_DEVICE_PATH}/../../button_driver/iot_button")