Skip to content

Commit 3a3396d

Browse files
committed
Merge branch 'feat/size_unify_sections_v5.3' into 'release/v5.3'
feat(tools): unify sections in idf.py size reports for NG version (v5.3) See merge request espressif/esp-idf!34856
2 parents 5ce9a7f + 63c565d commit 3a3396d

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
@@ -32,6 +32,10 @@ if(DEFINED IDF_SIZE_MODE)
3232
list(APPEND IDF_SIZE_CMD ${IDF_SIZE_MODE})
3333
endif()
3434

35+
if(DEFINED ENV{ESP_IDF_SIZE_NG})
36+
list(APPEND IDF_SIZE_CMD "--unify")
37+
endif()
38+
3539
list(APPEND IDF_SIZE_CMD ${MAP_FILE})
3640

3741
execute_process(COMMAND ${IDF_SIZE_CMD}

0 commit comments

Comments
 (0)