espressif / esp-iot-solution

Espressif IoT Library. IoT Device Drivers, Documentations And Solutions.
Apache License 2.0
1.88k stars 752 forks source link

更新button组件的ADC头文件到新版 #231

Closed greenhand520 closed 1 year ago

greenhand520 commented 1 year ago

使用CLion编写idf项目,引入button组件在build的时候控制台提示 legacy adc calibration driver is deprecated, please migrate to use esp_adc/adc_cali.h and esp_adc/adc_cali_scheme.h 看源码后发现引入的是过期的ADC头文件,去掉该组件后build通过。

greenhand520 commented 1 year ago

补充:使用CLion build时候的命令是 ~/Apps/JetBrains/CLion/bin/cmake/linux/bin/cmake --build ~/Workspace/Projects/CLionProjects/VisualInfo/build --target app -j 6

greenhand520 commented 1 year ago

menuconfig里关掉警告打勾即可。