Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

device_firmware\2_light_drivers 编译不通过 #6

Open
DesignBestC opened this issue Apr 14, 2023 · 3 comments
Open

device_firmware\2_light_drivers 编译不通过 #6

DesignBestC opened this issue Apr 14, 2023 · 3 comments

Comments

@DesignBestC
Copy link

显示错误如下:

CMake Error at C:/Espressif/frameworks/esp-idf-v5.0.1/tools/cmake/build.cmake:245 (message):
Failed to resolve component 'esp_adc_cal'.
Call Stack (most recent call first):
C:/Espressif/frameworks/esp-idf-v5.0.1/tools/cmake/build.cmake:287 (__build_resolve_and_add_req)
C:/Espressif/frameworks/esp-idf-v5.0.1/tools/cmake/build.cmake:574 (__build_expand_requirements)
C:/Espressif/frameworks/esp-idf-v5.0.1/tools/cmake/project.cmake:440 (idf_build_process)
CMakeLists.txt:14 (project)

请问是什么原因,代码没有改动过

@DesignBestC
Copy link
Author

问题已解决,espidf 5.0版本将esp_adc_cal库改名成了esp_adc库,components/button里还是用的esp_adc_cal头文件,把名字改了就行了。。。

@DesignBestC
Copy link
Author

各位,如果用了5.0的idf,需要对配套程序大改才能跑通,对新手极不友好,建议用4.3即可

@ZForce2020
Copy link

真相了,萌新拿5.2和4.4都各种问题,以为是环境要配才行,最后换到4.3终于自动过了,泪奔。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants