Merge branch 'fix/button-idf-v5' into 'master'

button: fix build on IDF version >= 5

See merge request ae_group/esp-iot-solution!586
This commit is contained in:
Zhou Li 2022-05-06 16:32:38 +08:00
commit 5e5c4aa34c
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,4 @@
idf_component_register(SRCS "button_adc.c" "button_gpio.c" "iot_button.c" idf_component_register(SRCS "button_adc.c" "button_gpio.c" "iot_button.c"
INCLUDE_DIRS include INCLUDE_DIRS include
PRIV_REQUIRES esp_adc_cal) REQUIRES driver
PRIV_REQUIRES esp_adc_cal esp_timer)

View file

@ -1,4 +1,4 @@
version: "2.0.0" version: "2.0.1"
description: GPIO and ADC button driver description: GPIO and ADC button driver
url: https://github.com/espressif/esp-iot-solution/tree/master/components/button url: https://github.com/espressif/esp-iot-solution/tree/master/components/button
dependencies: dependencies: