Skip to content

Commit 85a7423

Browse files
committed
Merge branch 'feat/size_unify_sections_v5.4' into 'release/v5.4'
feat(tools): unify sections in idf.py size reports for NG version (v5.4) See merge request espressif/esp-idf!34855
2 parents 6932df2 + 67039c5 commit 85a7423

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/cmake/run_size_tool.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ if(DEFINED ENV{SIZE_DIFF_FILE})
3636
list(APPEND IDF_SIZE_CMD "--diff=$ENV{SIZE_DIFF_FILE}")
3737
endif()
3838

39+
if(DEFINED ENV{ESP_IDF_SIZE_NG})
40+
list(APPEND IDF_SIZE_CMD "--unify")
41+
endif()
42+
3943
list(APPEND IDF_SIZE_CMD ${MAP_FILE})
4044

4145
execute_process(COMMAND ${IDF_SIZE_CMD}

0 commit comments

Comments
 (0)