mirror of
https://github.com/espressif/esp-idf
synced 2025-03-12 02:29:10 -04:00
gen_esp_err_to_name.py includes files like components/lwip/include/apps/esp_ping.h as "apps/esp_ping.h" because all subdirectories of "include" are used. If "components/lwip/include/apps" is in the path of the compiler instead of "components/lwip/include" then include "apps/esp_ping.h" will fail. This fix allows to process lines like: '// gen_esp_err_to_name.py: some text "esp_ping.h" some text' in header files for overwriting the include.