mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 17:49:10 -04:00
Merge branch 'tools/add_idf_size_c6_support' into 'master'
tools: Add tests for idf_size.py esp32c6 output Closes IDF-6173 See merge request espressif/esp-idf!21644
This commit is contained in:
commit
a5b4e3bb3e
@ -6,9 +6,6 @@ DRAM:
|
||||
primary_address: 0x40800000
|
||||
length: 0x80000
|
||||
secondary_address: 0x40800000
|
||||
IRAM:
|
||||
primary_address: 0x40800000
|
||||
length: 0x80000
|
||||
CACHE_I:
|
||||
primary_address: 0x42000000
|
||||
length: 0x800000
|
||||
|
17226
tools/test_idf_size/app_esp32c6.map
Normal file
17226
tools/test_idf_size/app_esp32c6.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
17258
tools/test_idf_size/overflow_esp32c6.map
Normal file
17258
tools/test_idf_size/overflow_esp32c6.map
Normal file
File diff suppressed because one or more lines are too long
@ -141,6 +141,9 @@
|
||||
".rtc.data": {
|
||||
"type": "integer"
|
||||
},
|
||||
".rtc_noinit": {
|
||||
"type": "integer"
|
||||
},
|
||||
"flash_total": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
@ -137,6 +137,18 @@ csv_test() {
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --target esp32s3 --files app_esp32s3.map &>> output \
|
||||
&& echo -e "\n***\nRunning idf_size.py --archive_details for esp32s3..." &>> output \
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --target esp32s3 --archive_details libdriver.a app_esp32s3.map &>> output \
|
||||
&& echo -e "\n***\nRunning idf_size.py for esp32c6..." &>> output \
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --target esp32c6 app_esp32c6.map &>> output \
|
||||
&& echo -e "\n***\nRunning idf_size.py for esp32c6 with overflow..." &>> output \
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --target esp32c6 overflow_esp32c6.map &>> output \
|
||||
&& echo -e "\n***\nRunning idf_size.py for esp32c6 (target autodetected)..." &>> output \
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py app_esp32c6.map &>> output \
|
||||
&& echo -e "\n***\nRunning idf_size.py --archives for esp32c6..." &>> output \
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --target esp32c6 --archives app_esp32c6.map &>> output \
|
||||
&& echo -e "\n***\nRunning idf_size.py --files for esp32c6..." &>> output \
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --target esp32c6 --files app_esp32c6.map &>> output \
|
||||
&& echo -e "\n***\nRunning idf_size.py --archive_details for esp32c6..." &>> output \
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --target esp32c6 --archive_details libdriver.a app_esp32c6.map &>> output \
|
||||
&& echo -e "\n***\nProducing JSON output..." &>> output \
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --format=json app.map | python $IDF_PATH/tools/test_idf_size/json_validate_test.py &>> output \
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --format=json --archives app.map | python $IDF_PATH/tools/test_idf_size/json_validate_test.py &>> output \
|
||||
@ -150,6 +162,7 @@ csv_test() {
|
||||
&& json_test esp32c3 \
|
||||
&& json_test esp32h4 \
|
||||
&& json_test esp32s3 \
|
||||
&& json_test esp32c6 \
|
||||
&& echo -e "\n***\nProducing CSV output..." &>> output \
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --format=csv app.map &>> output \
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --format=csv --archives app.map &>> output \
|
||||
@ -163,6 +176,7 @@ csv_test() {
|
||||
&& csv_test esp32c3 \
|
||||
&& csv_test esp32h4 \
|
||||
&& csv_test esp32s3 \
|
||||
&& csv_test esp32c6 \
|
||||
&& echo -e "\n***\nProducing JSON file output..." &>> output \
|
||||
&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --format=json --output-file output.json app.map &>> output \
|
||||
&& echo -e "\n***\nProducing text file output..." &>> output \
|
||||
|
Loading…
x
Reference in New Issue
Block a user