mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
idf.py hints: add build error hints when legacy adc calibration driver is used
This commit is contained in:
parent
677793c28f
commit
d792b49804
@ -70,6 +70,10 @@
|
||||
re: "fatal error: trax.h: No such file or directory"
|
||||
hint: "The Trax API (functions/types/macros prefixed with 'trax_') has been made into a private API. If users still require usage of the Trax API (though this is not recommended), it can be included via '#include \"esp_private/trax.h\"'."
|
||||
|
||||
-
|
||||
re: "fatal error: esp_adc_cal.h: No such file or directory"
|
||||
hint: "``esp_adc_cal`` component is no longer supported. New adc calibration driver is in ``esp_adc``. Legacy adc calibration driver has been moved into ``esp_adc`` component. To use legacy ``esp_adc_cal`` driver APIs, you should add ``esp_adc`` component to the list of component requirements in CMakeLists.txt. For more information run 'idf.py docs -sp migration-guides/release-5.x/peripherals.html'."
|
||||
|
||||
-
|
||||
re: "fatal error: [\\w/]+\\.h: No such file or directory"
|
||||
hint: "Please check if you've specified all component dependencies with 'idf_component_register(REQUIRES ...)'. If the component is not present then it should be added by the IDF Component Manager. For more information run 'idf.py docs -sp api-guides/build-system.html'.\nAlso, please check if the header file has been removed, renamed or relocated - refer to the migration guide for more information."
|
||||
|
Loading…
Reference in New Issue
Block a user