Fix paths to the new esp_common in the ESP error code generator

This commit is contained in:
Roland Dobai
2019-05-06 14:57:52 +02:00
parent 051b5c45c5
commit 20bd142077
2 changed files with 9 additions and 9 deletions

View File

@@ -46,7 +46,7 @@ ignore_files = ['components/mdns/test_afl_fuzz_host/esp32_compat.h']
ignore_dirs = ('examples')
# macros from here have higher priorities in case of collisions
priority_headers = ['components/esp32/include/esp_err.h']
priority_headers = ['components/esp_common/include/esp_err.h']
err_dict = collections.defaultdict(list) # identified errors are stored here; mapped by the error code
rev_err_dict = dict() # map of error string to error code
@@ -321,7 +321,7 @@ def main():
parser = argparse.ArgumentParser(description='ESP32 esp_err_to_name lookup generator for esp_err_t')
parser.add_argument('--c_input', help='Path to the esp_err_to_name.c.in template input.',
default=idf_path + '/components/esp_common/src/esp_err_to_name.c.in')
parser.add_argument('--c_output', help='Path to the esp_err_to_name.c output.', default=idf_path + '/components/esp32/esp_err_to_name.c')
parser.add_argument('--c_output', help='Path to the esp_err_to_name.c output.', default=idf_path + '/components/esp_common/src/esp_err_to_name.c')
parser.add_argument('--rst_output', help='Generate .rst output and save it into this file')
args = parser.parse_args()