Skip to content

Commit

Permalink
Merge branch 'bugfix/hints_require' into 'master'
Browse files Browse the repository at this point in the history
hints: add a more complete description for component not found errors

See merge request espressif/esp-idf!21421
  • Loading branch information
ESP-Marius committed Dec 6, 2022
2 parents 2f8371f + b1b25ad commit b8e3896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/idf_py_actions/hints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@

-
re: "Failed to resolve component '(?!esp_ipc)(\\w+)'"
hint: "The component {} has been moved to the IDF component manager or has been removed and refactored into some other component.\nPlease look out for component in 'https://components.espressif.com' and add using 'idf.py add-dependency' command.\nRefer to the migration guide for more details."
hint: "The component {} could not be found. This could be because: component name was misspelled, the component was not added to the build, the component has been moved to the IDF component manager or has been removed and refactored into some other component.\nPlease look out for component in 'https://components.espressif.com' and add using 'idf.py add-dependency' command.\nRefer to the migration guide for more details about moved components.\nRefer to the build-system guide for more details about how components are found and included in the build."
match_to_output: True

-
Expand Down
2 changes: 1 addition & 1 deletion tools/test_idf_py/error_output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
'HINT: The header file task_snapshot.h is no longer included as part of freertos/task.h. Users need to include freertos/task_snapshot.h explicitly.'

"Failed to resolve component 'component'\n":
"HINT: The component component has been moved to the IDF component manager or has been removed and refactored into some other component.\nPlease look out for component in 'https://components.espressif.com' and add using 'idf.py add-dependency' command.\nRefer to the migration guide for more details."
"HINT: The component component could not be found. This could be because: component name was misspelled, the component was not added to the build, the component has been moved to the IDF component manager or has been removed and refactored into some other component.\nPlease look out for component in 'https://components.espressif.com' and add using 'idf.py add-dependency' command.\nRefer to the migration guide for more details about moved components.\nRefer to the build-system guide for more details about how components are found and included in the build."

'fatal error: tmp/atca_mbedtls_wrap.h: No such file or directory\n':
"HINT: To use CONFIG_ESP_TLS_USE_SECURE_ELEMENT option, please install `esp-cryptoauthlib` using 'idf.py add-dependency espressif/esp-cryptoauthlib'"
Expand Down

0 comments on commit b8e3896

Please sign in to comment.