mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
Merge branch 'esp32h2/change-to-iot-button' into 'main'
esp32h2: Change esp32h2 default to iot button See merge request app-frameworks/esp-matter!262
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
## IDF Component Manager Manifest File
|
## IDF Component Manager Manifest File
|
||||||
dependencies:
|
dependencies:
|
||||||
espressif/button: "=2.3.0"
|
espressif/button: "=2.5.0"
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#define LED_GPIO_PIN GPIO_NUM_8
|
#define LED_GPIO_PIN GPIO_NUM_8
|
||||||
#define LED_CHANNEL 0 /* RMT_CHANNEL_0 */
|
#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";
|
static const char *TAG = "device";
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ endif()
|
|||||||
|
|
||||||
SET(device_type esp32h2_devkit_c)
|
SET(device_type esp32h2_devkit_c)
|
||||||
SET(led_type ws2812)
|
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"
|
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")
|
||||||
|
|||||||
Reference in New Issue
Block a user