esp-idf/tools/test_idf_size
Djordje Nedic 5ee663d592 tools: Add CSV support to idf_size.py
This adds CSV support to idf_size.py and idf.py size actions and using the --format argument which accepts 'text', 'json' or 'csv' as input.

idf_size.py --json argument is deprecated but left to avoid a breaking change.

For idf.py size actions OUTPUT_JSON environment variable set at configuration time is overriden at target build time if --format is used.

Additionally, this commit refactors big parts of code, unified usage of json_dict and manually generated dictionaries for textual output and improves code quality in many parts.
2022-08-26 15:34:21 +02:00
..
app.map
app2.map
app_esp32c3.map
app_esp32h2.map
app_esp32s2.map
app_esp32s3.map
bootloader.map
bootloader_esp32s2.map
expected_output
expected_output.csv
expected_output.json
expected_output.txt
json_validate_test.py
mem_test.py
overflow.map
overflow_esp32c3.map
overflow_esp32s2.map
overflow_esp32s3.map
size_schema.json
test.sh
test_idf_size.py