From e535376257c442594d199c89906230ac4df684c8 Mon Sep 17 00:00:00 2001 From: David Cermak Date: Thu, 7 Nov 2019 16:38:44 +0100 Subject: [PATCH] tools: updated generator of error codes to names to ignore tcpip_adapter compatibility types since the error codes are reused in esp-netif and in tcpip_adapter mapped to the same number. --- tools/gen_esp_err_to_name.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/gen_esp_err_to_name.py b/tools/gen_esp_err_to_name.py index 68a7d2112..9a56be150 100755 --- a/tools/gen_esp_err_to_name.py +++ b/tools/gen_esp_err_to_name.py @@ -40,7 +40,9 @@ import textwrap import functools # list files here which should not be parsed -ignore_files = ['components/mdns/test_afl_fuzz_host/esp32_compat.h'] +ignore_files = ['components/mdns/test_afl_fuzz_host/esp32_compat.h', # used only for host tests (redefines some err codes) + 'components/tcpip_adapter/include/tcpip_adapter_types.h' # tcpip_adapter in compatibility mode from 4.1 (errors reused in esp-netif) + ] # add directories here which should not be parsed ignore_dirs = ('examples')