tools: fix bug with idf_size argument archive_details

pull/7868/head
simon.chupin 2021-10-20 15:40:10 +02:00
rodzic 9303bc00b2
commit 970132c94b
2 zmienionych plików z 202 dodań i 477 usunięć

Wyświetl plik

@ -1079,7 +1079,7 @@ class StructureForArchiveSymbols(object):
def get_archive_symbols(sections: Dict, archive: str, as_json: bool=False, sections_diff: Dict=None) -> str:
diff_en = sections_diff is not None
diff_en = bool(sections_diff)
current = StructureForArchiveSymbols.get(archive, sections)
reference = StructureForArchiveSymbols.get(archive, sections_diff) if sections_diff else {}

Wyświetl plik

@ -436,63 +436,42 @@ Used Flash size : 186524 bytes
Total image size: 283036 bytes (.bin may be padded larger)
Symbols within the archive: libdriver.a (Not all symbols may be reported)
.dram0.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
p_uart_obj 12 0 +12
s_rtc_isr_handle 4 0 +4
s_rtc_isr_handler_list 4 0 +4
Section total: 20 0 +20
Symbols from section: .dram0.bss
p_uart_obj(12) s_rtc_isr_handle(4) s_rtc_isr_handler_list(4)
Section total: 20
.dram0.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
periph_spinlock 8 0 +8
s_rtc_isr_handler_list_lock 8 0 +8
timer_spinlock 16 0 +16
uart_selectlock 8 0 +8
Section total: 40 0 +40
Symbols from section: .dram0.data
timer_spinlock(16) periph_spinlock(8) s_rtc_isr_handler_list_lock(8) uart_selectlock(8)
Section total: 40
.flash.rodata <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
TG 8 0 +8
__FUNCTION__$5441 24 0 +24
get_clk_en_mask 128 0 +128
get_rst_en_mask 128 0 +128
str1.4 249 0 +249
Section total: 537 0 +537
Symbols from section: .flash.rodata
str1.4(249) get_clk_en_mask(128) get_rst_en_mask(128) __FUNCTION__$5441(24) TG(8)
Section total: 537
.flash.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
get_clk_en_mask 211 0 +211
get_clk_en_reg 21 0 +21
get_rst_en_mask 157 0 +157
get_rst_en_reg 25 0 +25
is_wifi_clk_peripheral 28 0 +28
periph_module_enable 78 0 +78
rtc_gpio_force_hold_dis_all 65 0 +65
rtc_isr 86 0 +86
rtc_isr_ensure_installed 75 0 +75
rtc_isr_register 65 0 +65
timer_group_intr_enable 112 0 +112
uart_get_selectlock 12 0 +12
uart_set_select_notif_callback 26 0 +26
Section total: 961 0 +961
Symbols from section: .flash.text
get_clk_en_mask(211) get_rst_en_mask(157) timer_group_intr_enable(112) rtc_isr(86) periph_module_enable(78) rtc_isr_ensure_installed(75) rtc_gpio_force_hold_dis_all(65) rtc_isr_register(65) is_wifi_clk_peripheral(28) uart_set_select_notif_callback(26) get_rst_en_reg(25) get_clk_en_reg(21) uart_get_selectlock(12)
Section total: 961
.iram0.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.text
Section total: 0
.iram0.vectors <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.vectors
Section total: 0
.noinit <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .noinit
Section total: 0
.rtc.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.bss
Section total: 0
.rtc.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.data
Section total: 0
.rtc.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.text
Section total: 0
.rtc_noinit <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc_noinit
Section total: 0
***
Running idf_size.py diff with bootloader...
@ -3709,103 +3688,45 @@ Used Flash size : 93019 bytes
Total image size: 134106 bytes (.bin may be padded larger)
Symbols within the archive: libdriver.a (Not all symbols may be reported)
.dram0.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
p_timer_obj 16 0 +16
p_uart_obj 8 0 +8
s_rtc_isr_handle 4 0 +4
s_rtc_isr_handler_list 4 0 +4
Section total: 32 0 +32
Symbols from section: .dram0.bss
p_timer_obj(16) p_uart_obj(8) s_rtc_isr_handle(4) s_rtc_isr_handler_list(4)
Section total: 32
.dram0.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
periph_spinlock 8 0 +8
rtc_spinlock 8 0 +8
s_rtc_isr_handler_list_lock 8 0 +8
timer_spinlock 16 0 +16
uart_context 32 0 +32
uart_selectlock 8 0 +8
Section total: 80 0 +80
Symbols from section: .dram0.data
uart_context(32) timer_spinlock(16) periph_spinlock(8) rtc_spinlock(8) s_rtc_isr_handler_list_lock(8) uart_selectlock(8)
Section total: 80
.flash.rodata <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
__FUNCTION__$5699 24 0 +24
__FUNCTION__$6896 21 0 +21
__FUNCTION__$6901 21 0 +21
__FUNCTION__$6906 19 0 +19
__FUNCTION__$6911 19 0 +19
__FUNCTION__$6916 16 0 +16
__FUNCTION__$6921 16 0 +16
__FUNCTION__$6926 18 0 +18
__FUNCTION__$6932 18 0 +18
__FUNCTION__$6966 22 0 +22
__FUNCTION__$6971 23 0 +23
__FUNCTION__$7131 18 0 +18
__FUNCTION__$7196 27 0 +27
__FUNCTION__$7202 17 0 +17
get_clk_en_mask 136 0 +136
get_rst_en_mask 136 0 +136
timer_get_counter_value.str1.4 146 0 +146
uart_flush_input.str1.4 45 0 +45
uart_pattern_enqueue.str1.4 88 0 +88
uart_pattern_pop_pos.str1.4 18 0 +18
uart_set_stop_bits.str1.4 15 0 +15
uart_set_word_length.str1.4 31 0 +31
Section total: 894 0 +894
Symbols from section: .flash.rodata
timer_get_counter_value.str1.4(146) get_clk_en_mask(136) get_rst_en_mask(136) uart_pattern_enqueue.str1.4(88) uart_flush_input.str1.4(45) uart_set_word_length.str1.4(31) __FUNCTION__$7196(27) __FUNCTION__$5699(24) __FUNCTION__$6971(23) __FUNCTION__$6966(22) __FUNCTION__$6896(21) __FUNCTION__$6901(21) __FUNCTION__$6906(19) __FUNCTION__$6911(19) __FUNCTION__$6926(18) __FUNCTION__$6932(18) __FUNCTION__$7131(18) uart_pattern_pop_pos.str1.4(18) __FUNCTION__$7202(17) __FUNCTION__$6916(16) __FUNCTION__$6921(16) uart_set_stop_bits.str1.4(15)
Section total: 894
.flash.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
get_clk_en_mask 267 0 +267
get_clk_en_reg 21 0 +21
get_rst_en_mask 198 0 +198
get_rst_en_reg 25 0 +25
is_wifi_clk_peripheral 38 0 +38
periph_module_enable 112 0 +112
rtc_gpio_force_hold_dis_all 53 0 +53
rtc_isr 90 0 +90
rtc_isr_ensure_installed 79 0 +79
rtc_isr_register 62 0 +62
timer_group_intr_enable 184 0 +184
uart_disable_intr_mask 96 0 +96
uart_disable_rx_intr 18 0 +18
uart_enable_intr_mask 98 0 +98
uart_enable_rx_intr 18 0 +18
uart_flush_input 453 0 +453
uart_get_baudrate 82 0 +82
uart_get_bufferedlen 109 0 +109
uart_get_parity 69 0 +69
uart_get_selectlock 12 0 +12
uart_get_stop_bits 69 0 +69
uart_get_word_length 69 0 +69
uart_is_driver_installed 30 0 +30
uart_pattern_queue_update 74 0 +74
uart_set_baudrate 96 0 +96
uart_set_parity 82 0 +82
uart_set_select_notif_callback 23 0 +23
uart_set_stop_bits 128 0 +128
uart_set_word_length 144 0 +144
uart_wait_tx_done 417 0 +417
Section total: 3216 0 +3216
Symbols from section: .flash.text
uart_flush_input(453) uart_wait_tx_done(417) get_clk_en_mask(267) get_rst_en_mask(198) timer_group_intr_enable(184) uart_set_word_length(144) uart_set_stop_bits(128) periph_module_enable(112) uart_get_bufferedlen(109) uart_enable_intr_mask(98) uart_disable_intr_mask(96) uart_set_baudrate(96) rtc_isr(90) uart_get_baudrate(82) uart_set_parity(82) rtc_isr_ensure_installed(79) uart_pattern_queue_update(74) uart_get_parity(69) uart_get_stop_bits(69) uart_get_word_length(69) rtc_isr_register(62) rtc_gpio_force_hold_dis_all(53) is_wifi_clk_peripheral(38) uart_is_driver_installed(30) get_rst_en_reg(25) uart_set_select_notif_callback(23) get_clk_en_reg(21) uart_disable_rx_intr(18) uart_enable_rx_intr(18) uart_get_selectlock(12)
Section total: 3216
.iram0.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.text
Section total: 0
.iram0.text_end <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.text_end
Section total: 0
.iram0.vectors <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.vectors
Section total: 0
.noinit <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .noinit
Section total: 0
.rtc.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.bss
Section total: 0
.rtc.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.data
Section total: 0
.rtc.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.text
Section total: 0
.rtc_noinit <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc_noinit
Section total: 0
***
Running idf_size.py diff with another app (different target)...
@ -4063,95 +3984,54 @@ Used Flash size : 241564 bytes
Total image size: 283804 bytes (.bin may be padded larger)
Symbols within the archive: libdriver.a (Not all symbols may be reported)
.dram0.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
.p_uart_obj 8 0 +8
ref_counts 27 0 +27
Section total: 35 0 +35
Symbols from section: .dram0.bss
ref_counts(27) .p_uart_obj(8)
Section total: 35
.dram0.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
..g_spi_lock_main_flash_dev 4 0 +4
.uart_selectlock 8 0 +8
uart_context 32 0 +32
Section total: 44 0 +44
Symbols from section: .dram0.data
uart_context(32) .uart_selectlock(8) ..g_spi_lock_main_flash_dev(4)
Section total: 44
.flash.appdesc <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .flash.appdesc
Section total: 0
.flash.rodata <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
__FUNCTION__.7171 21 0 +21
__FUNCTION__.7176 21 0 +21
__FUNCTION__.7181 19 0 +19
__FUNCTION__.7186 19 0 +19
__FUNCTION__.7191 16 0 +16
__FUNCTION__.7196 16 0 +16
__FUNCTION__.7201 18 0 +18
__FUNCTION__.7206 18 0 +18
__FUNCTION__.7240 22 0 +22
__FUNCTION__.7412 18 0 +18
__FUNCTION__.7477 27 0 +27
__FUNCTION__.7485 39 0 +39
__FUNCTION__.7489 17 0 +17
__func__.4215 21 0 +21
periph_module_enable.str1.4 64 0 +64
uart_disable_intr_mask_and_return_pr 54 0 +54
uart_flush_input.str1.4 45 0 +45
uart_pattern_pop_pos.str1.4 49 0 +49
uart_set_stop_bits.str1.4 46 0 +46
uart_set_word_length.str1.4 46 0 +46
Section total: 596 0 +596
Symbols from section: .flash.rodata
periph_module_enable.str1.4(64) uart_disable_intr_mask_and_return_prev.str1.4(54) uart_pattern_pop_pos.str1.4(49) uart_set_stop_bits.str1.4(46) uart_set_word_length.str1.4(46) uart_flush_input.str1.4(45) __FUNCTION__.7485(39) __FUNCTION__.7477(27) __FUNCTION__.7240(22) __FUNCTION__.7171(21) __FUNCTION__.7176(21) __func__.4215(21) __FUNCTION__.7181(19) __FUNCTION__.7186(19) __FUNCTION__.7201(18) __FUNCTION__.7206(18) __FUNCTION__.7412(18) __FUNCTION__.7489(17) __FUNCTION__.7191(16) __FUNCTION__.7196(16)
Section total: 596
.flash.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
periph_ll_get_clk_en_reg 28 0 +28
periph_ll_get_rst_en_reg 28 0 +28
periph_module_enable 682 0 +682
uart_disable_intr_mask_and_return_pr 138 0 +138
uart_enable_intr_mask 122 0 +122
uart_flush_input 580 0 +580
uart_get_baudrate 116 0 +116
uart_get_bufferedlen 152 0 +152
uart_get_parity 86 0 +86
uart_get_selectlock 6 0 +6
uart_get_stop_bits 86 0 +86
uart_get_word_length 86 0 +86
uart_is_driver_installed 34 0 +34
uart_pattern_queue_update 80 0 +80
uart_set_baudrate 116 0 +116
uart_set_parity 116 0 +116
uart_set_select_notif_callback 30 0 +30
uart_set_stop_bits 178 0 +178
uart_set_word_length 178 0 +178
uart_wait_tx_done 484 0 +484
Section total: 3326 0 +3326
Symbols from section: .flash.text
periph_module_enable(682) uart_flush_input(580) uart_wait_tx_done(484) uart_set_stop_bits(178) uart_set_word_length(178) uart_get_bufferedlen(152) uart_disable_intr_mask_and_return_prev(138) uart_enable_intr_mask(122) uart_get_baudrate(116) uart_set_baudrate(116) uart_set_parity(116) uart_get_parity(86) uart_get_stop_bits(86) uart_get_word_length(86) uart_pattern_queue_update(80) uart_is_driver_installed(34) uart_set_select_notif_callback(30) periph_ll_get_clk_en_reg(28) periph_ll_get_rst_en_reg(28) uart_get_selectlock(6)
Section total: 3326
.flash_rodata_dummy <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .flash_rodata_dummy
Section total: 0
.iram0.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.bss
Section total: 0
.iram0.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.data
Section total: 0
.iram0.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.text
Section total: 0
.iram0.text_end <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.text_end
Section total: 0
.noinit <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .noinit
Section total: 0
.rtc.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.bss
Section total: 0
.rtc.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.data
Section total: 0
.rtc.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.text
Section total: 0
.rtc_noinit <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc_noinit
Section total: 0
***
Running idf_size.py for esp32c3...
@ -4410,125 +4290,57 @@ Used Flash size : 248080 bytes
Total image size: 293064 bytes (.bin may be padded larger)
Symbols within the archive: libdriver.a (Not all symbols may be reported)
.dram0.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
.p_uart_obj 8 0 +8
ref_counts 27 0 +27
Section total: 35 0 +35
Symbols from section: .dram0.bss
ref_counts(27) .p_uart_obj(8)
Section total: 35
.dram0.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
..g_spi_lock_main_flash_dev 4 0 +4
.uart_selectlock 8 0 +8
uart_context 32 0 +32
Section total: 44 0 +44
Symbols from section: .dram0.data
uart_context(32) .uart_selectlock(8) ..g_spi_lock_main_flash_dev(4)
Section total: 44
.flash.appdesc <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .flash.appdesc
Section total: 0
.flash.rodata <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
__FUNCTION__.6207 21 0 +21
__FUNCTION__.6211 22 0 +22
__FUNCTION__.6215 23 0 +23
__FUNCTION__.6219 24 0 +24
__FUNCTION__.6223 25 0 +25
__FUNCTION__.6227 24 0 +24
__FUNCTION__.6231 26 0 +26
__FUNCTION__.6235 25 0 +25
__FUNCTION__.6240 25 0 +25
__FUNCTION__.6246 25 0 +25
__FUNCTION__.6257 18 0 +18
__FUNCTION__.6261 19 0 +19
__FUNCTION__.7153 21 0 +21
__FUNCTION__.7158 21 0 +21
__FUNCTION__.7163 19 0 +19
__FUNCTION__.7168 19 0 +19
__FUNCTION__.7173 16 0 +16
__FUNCTION__.7178 16 0 +16
__FUNCTION__.7183 18 0 +18
__FUNCTION__.7188 18 0 +18
__FUNCTION__.7222 22 0 +22
__FUNCTION__.7394 18 0 +18
__FUNCTION__.7459 27 0 +27
__FUNCTION__.7467 39 0 +39
__FUNCTION__.7471 17 0 +17
__func__.4238 21 0 +21
gpio_input_enable.str1.4 62 0 +62
gpio_set_pull_mode.str1.4 93 0 +93
gpio_sleep_output_enable.str1.4 27 0 +27
periph_module_enable.str1.4 64 0 +64
uart_disable_intr_mask_and_return_pr 54 0 +54
uart_flush_input.str1.4 45 0 +45
uart_pattern_pop_pos.str1.4 49 0 +49
uart_set_stop_bits.str1.4 46 0 +46
uart_set_word_length.str1.4 46 0 +46
Section total: 1055 0 +1055
Symbols from section: .flash.rodata
gpio_set_pull_mode.str1.4(93) periph_module_enable.str1.4(64) gpio_input_enable.str1.4(62) uart_disable_intr_mask_and_return_prev.str1.4(54) uart_pattern_pop_pos.str1.4(49) uart_set_stop_bits.str1.4(46) uart_set_word_length.str1.4(46) uart_flush_input.str1.4(45) __FUNCTION__.7467(39) __FUNCTION__.7459(27) gpio_sleep_output_enable.str1.4(27) __FUNCTION__.6231(26) __FUNCTION__.6223(25) __FUNCTION__.6235(25) __FUNCTION__.6240(25) __FUNCTION__.6246(25) __FUNCTION__.6219(24) __FUNCTION__.6227(24) __FUNCTION__.6215(23) __FUNCTION__.6211(22) __FUNCTION__.7222(22) __FUNCTION__.6207(21) __FUNCTION__.7153(21) __FUNCTION__.7158(21) __func__.4238(21) __FUNCTION__.6261(19) __FUNCTION__.7163(19) __FUNCTION__.7168(19) __FUNCTION__.6257(18) __FUNCTION__.7183(18) __FUNCTION__.7188(18) __FUNCTION__.7394(18) __FUNCTION__.7471(17) __FUNCTION__.7173(16) __FUNCTION__.7178(16)
Section total: 1055
.flash.rodata_noload <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .flash.rodata_noload
Section total: 0
.flash.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
gpio_sleep_input_disable 124 0 +124
gpio_sleep_input_enable 126 0 +126
gpio_sleep_output_disable 124 0 +124
gpio_sleep_output_enable 126 0 +126
gpio_sleep_pulldown_dis 146 0 +146
gpio_sleep_pulldown_en 148 0 +148
gpio_sleep_pullup_dis 146 0 +146
gpio_sleep_pullup_en 148 0 +148
gpio_sleep_sel_dis 146 0 +146
gpio_sleep_sel_en 148 0 +148
gpio_sleep_set_direction 156 0 +156
gpio_sleep_set_pull_mode 318 0 +318
periph_ll_get_clk_en_reg 50 0 +50
periph_ll_get_rst_en_reg 50 0 +50
periph_module_enable 736 0 +736
uart_disable_intr_mask_and_return_pr 138 0 +138
uart_enable_intr_mask 122 0 +122
uart_flush_input 580 0 +580
uart_get_baudrate 116 0 +116
uart_get_bufferedlen 152 0 +152
uart_get_parity 86 0 +86
uart_get_selectlock 6 0 +6
uart_get_stop_bits 86 0 +86
uart_get_word_length 86 0 +86
uart_is_driver_installed 34 0 +34
uart_pattern_queue_update 80 0 +80
uart_set_baudrate 116 0 +116
uart_set_parity 116 0 +116
uart_set_select_notif_callback 30 0 +30
uart_set_stop_bits 178 0 +178
uart_set_word_length 178 0 +178
uart_wait_tx_done 484 0 +484
Section total: 5280 0 +5280
Symbols from section: .flash.text
periph_module_enable(736) uart_flush_input(580) uart_wait_tx_done(484) gpio_sleep_set_pull_mode(318) uart_set_stop_bits(178) uart_set_word_length(178) gpio_sleep_set_direction(156) uart_get_bufferedlen(152) gpio_sleep_pulldown_en(148) gpio_sleep_pullup_en(148) gpio_sleep_sel_en(148) gpio_sleep_pulldown_dis(146) gpio_sleep_pullup_dis(146) gpio_sleep_sel_dis(146) uart_disable_intr_mask_and_return_prev(138) gpio_sleep_input_enable(126) gpio_sleep_output_enable(126) gpio_sleep_input_disable(124) gpio_sleep_output_disable(124) uart_enable_intr_mask(122) uart_get_baudrate(116) uart_set_baudrate(116) uart_set_parity(116) uart_get_parity(86) uart_get_stop_bits(86) uart_get_word_length(86) uart_pattern_queue_update(80) periph_ll_get_clk_en_reg(50) periph_ll_get_rst_en_reg(50) uart_is_driver_installed(34) uart_set_select_notif_callback(30) uart_get_selectlock(6)
Section total: 5280
.flash_rodata_dummy <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .flash_rodata_dummy
Section total: 0
.iram0.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.bss
Section total: 0
.iram0.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.data
Section total: 0
.iram0.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.text
Section total: 0
.iram0.text_end <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.text_end
Section total: 0
.noinit <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .noinit
Section total: 0
.rtc.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.bss
Section total: 0
.rtc.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.data
Section total: 0
.rtc.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.text
Section total: 0
.rtc_noinit <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc_noinit
Section total: 0
***
Running idf_size.py for esp32s3...
@ -4902,102 +4714,60 @@ Used Flash size : 245923 bytes
Total image size: 301962 bytes (.bin may be padded larger)
Symbols within the archive: libdriver.a (Not all symbols may be reported)
.dram0.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
p_uart_obj 12 0 +12
ref_counts 37 0 +37
Section total: 49 0 +49
Symbols from section: .dram0.bss
ref_counts(37) p_uart_obj(12)
Section total: 49
.dram0.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
periph_spinlock 8 0 +8
uart_context 48 0 +48
uart_selectlock 8 0 +8
Section total: 64 0 +64
Symbols from section: .dram0.data
uart_context(48) periph_spinlock(8) uart_selectlock(8)
Section total: 64
.flash.appdesc <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .flash.appdesc
Section total: 0
.flash.rodata <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
__FUNCTION__$7737 21 0 +21
__FUNCTION__$7742 21 0 +21
__FUNCTION__$7747 19 0 +19
__FUNCTION__$7752 19 0 +19
__FUNCTION__$7757 16 0 +16
__FUNCTION__$7762 16 0 +16
__FUNCTION__$7767 18 0 +18
__FUNCTION__$7772 18 0 +18
__FUNCTION__$7806 22 0 +22
__FUNCTION__$7978 18 0 +18
__FUNCTION__$8043 27 0 +27
__FUNCTION__$8051 39 0 +39
__FUNCTION__$8055 17 0 +17
__func__$4997 21 0 +21
g_spi_lock_main_flash_dev 4 0 +4
periph_module_enable.str1.4 64 0 +64
uart_disable_intr_mask_and_return_pr 54 0 +54
uart_flush_input.str1.4 45 0 +45
uart_pattern_pop_pos.str1.4 49 0 +49
uart_set_stop_bits.str1.4 46 0 +46
uart_set_word_length.str1.4 46 0 +46
Section total: 600 0 +600
Symbols from section: .flash.rodata
periph_module_enable.str1.4(64) uart_disable_intr_mask_and_return_prev.str1.4(54) uart_pattern_pop_pos.str1.4(49) uart_set_stop_bits.str1.4(46) uart_set_word_length.str1.4(46) uart_flush_input.str1.4(45) __FUNCTION__$8051(39) __FUNCTION__$8043(27) __FUNCTION__$7806(22) __FUNCTION__$7737(21) __FUNCTION__$7742(21) __func__$4997(21) __FUNCTION__$7747(19) __FUNCTION__$7752(19) __FUNCTION__$7767(18) __FUNCTION__$7772(18) __FUNCTION__$7978(18) __FUNCTION__$8055(17) __FUNCTION__$7757(16) __FUNCTION__$7762(16) g_spi_lock_main_flash_dev(4)
Section total: 600
.flash.rodata_noload <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .flash.rodata_noload
Section total: 0
.flash.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
periph_ll_get_clk_en_reg 121 0 +121
periph_ll_get_rst_en_reg 125 0 +125
periph_module_enable 1131 0 +1131
uart_disable_intr_mask_and_return_pr 122 0 +122
uart_enable_intr_mask 100 0 +100
uart_flush_input 509 0 +509
uart_get_baudrate 88 0 +88
uart_get_bufferedlen 108 0 +108
uart_get_parity 68 0 +68
uart_get_selectlock 12 0 +12
uart_get_stop_bits 68 0 +68
uart_get_word_length 64 0 +64
uart_is_driver_installed 30 0 +30
uart_pattern_queue_update 74 0 +74
uart_set_baudrate 84 0 +84
uart_set_parity 88 0 +88
uart_set_select_notif_callback 23 0 +23
uart_set_stop_bits 130 0 +130
uart_set_word_length 130 0 +130
uart_wait_tx_done 393 0 +393
Section total: 3468 0 +3468
Symbols from section: .flash.text
periph_module_enable(1131) uart_flush_input(509) uart_wait_tx_done(393) uart_set_stop_bits(130) uart_set_word_length(130) periph_ll_get_rst_en_reg(125) uart_disable_intr_mask_and_return_prev(122) periph_ll_get_clk_en_reg(121) uart_get_bufferedlen(108) uart_enable_intr_mask(100) uart_get_baudrate(88) uart_set_parity(88) uart_set_baudrate(84) uart_pattern_queue_update(74) uart_get_parity(68) uart_get_stop_bits(68) uart_get_word_length(64) uart_is_driver_installed(30) uart_set_select_notif_callback(23) uart_get_selectlock(12)
Section total: 3468
.flash_rodata_dummy <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .flash_rodata_dummy
Section total: 0
.iram0.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.bss
Section total: 0
.iram0.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.data
Section total: 0
.iram0.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.text
Section total: 0
.iram0.text_end <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.text_end
Section total: 0
.iram0.vectors <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .iram0.vectors
Section total: 0
.noinit <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .noinit
Section total: 0
.rtc.bss <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.bss
Section total: 0
.rtc.data <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.data
Section total: 0
.rtc.text <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc.text
Section total: 0
.rtc_noinit <CURRENT> <REFERENCE> <CURRENT> - <REFERENCE>
Section total: 0 0
Symbols from section: .rtc_noinit
Section total: 0
***
Producing JSON output...
@ -6735,91 +6505,46 @@ Producing JSON output...
}
}
{
"current": {
".dram0.bss": {
"p_uart_obj": 12,
"s_rtc_isr_handle": 4,
"s_rtc_isr_handler_list": 4
},
".dram0.data": {
"timer_spinlock": 16,
"periph_spinlock": 8,
"s_rtc_isr_handler_list_lock": 8,
"uart_selectlock": 8
},
".flash.rodata": {
"str1.4": 249,
"get_clk_en_mask": 128,
"get_rst_en_mask": 128,
"__FUNCTION__$5441": 24,
"TG": 8
},
".flash.text": {
"get_clk_en_mask": 211,
"get_rst_en_mask": 157,
"timer_group_intr_enable": 112,
"rtc_isr": 86,
"periph_module_enable": 78,
"rtc_isr_ensure_installed": 75,
"rtc_gpio_force_hold_dis_all": 65,
"rtc_isr_register": 65,
"is_wifi_clk_peripheral": 28,
"uart_set_select_notif_callback": 26,
"get_rst_en_reg": 25,
"get_clk_en_reg": 21,
"uart_get_selectlock": 12
},
".iram0.text": {},
".iram0.vectors": {},
".noinit": {},
".rtc.bss": {},
".rtc.data": {},
".rtc.text": {},
".rtc_noinit": {}
".dram0.bss": {
"p_uart_obj": 12,
"s_rtc_isr_handle": 4,
"s_rtc_isr_handler_list": 4
},
"reference": {},
"diff": {
".dram0.bss": {
"p_uart_obj": 12,
"s_rtc_isr_handle": 4,
"s_rtc_isr_handler_list": 4
},
".dram0.data": {
"periph_spinlock": 8,
"s_rtc_isr_handler_list_lock": 8,
"timer_spinlock": 16,
"uart_selectlock": 8
},
".flash.rodata": {
"TG": 8,
"__FUNCTION__$5441": 24,
"get_clk_en_mask": 128,
"get_rst_en_mask": 128,
"str1.4": 249
},
".flash.text": {
"get_clk_en_mask": 211,
"get_clk_en_reg": 21,
"get_rst_en_mask": 157,
"get_rst_en_reg": 25,
"is_wifi_clk_peripheral": 28,
"periph_module_enable": 78,
"rtc_gpio_force_hold_dis_all": 65,
"rtc_isr": 86,
"rtc_isr_ensure_installed": 75,
"rtc_isr_register": 65,
"timer_group_intr_enable": 112,
"uart_get_selectlock": 12,
"uart_set_select_notif_callback": 26
},
".iram0.text": {},
".iram0.vectors": {},
".noinit": {},
".rtc.bss": {},
".rtc.data": {},
".rtc.text": {},
".rtc_noinit": {}
}
".dram0.data": {
"timer_spinlock": 16,
"periph_spinlock": 8,
"s_rtc_isr_handler_list_lock": 8,
"uart_selectlock": 8
},
".flash.rodata": {
"str1.4": 249,
"get_clk_en_mask": 128,
"get_rst_en_mask": 128,
"__FUNCTION__$5441": 24,
"TG": 8
},
".flash.text": {
"get_clk_en_mask": 211,
"get_rst_en_mask": 157,
"timer_group_intr_enable": 112,
"rtc_isr": 86,
"periph_module_enable": 78,
"rtc_isr_ensure_installed": 75,
"rtc_gpio_force_hold_dis_all": 65,
"rtc_isr_register": 65,
"is_wifi_clk_peripheral": 28,
"uart_set_select_notif_callback": 26,
"get_rst_en_reg": 25,
"get_clk_en_reg": 21,
"uart_get_selectlock": 12
},
".iram0.text": {},
".iram0.vectors": {},
".noinit": {},
".rtc.bss": {},
".rtc.data": {},
".rtc.text": {},
".rtc_noinit": {}
}
{
"current": {