Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tlv] Implemented Getter for Localized String Identifier #24528

Conversation

emargolis
Copy link
Contributor

New method TLVReader::Get(Optional&) returns Localized String Identifier if present.

The method takes what's after the first Information Separator 1 , and until end of string or second , and return the hex-decoded string identifier, if one was there.

Fixes #24500

@github-actions
Copy link

github-actions bot commented Jan 19, 2023

PR #24528: Size comparison from a722c18 to a86ea4b

Increases (8 builds for bl702, cc13x2_26x2, psoc6, telink)
platform target config section a722c18 a86ea4b change % change
bl702 lighting-app bl702 .debug_abbrev 1538909 1541699 2790 0.2
.debug_aranges 133880 133888 8 0.0
.debug_frame 490720 490768 48 0.0
.debug_info 39912045 39967352 55307 0.1
.debug_line 5252187 5254886 2699 0.1
.debug_loc 3413037 3413319 282 0.0
.debug_ranges 372080 372112 32 0.0
.debug_str 3518505 3518658 153 0.0
bl702+rpc .debug_abbrev 1687315 1690183 2868 0.2
.debug_aranges 142096 142104 8 0.0
.debug_frame 518384 518432 48 0.0
.debug_info 44301972 44357353 55381 0.1
.debug_line 5649963 5652662 2699 0.0
.debug_loc 3608986 3609250 264 0.0
.debug_ranges 395776 395808 32 0.0
.debug_str 3921639 3921792 153 0.0
.text 1031526 1031528 2 0.0
cc13x2_26x2 shell LP_CC2652R7 (read only) 667146 667154 8 0.0
.text 583140 583148 8 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1247001 1249932 2931 0.2
.debug_aranges 111184 111192 8 0.0
.debug_frame 373384 373424 40 0.0
.debug_info 27325029 27387396 62367 0.2
.debug_line 3753075 3755509 2434 0.1
.debug_loc 3642680 3643109 429 0.0
.debug_ranges 356400 356432 32 0.0
.debug_str 3470057 3470210 153 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1232808 1235643 2835 0.2
.debug_aranges 110448 110456 8 0.0
.debug_frame 375828 375868 40 0.0
.debug_info 26886602 26947260 60658 0.2
.debug_line 3761872 3764346 2474 0.1
.debug_loc 3626080 3626509 429 0.0
.debug_ranges 354368 354400 32 0.0
.debug_str 3454863 3455016 153 0.0
light cy8ckit_062s2_43012 .debug_abbrev 1067806 1070467 2661 0.2
.debug_aranges 102736 102744 8 0.0
.debug_frame 346404 346444 40 0.0
.debug_info 22362516 22415739 53223 0.2
.debug_line 3328379 3330795 2416 0.1
.debug_loc 3327954 3328381 427 0.0
.debug_ranges 318592 318624 32 0.0
.debug_str 3260660 3260813 153 0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1069852 1072513 2661 0.2
.debug_aranges 103120 103128 8 0.0
.debug_frame 348204 348244 40 0.0
.debug_info 22580918 22632562 51644 0.2
.debug_line 3329481 3331883 2402 0.1
.debug_loc 3349469 3349984 515 0.0
.debug_ranges 320448 320480 32 0.0
.debug_str 3277067 3277220 153 0.0
telink thermostat tlsr9518adk80d (read/write) 887396 887404 8 0.0
text 597084 597086 2 0.0
Decreases (10 builds for bl602, bl702, cc13x2_26x2, linux, qpg, telink)
platform target config section a722c18 a86ea4b change % change
bl602 lighting-app bl602 .text 1021488 1021486 -2 -0.0
bl602+rpc (read/write) 1389018 1389010 -8 -0.0
.text 1052418 1052416 -2 -0.0
bl702 lighting-app bl702 .text 954376 954374 -2 -0.0
cc13x2_26x2 shell LP_CC2652R7 (read/write) 186652 186644 -8 -0.0
linux all-clusters-app debug (read only) 3121393 3121377 -16 -0.0
.text 2654690 2654674 -16 -0.0
all-clusters-minimal-app debug (read only) 2933585 2933569 -16 -0.0
.text 2471506 2471490 -16 -0.0
chip-tool debug (read only) 11483729 11483713 -16 -0.0
.text 9349316 9349300 -16 -0.0
shell debug (read only) 2653961 2653945 -16 -0.0
.text 2254050 2254034 -16 -0.0
qpg lock-app qpg6105+debug (read/write) 1115028 1115020 -8 -0.0
.text 562124 562116 -8 -0.0
telink all-clusters-minimal-app tlsr9518adk80d text 651224 651222 -2 -0.0
Full report (48 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, linux, nrfconnect, psoc6, qpg, telink)
platform target config section a722c18 a86ea4b change % change
bl602 lighting-app bl602 (read/write) 1343586 1343586 0 0.0
.bss 94346 94346 0 0.0
.data 9728 9728 0 0.0
.text 1021488 1021486 -2 -0.0
bl602+rpc (read/write) 1389018 1389010 -8 -0.0
.bss 102394 102394 0 0.0
.data 10120 10120 0 0.0
.text 1052418 1052416 -2 -0.0
bl702 lighting-app bl702 (read/write) 1198979 1198979 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 70861 70861 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4048 4048 0 0.0
.debug_abbrev 1538909 1541699 2790 0.2
.debug_aranges 133880 133888 8 0.0
.debug_frame 490720 490768 48 0.0
.debug_info 39912045 39967352 55307 0.1
.debug_line 5252187 5254886 2699 0.1
.debug_loc 3413037 3413319 282 0.0
.debug_ranges 372080 372112 32 0.0
.debug_str 3518505 3518658 153 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 115328 115328 0 0.0
.rsvd 2960 2960 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 570083 570083 0 0.0
.symtab 172576 172576 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
954376 954374 -2 -0.0
bl702+rpc (read/write) 1291783 1291783 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 78909 78909 0 0.0
.bss_psram 30304 30304 0 0.0
.comment 48 48 0 0.0
.data 4600 4600 0 0.0
.debug_abbrev 1687315 1690183 2868 0.2
.debug_aranges 142096 142104 8 0.0
.debug_frame 518384 518432 48 0.0
.debug_info 44301972 44357353 55381 0.1
.debug_line 5649963 5652662 2699 0.0
.debug_loc 3608986 3609250 264 0.0
.debug_ranges 395776 395808 32 0.0
.debug_str 3921639 3921792 153 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129824 129824 0 0.0
.rsvd 2960 2960 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 630557 630557 0 0.0
.symtab 190896 190896 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
1031526 1031528 2 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 675899 675899 0 0.0
(read/write) 175572 175572 0 0.0
.bss 81164 81164 0 0.0
.data 3380 3380 0 0.0
.rodata 86947 86947 0 0.0
.text 588640 588640 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 639523 639523 0 0.0
(read/write) 157900 157900 0 0.0
.bss 80404 80404 0 0.0
.data 3380 3380 0 0.0
.rodata 77035 77035 0 0.0
.text 562164 562164 0 0.0
lock-ftd LP_CC2652R7 (read only) 673615 673615 0 0.0
(read/write) 175392 175392 0 0.0
.bss 78788 78788 0 0.0
.data 3304 3304 0 0.0
.rodata 76015 76015 0 0.0
.text 597120 597120 0 0.0
lock-mtd LP_CC2652R7 (read only) 659563 659563 0 0.0
(read/write) 184708 184708 0 0.0
.bss 74052 74052 0 0.0
.data 3304 3304 0 0.0
.rodata 102443 102443 0 0.0
.text 556640 556640 0 0.0
pump-app LP_CC2652R7 (read only) 686519 686519 0 0.0
(read/write) 163216 163216 0 0.0
.bss 78748 78748 0 0.0
.data 3268 3268 0 0.0
.rodata 90055 90055 0 0.0
.text 595984 595984 0 0.0
pump-controller-app LP_CC2652R7 (read only) 671955 671955 0 0.0
(read/write) 177892 177892 0 0.0
.bss 78860 78860 0 0.0
.data 3292 3292 0 0.0
.rodata 86139 86139 0 0.0
.text 585336 585336 0 0.0
shell LP_CC2652R7 (read only) 667146 667154 8 0.0
(read/write) 186652 186644 -8 -0.0
.bss 83492 83492 0 0.0
.data 3376 3376 0 0.0
.rodata 83690 83690 0 0.0
.text 583140 583148 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584786 584786 0 0.0
.app_xip_area 461132 461132 0 0.0
.bss 66112 66112 0 0.0
.data 728 728 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 588518 588518 0 0.0
.app_xip_area 459568 459568 0 0.0
.bss 71400 71400 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 549486 549486 0 0.0
.app_xip_area 431320 431320 0 0.0
.bss 60664 60664 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 973416 973416 0 0.0
.bss 146840 146840 0 0.0
.data 2188 2188 0 0.0
.text 824364 824364 0 0.0
BRD4161A+rs911x (read/write) 1035664 1035664 0 0.0
.bss 181312 181312 0 0.0
.data 2032 2032 0 0.0
.text 852300 852300 0 0.0
BRD4187C (read/write) 1149668 1149668 0 0.0
.bss 133324 133324 0 0.0
.data 2536 2536 0 0.0
.text 989212 989212 0 0.0
lock-app BRD4161A+wf200 (read/write) 1064548 1064548 0 0.0
.bss 152848 152848 0 0.0
.data 2040 2040 0 0.0
.text 909640 909640 0 0.0
window-app BRD4187C (read/write) 1142368 1142368 0 0.0
.bss 134740 134740 0 0.0
.data 2560 2560 0 0.0
.text 980472 980472 0 0.0
linux all-clusters-app debug (read only) 3121393 3121377 -16 -0.0
(read/write) 153008 153008 0 0.0
.bss 62464 62464 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 81688 81688 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1192 1192 0 0.0
.rodata 281835 281835 0 0.0
.text 2654690 2654674 -16 -0.0
all-clusters-minimal-app debug (read only) 2933585 2933569 -16 -0.0
(read/write) 146416 146416 0 0.0
.bss 61600 61600 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 76104 76104 0 0.0
.dynamic 608 608 0 0.0
.got 4688 4688 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 280491 280491 0 0.0
.text 2471506 2471490 -16 -0.0
bridge-app debug (read only) 2497233 2497233 0 0.0
(read/write) 130976 130976 0 0.0
.bss 52512 52512 0 0.0
.data 3632 3632 0 0.0
.data.rel.ro 68712 68712 0 0.0
.dynamic 608 608 0 0.0
.got 4608 4608 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 212544 212544 0 0.0
.text 2112818 2112818 0 0.0
chip-tool debug (read only) 11483729 11483713 -16 -0.0
(read/write) 646256 646256 0 0.0
.bss 26168 26168 0 0.0
.data 3042 3042 0 0.0
.data.rel.ro 610288 610288 0 0.0
.dynamic 608 608 0 0.0
.got 5352 5352 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 637157 637157 0 0.0
.text 9349316 9349300 -16 -0.0
chip-tool-ipv6only arm64 (read only) 10877428 10877428 0 0.0
(read/write) 695576 695576 0 0.0
.bss 34168 34168 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 639104 639104 0 0.0
.dynamic 560 560 0 0.0
.got 14104 14104 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 564084 564084 0 0.0
.text 8666260 8666260 0 0.0
lighting-app debug+rpc (read only) 2664809 2664809 0 0.0
(read/write) 130312 130312 0 0.0
.bss 49952 49952 0 0.0
.data 2288 2288 0 0.0
.data.rel.ro 71848 71848 0 0.0
.dynamic 608 608 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 228512 228512 0 0.0
.text 2259458 2259458 0 0.0
lock-app debug (read only) 2623537 2623537 0 0.0
(read/write) 125360 125360 0 0.0
.bss 48416 48416 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 68824 68824 0 0.0
.dynamic 608 608 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 244680 244680 0 0.0
.text 2206866 2206866 0 0.0
ota-provider-app debug (read only) 2197433 2197433 0 0.0
(read/write) 105104 105104 0 0.0
.bss 46592 46592 0 0.0
.data 2080 2080 0 0.0
.data.rel.ro 51320 51320 0 0.0
.dynamic 608 608 0 0.0
.got 3736 3736 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 196008 196008 0 0.0
.text 1861426 1861426 0 0.0
ota-requestor-app debug (read only) 2358913 2358913 0 0.0
(read/write) 112800 112800 0 0.0
.bss 49056 49056 0 0.0
.data 2448 2448 0 0.0
.data.rel.ro 56088 56088 0 0.0
.dynamic 608 608 0 0.0
.got 3736 3736 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 202736 202736 0 0.0
.text 2007186 2007186 0 0.0
shell debug (read only) 2653961 2653945 -16 -0.0
(read/write) 137504 137504 0 0.0
.bss 57864 57864 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 72568 72568 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 240018 240018 0 0.0
.text 2254050 2254034 -16 -0.0
thermostat-no-ble arm64 (read only) 2479452 2479452 0 0.0
(read/write) 143016 143016 0 0.0
.bss 55336 55336 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 76632 76632 0 0.0
.dynamic 560 560 0 0.0
.got 5192 5192 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 149832 149832 0 0.0
.text 2069024 2069024 0 0.0
tv-app debug (read only) 3287857 3287857 0 0.0
(read/write) 259344 259344 0 0.0
.bss 170776 170776 0 0.0
.data 3904 3904 0 0.0
.data.rel.ro 77952 77952 0 0.0
.dynamic 608 608 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 269464 269464 0 0.0
.text 2823954 2823954 0 0.0
tv-casting-app debug (read only) 5639409 5639409 0 0.0
(read/write) 160792 160792 0 0.0
.bss 52344 52344 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 99880 99880 0 0.0
.dynamic 608 608 0 0.0
.got 4928 4928 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 361369 361369 0 0.0
.text 4999906 4999906 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1163144 1163144 0 0.0
bss 146736 146736 0 0.0
rodata 132632 132632 0 0.0
text 803556 803556 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1364784 1364784 0 0.0
bss 106036 106036 0 0.0
rodata 210116 210116 0 0.0
text 762796 762796 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1108984 1108984 0 0.0
bss 145939 145939 0 0.0
rodata 109912 109912 0 0.0
text 772952 772952 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842032 842032 0 0.0
(read/write) 1747380 1747380 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188648 188648 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1247001 1249932 2931 0.2
.debug_aranges 111184 111192 8 0.0
.debug_frame 373384 373424 40 0.0
.debug_info 27325029 27387396 62367 0.2
.debug_line 3753075 3755509 2434 0.1
.debug_loc 3642680 3643109 429 0.0
.debug_ranges 356400 356432 32 0.0
.debug_str 3470057 3470210 153 0.0
.heap 842032 842032 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 575120 575120 0 0.0
.symtab 423200 423200 0 0.0
.text 1547680 1547680 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842800 842800 0 0.0
(read/write) 1688812 1688812 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187888 187888 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2656 2656 0 0.0
.debug_abbrev 1232808 1235643 2835 0.2
.debug_aranges 110448 110456 8 0.0
.debug_frame 375828 375868 40 0.0
.debug_info 26886602 26947260 60658 0.2
.debug_line 3761872 3764346 2474 0.1
.debug_loc 3626080 3626509 429 0.0
.debug_ranges 354368 354400 32 0.0
.debug_str 3454863 3455016 153 0.0
.heap 842800 842800 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 535500 535500 0 0.0
.symtab 408160 408160 0 0.0
.text 1489880 1489880 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850976 850976 0 0.0
(read/write) 1608924 1608924 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179912 179912 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1067806 1070467 2661 0.2
.debug_aranges 102736 102744 8 0.0
.debug_frame 346404 346444 40 0.0
.debug_info 22362516 22415739 53223 0.2
.debug_line 3328379 3330795 2416 0.1
.debug_loc 3327954 3328381 427 0.0
.debug_ranges 318592 318624 32 0.0
.debug_str 3260660 3260813 153 0.0
.heap 850976 850976 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473441 473441 0 0.0
.symtab 377392 377392 0 0.0
.text 1418168 1418168 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845984 845984 0 0.0
(read/write) 1642956 1642956 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184888 184888 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1069852 1072513 2661 0.2
.debug_aranges 103120 103128 8 0.0
.debug_frame 348204 348244 40 0.0
.debug_info 22580918 22632562 51644 0.2
.debug_line 3329481 3331883 2402 0.1
.debug_loc 3349469 3349984 515 0.0
.debug_ranges 320448 320480 32 0.0
.debug_str 3277067 3277220 153 0.0
.heap 845984 845984 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 476376 476376 0 0.0
.symtab 379216 379216 0 0.0
.text 1447208 1447208 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1147676 1147676 0 0.0
.bss 100348 100348 0 0.0
.data 840 840 0 0.0
.text 594776 594776 0 0.0
lock-app qpg6105+debug (read/write) 1115028 1115020 -8 -0.0
.bss 96868 96868 0 0.0
.data 852 852 0 0.0
.text 562124 562116 -8 -0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1024760 1024760 0 0.0
bss 98172 98172 0 0.0
text 687936 687936 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 963092 963092 0 0.0
bss 97360 97360 0 0.0
text 651224 651222 -2 -0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 867724 867724 0 0.0
bss 89524 89524 0 0.0
text 581722 581722 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 884172 884172 0 0.0
bss 89620 89620 0 0.0
text 596324 596324 0 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 962020 962020 0 0.0
bss 97676 97676 0 0.0
text 662046 662046 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 898020 898020 0 0.0
bss 90568 90568 0 0.0
text 607442 607442 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 887396 887404 8 0.0
bss 91008 91008 0 0.0
text 597084 597086 2 0.0

@github-actions
Copy link

github-actions bot commented Jan 19, 2023

PR #24528: Size comparison from a722c18 to e8eaf18

Increases (7 builds for bl602, bl702, psoc6)
platform target config section a722c18 e8eaf18 change % change
bl602 lighting-app bl602 (read/write) 1343586 1343594 8 0.0
.text 1021488 1021490 2 0.0
bl702 lighting-app bl702 .debug_abbrev 1538909 1541699 2790 0.2
.debug_aranges 133880 133888 8 0.0
.debug_frame 490720 490768 48 0.0
.debug_info 39912045 39967353 55308 0.1
.debug_line 5252187 5254886 2699 0.1
.debug_loc 3413037 3413319 282 0.0
.debug_ranges 372080 372112 32 0.0
.debug_str 3518505 3518658 153 0.0
bl702+rpc .debug_abbrev 1687315 1690183 2868 0.2
.debug_aranges 142096 142104 8 0.0
.debug_frame 518384 518432 48 0.0
.debug_info 44301972 44357352 55380 0.1
.debug_line 5649963 5652662 2699 0.0
.debug_loc 3608986 3609250 264 0.0
.debug_ranges 395776 395808 32 0.0
.debug_str 3921639 3921792 153 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1247001 1249932 2931 0.2
.debug_aranges 111184 111192 8 0.0
.debug_frame 373384 373424 40 0.0
.debug_info 27325029 27387396 62367 0.2
.debug_line 3753075 3755509 2434 0.1
.debug_loc 3642680 3643109 429 0.0
.debug_ranges 356400 356432 32 0.0
.debug_str 3470057 3470210 153 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1232808 1235643 2835 0.2
.debug_aranges 110448 110456 8 0.0
.debug_frame 375828 375868 40 0.0
.debug_info 26886602 26947260 60658 0.2
.debug_line 3761872 3764346 2474 0.1
.debug_loc 3626080 3626509 429 0.0
.debug_ranges 354368 354400 32 0.0
.debug_str 3454863 3455016 153 0.0
light cy8ckit_062s2_43012 .debug_abbrev 1067806 1070467 2661 0.2
.debug_aranges 102736 102744 8 0.0
.debug_frame 346404 346444 40 0.0
.debug_info 22362516 22415740 53224 0.2
.debug_line 3328379 3330795 2416 0.1
.debug_loc 3327954 3328381 427 0.0
.debug_ranges 318592 318624 32 0.0
.debug_str 3260660 3260813 153 0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1069852 1072513 2661 0.2
.debug_aranges 103120 103128 8 0.0
.debug_frame 348204 348244 40 0.0
.debug_info 22580918 22632563 51645 0.2
.debug_line 3329481 3331883 2402 0.1
.debug_loc 3349469 3349984 515 0.0
.debug_ranges 320448 320480 32 0.0
.debug_str 3277067 3277220 153 0.0
Decreases (8 builds for bl602, linux, telink)
platform target config section a722c18 e8eaf18 change % change
bl602 lighting-app bl602+rpc (read/write) 1389018 1389010 -8 -0.0
.text 1052418 1052416 -2 -0.0
linux all-clusters-app debug (read only) 3121393 3121377 -16 -0.0
.text 2654690 2654674 -16 -0.0
all-clusters-minimal-app debug (read only) 2933585 2933569 -16 -0.0
.text 2471506 2471490 -16 -0.0
chip-tool debug (read only) 11483729 11483713 -16 -0.0
.text 9349316 9349300 -16 -0.0
shell debug (read only) 2653961 2653945 -16 -0.0
.text 2254050 2254034 -16 -0.0
telink contact-sensor-app tlsr9518adk80d text 581722 581720 -2 -0.0
light-switch-app tlsr9518adk80d text 596324 596322 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 962020 962012 -8 -0.0
text 662046 662044 -2 -0.0
Full report (49 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section a722c18 e8eaf18 change % change
bl602 lighting-app bl602 (read/write) 1343586 1343594 8 0.0
.bss 94346 94346 0 0.0
.data 9728 9728 0 0.0
.text 1021488 1021490 2 0.0
bl602+rpc (read/write) 1389018 1389010 -8 -0.0
.bss 102394 102394 0 0.0
.data 10120 10120 0 0.0
.text 1052418 1052416 -2 -0.0
bl702 lighting-app bl702 (read/write) 1198979 1198979 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 70861 70861 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4048 4048 0 0.0
.debug_abbrev 1538909 1541699 2790 0.2
.debug_aranges 133880 133888 8 0.0
.debug_frame 490720 490768 48 0.0
.debug_info 39912045 39967353 55308 0.1
.debug_line 5252187 5254886 2699 0.1
.debug_loc 3413037 3413319 282 0.0
.debug_ranges 372080 372112 32 0.0
.debug_str 3518505 3518658 153 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 115328 115328 0 0.0
.rsvd 2960 2960 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 570083 570083 0 0.0
.symtab 172576 172576 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
954376 954376 0 0.0
bl702+rpc (read/write) 1291783 1291783 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 78909 78909 0 0.0
.bss_psram 30304 30304 0 0.0
.comment 48 48 0 0.0
.data 4600 4600 0 0.0
.debug_abbrev 1687315 1690183 2868 0.2
.debug_aranges 142096 142104 8 0.0
.debug_frame 518384 518432 48 0.0
.debug_info 44301972 44357352 55380 0.1
.debug_line 5649963 5652662 2699 0.0
.debug_loc 3608986 3609250 264 0.0
.debug_ranges 395776 395808 32 0.0
.debug_str 3921639 3921792 153 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129824 129824 0 0.0
.rsvd 2960 2960 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 630557 630557 0 0.0
.symtab 190896 190896 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
1031526 1031526 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 675899 675899 0 0.0
(read/write) 175572 175572 0 0.0
.bss 81164 81164 0 0.0
.data 3380 3380 0 0.0
.rodata 86947 86947 0 0.0
.text 588640 588640 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 639523 639523 0 0.0
(read/write) 157900 157900 0 0.0
.bss 80404 80404 0 0.0
.data 3380 3380 0 0.0
.rodata 77035 77035 0 0.0
.text 562164 562164 0 0.0
lock-ftd LP_CC2652R7 (read only) 673615 673615 0 0.0
(read/write) 175392 175392 0 0.0
.bss 78788 78788 0 0.0
.data 3304 3304 0 0.0
.rodata 76015 76015 0 0.0
.text 597120 597120 0 0.0
lock-mtd LP_CC2652R7 (read only) 659563 659563 0 0.0
(read/write) 184708 184708 0 0.0
.bss 74052 74052 0 0.0
.data 3304 3304 0 0.0
.rodata 102443 102443 0 0.0
.text 556640 556640 0 0.0
pump-app LP_CC2652R7 (read only) 686519 686519 0 0.0
(read/write) 163216 163216 0 0.0
.bss 78748 78748 0 0.0
.data 3268 3268 0 0.0
.rodata 90055 90055 0 0.0
.text 595984 595984 0 0.0
pump-controller-app LP_CC2652R7 (read only) 671955 671955 0 0.0
(read/write) 177892 177892 0 0.0
.bss 78860 78860 0 0.0
.data 3292 3292 0 0.0
.rodata 86139 86139 0 0.0
.text 585336 585336 0 0.0
shell LP_CC2652R7 (read only) 667146 667146 0 0.0
(read/write) 186652 186652 0 0.0
.bss 83492 83492 0 0.0
.data 3376 3376 0 0.0
.rodata 83690 83690 0 0.0
.text 583140 583140 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584786 584786 0 0.0
.app_xip_area 461132 461132 0 0.0
.bss 66112 66112 0 0.0
.data 728 728 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 588518 588518 0 0.0
.app_xip_area 459568 459568 0 0.0
.bss 71400 71400 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 549486 549486 0 0.0
.app_xip_area 431320 431320 0 0.0
.bss 60664 60664 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 973416 973416 0 0.0
.bss 146840 146840 0 0.0
.data 2188 2188 0 0.0
.text 824364 824364 0 0.0
BRD4161A+rs911x (read/write) 1035664 1035664 0 0.0
.bss 181312 181312 0 0.0
.data 2032 2032 0 0.0
.text 852300 852300 0 0.0
BRD4187C (read/write) 1149668 1149668 0 0.0
.bss 133324 133324 0 0.0
.data 2536 2536 0 0.0
.text 989212 989212 0 0.0
lock-app BRD4161A+wf200 (read/write) 1064548 1064548 0 0.0
.bss 152848 152848 0 0.0
.data 2040 2040 0 0.0
.text 909640 909640 0 0.0
window-app BRD4187C (read/write) 1142368 1142368 0 0.0
.bss 134740 134740 0 0.0
.data 2560 2560 0 0.0
.text 980472 980472 0 0.0
linux all-clusters-app debug (read only) 3121393 3121377 -16 -0.0
(read/write) 153008 153008 0 0.0
.bss 62464 62464 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 81688 81688 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1192 1192 0 0.0
.rodata 281835 281835 0 0.0
.text 2654690 2654674 -16 -0.0
all-clusters-minimal-app debug (read only) 2933585 2933569 -16 -0.0
(read/write) 146416 146416 0 0.0
.bss 61600 61600 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 76104 76104 0 0.0
.dynamic 608 608 0 0.0
.got 4688 4688 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 280491 280491 0 0.0
.text 2471506 2471490 -16 -0.0
bridge-app debug (read only) 2497233 2497233 0 0.0
(read/write) 130976 130976 0 0.0
.bss 52512 52512 0 0.0
.data 3632 3632 0 0.0
.data.rel.ro 68712 68712 0 0.0
.dynamic 608 608 0 0.0
.got 4608 4608 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 212544 212544 0 0.0
.text 2112818 2112818 0 0.0
chip-tool debug (read only) 11483729 11483713 -16 -0.0
(read/write) 646256 646256 0 0.0
.bss 26168 26168 0 0.0
.data 3042 3042 0 0.0
.data.rel.ro 610288 610288 0 0.0
.dynamic 608 608 0 0.0
.got 5352 5352 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 637157 637157 0 0.0
.text 9349316 9349300 -16 -0.0
chip-tool-ipv6only arm64 (read only) 10877428 10877428 0 0.0
(read/write) 695576 695576 0 0.0
.bss 34168 34168 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 639104 639104 0 0.0
.dynamic 560 560 0 0.0
.got 14104 14104 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 564084 564084 0 0.0
.text 8666260 8666260 0 0.0
lighting-app debug+rpc (read only) 2664809 2664809 0 0.0
(read/write) 130312 130312 0 0.0
.bss 49952 49952 0 0.0
.data 2288 2288 0 0.0
.data.rel.ro 71848 71848 0 0.0
.dynamic 608 608 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 228512 228512 0 0.0
.text 2259458 2259458 0 0.0
lock-app debug (read only) 2623537 2623537 0 0.0
(read/write) 125360 125360 0 0.0
.bss 48416 48416 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 68824 68824 0 0.0
.dynamic 608 608 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 244680 244680 0 0.0
.text 2206866 2206866 0 0.0
ota-provider-app debug (read only) 2197433 2197433 0 0.0
(read/write) 105104 105104 0 0.0
.bss 46592 46592 0 0.0
.data 2080 2080 0 0.0
.data.rel.ro 51320 51320 0 0.0
.dynamic 608 608 0 0.0
.got 3736 3736 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 196008 196008 0 0.0
.text 1861426 1861426 0 0.0
ota-requestor-app debug (read only) 2358913 2358913 0 0.0
(read/write) 112800 112800 0 0.0
.bss 49056 49056 0 0.0
.data 2448 2448 0 0.0
.data.rel.ro 56088 56088 0 0.0
.dynamic 608 608 0 0.0
.got 3736 3736 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 202736 202736 0 0.0
.text 2007186 2007186 0 0.0
shell debug (read only) 2653961 2653945 -16 -0.0
(read/write) 137504 137504 0 0.0
.bss 57864 57864 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 72568 72568 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 240018 240018 0 0.0
.text 2254050 2254034 -16 -0.0
thermostat-no-ble arm64 (read only) 2479452 2479452 0 0.0
(read/write) 143016 143016 0 0.0
.bss 55336 55336 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 76632 76632 0 0.0
.dynamic 560 560 0 0.0
.got 5192 5192 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 149832 149832 0 0.0
.text 2069024 2069024 0 0.0
tv-app debug (read only) 3287857 3287857 0 0.0
(read/write) 259344 259344 0 0.0
.bss 170776 170776 0 0.0
.data 3904 3904 0 0.0
.data.rel.ro 77952 77952 0 0.0
.dynamic 608 608 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 269464 269464 0 0.0
.text 2823954 2823954 0 0.0
tv-casting-app debug (read only) 5639409 5639409 0 0.0
(read/write) 160792 160792 0 0.0
.bss 52344 52344 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 99880 99880 0 0.0
.dynamic 608 608 0 0.0
.got 4928 4928 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 361369 361369 0 0.0
.text 4999906 4999906 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2461952 2461952 0 0.0
.bss 214932 214932 0 0.0
.data 5872 5872 0 0.0
.text 1424596 1424596 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1163144 1163144 0 0.0
bss 146736 146736 0 0.0
rodata 132632 132632 0 0.0
text 803556 803556 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1364784 1364784 0 0.0
bss 106036 106036 0 0.0
rodata 210116 210116 0 0.0
text 762796 762796 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1108984 1108984 0 0.0
bss 145939 145939 0 0.0
rodata 109912 109912 0 0.0
text 772952 772952 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842032 842032 0 0.0
(read/write) 1747380 1747380 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188648 188648 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1247001 1249932 2931 0.2
.debug_aranges 111184 111192 8 0.0
.debug_frame 373384 373424 40 0.0
.debug_info 27325029 27387396 62367 0.2
.debug_line 3753075 3755509 2434 0.1
.debug_loc 3642680 3643109 429 0.0
.debug_ranges 356400 356432 32 0.0
.debug_str 3470057 3470210 153 0.0
.heap 842032 842032 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 575120 575120 0 0.0
.symtab 423200 423200 0 0.0
.text 1547680 1547680 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842800 842800 0 0.0
(read/write) 1688812 1688812 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187888 187888 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2656 2656 0 0.0
.debug_abbrev 1232808 1235643 2835 0.2
.debug_aranges 110448 110456 8 0.0
.debug_frame 375828 375868 40 0.0
.debug_info 26886602 26947260 60658 0.2
.debug_line 3761872 3764346 2474 0.1
.debug_loc 3626080 3626509 429 0.0
.debug_ranges 354368 354400 32 0.0
.debug_str 3454863 3455016 153 0.0
.heap 842800 842800 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 535500 535500 0 0.0
.symtab 408160 408160 0 0.0
.text 1489880 1489880 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850976 850976 0 0.0
(read/write) 1608924 1608924 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179912 179912 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1067806 1070467 2661 0.2
.debug_aranges 102736 102744 8 0.0
.debug_frame 346404 346444 40 0.0
.debug_info 22362516 22415740 53224 0.2
.debug_line 3328379 3330795 2416 0.1
.debug_loc 3327954 3328381 427 0.0
.debug_ranges 318592 318624 32 0.0
.debug_str 3260660 3260813 153 0.0
.heap 850976 850976 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473441 473441 0 0.0
.symtab 377392 377392 0 0.0
.text 1418168 1418168 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845984 845984 0 0.0
(read/write) 1642956 1642956 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184888 184888 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1069852 1072513 2661 0.2
.debug_aranges 103120 103128 8 0.0
.debug_frame 348204 348244 40 0.0
.debug_info 22580918 22632563 51645 0.2
.debug_line 3329481 3331883 2402 0.1
.debug_loc 3349469 3349984 515 0.0
.debug_ranges 320448 320480 32 0.0
.debug_str 3277067 3277220 153 0.0
.heap 845984 845984 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 476376 476376 0 0.0
.symtab 379216 379216 0 0.0
.text 1447208 1447208 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1147676 1147676 0 0.0
.bss 100348 100348 0 0.0
.data 840 840 0 0.0
.text 594776 594776 0 0.0
lock-app qpg6105+debug (read/write) 1115028 1115028 0 0.0
.bss 96868 96868 0 0.0
.data 852 852 0 0.0
.text 562124 562124 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1024760 1024760 0 0.0
bss 98172 98172 0 0.0
text 687936 687936 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 963092 963092 0 0.0
bss 97360 97360 0 0.0
text 651224 651224 0 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 867724 867724 0 0.0
bss 89524 89524 0 0.0
text 581722 581720 -2 -0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 884172 884172 0 0.0
bss 89620 89620 0 0.0
text 596324 596322 -2 -0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 962020 962012 -8 -0.0
bss 97676 97676 0 0.0
text 662046 662044 -2 -0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 898020 898020 0 0.0
bss 90568 90568 0 0.0
text 607442 607442 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 887396 887396 0 0.0
bss 91008 91008 0 0.0
text 597084 597084 0 0.0

@github-actions
Copy link

github-actions bot commented Jan 20, 2023

PR #24528: Size comparison from a722c18 to aa1897d

Increases (9 builds for bl702, cc13x2_26x2, psoc6, telink)
platform target config section a722c18 aa1897d change % change
bl702 lighting-app bl702 .debug_abbrev 1538909 1541699 2790 0.2
.debug_aranges 133880 133888 8 0.0
.debug_frame 490720 490768 48 0.0
.debug_info 39912045 39967352 55307 0.1
.debug_line 5252187 5254886 2699 0.1
.debug_loc 3413037 3413319 282 0.0
.debug_ranges 372080 372112 32 0.0
.debug_str 3518505 3518658 153 0.0
bl702+rpc .debug_abbrev 1687315 1690183 2868 0.2
.debug_aranges 142096 142104 8 0.0
.debug_frame 518384 518432 48 0.0
.debug_info 44301972 44357353 55381 0.1
.debug_line 5649963 5652662 2699 0.0
.debug_loc 3608986 3609250 264 0.0
.debug_ranges 395776 395808 32 0.0
.debug_str 3921639 3921792 153 0.0
.text 1031526 1031528 2 0.0
cc13x2_26x2 shell LP_CC2652R7 (read only) 667146 667154 8 0.0
.text 583140 583148 8 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1247001 1249932 2931 0.2
.debug_aranges 111184 111192 8 0.0
.debug_frame 373384 373424 40 0.0
.debug_info 27325029 27387395 62366 0.2
.debug_line 3753075 3755509 2434 0.1
.debug_loc 3642680 3643109 429 0.0
.debug_ranges 356400 356432 32 0.0
.debug_str 3470057 3470210 153 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1232808 1235643 2835 0.2
.debug_aranges 110448 110456 8 0.0
.debug_frame 375828 375868 40 0.0
.debug_info 26886602 26947259 60657 0.2
.debug_line 3761872 3764346 2474 0.1
.debug_loc 3626080 3626509 429 0.0
.debug_ranges 354368 354400 32 0.0
.debug_str 3454863 3455016 153 0.0
light cy8ckit_062s2_43012 .debug_abbrev 1067806 1070467 2661 0.2
.debug_aranges 102736 102744 8 0.0
.debug_frame 346404 346444 40 0.0
.debug_info 22362516 22415739 53223 0.2
.debug_line 3328379 3330795 2416 0.1
.debug_loc 3327954 3328381 427 0.0
.debug_ranges 318592 318624 32 0.0
.debug_str 3260660 3260813 153 0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1069852 1072513 2661 0.2
.debug_aranges 103120 103128 8 0.0
.debug_frame 348204 348244 40 0.0
.debug_info 22580918 22632562 51644 0.2
.debug_line 3329481 3331883 2402 0.1
.debug_loc 3349469 3349984 515 0.0
.debug_ranges 320448 320480 32 0.0
.debug_str 3277067 3277220 153 0.0
telink lighting-app tlsr9518adk80d (read/write) 962020 962532 512 0.1
text 662046 662336 290 0.0
thermostat tlsr9518adk80d (read/write) 887396 887404 8 0.0
text 597084 597088 4 0.0
Decreases (12 builds for bl602, bl702, cc13x2_26x2, linux, nrfconnect, telink)
platform target config section a722c18 aa1897d change % change
bl602 lighting-app bl602 .text 1021488 1021486 -2 -0.0
bl602+rpc (read/write) 1389018 1389010 -8 -0.0
.text 1052418 1052416 -2 -0.0
bl702 lighting-app bl702 .text 954376 954374 -2 -0.0
cc13x2_26x2 shell LP_CC2652R7 (read/write) 186652 186644 -8 -0.0
linux all-clusters-app debug (read only) 3121393 3121377 -16 -0.0
.text 2654690 2654674 -16 -0.0
all-clusters-minimal-app debug (read only) 2933585 2933569 -16 -0.0
.text 2471506 2471490 -16 -0.0
chip-tool debug (read only) 11483729 11483713 -16 -0.0
.text 9349316 9349300 -16 -0.0
shell debug (read only) 2653961 2653945 -16 -0.0
.text 2254050 2254034 -16 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1163144 1163128 -16 -0.0
text 803556 803552 -4 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1024760 1024752 -8 -0.0
text 687936 687932 -4 -0.0
all-clusters-minimal-app tlsr9518adk80d text 651224 651222 -2 -0.0
light-switch-app tlsr9518adk80d text 596324 596322 -2 -0.0
Full report (49 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section a722c18 aa1897d change % change
bl602 lighting-app bl602 (read/write) 1343586 1343586 0 0.0
.bss 94346 94346 0 0.0
.data 9728 9728 0 0.0
.text 1021488 1021486 -2 -0.0
bl602+rpc (read/write) 1389018 1389010 -8 -0.0
.bss 102394 102394 0 0.0
.data 10120 10120 0 0.0
.text 1052418 1052416 -2 -0.0
bl702 lighting-app bl702 (read/write) 1198979 1198979 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 70861 70861 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4048 4048 0 0.0
.debug_abbrev 1538909 1541699 2790 0.2
.debug_aranges 133880 133888 8 0.0
.debug_frame 490720 490768 48 0.0
.debug_info 39912045 39967352 55307 0.1
.debug_line 5252187 5254886 2699 0.1
.debug_loc 3413037 3413319 282 0.0
.debug_ranges 372080 372112 32 0.0
.debug_str 3518505 3518658 153 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 115328 115328 0 0.0
.rsvd 2960 2960 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 570083 570083 0 0.0
.symtab 172576 172576 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
954376 954374 -2 -0.0
bl702+rpc (read/write) 1291783 1291783 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 78909 78909 0 0.0
.bss_psram 30304 30304 0 0.0
.comment 48 48 0 0.0
.data 4600 4600 0 0.0
.debug_abbrev 1687315 1690183 2868 0.2
.debug_aranges 142096 142104 8 0.0
.debug_frame 518384 518432 48 0.0
.debug_info 44301972 44357353 55381 0.1
.debug_line 5649963 5652662 2699 0.0
.debug_loc 3608986 3609250 264 0.0
.debug_ranges 395776 395808 32 0.0
.debug_str 3921639 3921792 153 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129824 129824 0 0.0
.rsvd 2960 2960 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 630557 630557 0 0.0
.symtab 190896 190896 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
1031526 1031528 2 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 675899 675899 0 0.0
(read/write) 175572 175572 0 0.0
.bss 81164 81164 0 0.0
.data 3380 3380 0 0.0
.rodata 86947 86947 0 0.0
.text 588640 588640 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 639523 639523 0 0.0
(read/write) 157900 157900 0 0.0
.bss 80404 80404 0 0.0
.data 3380 3380 0 0.0
.rodata 77035 77035 0 0.0
.text 562164 562164 0 0.0
lock-ftd LP_CC2652R7 (read only) 673615 673615 0 0.0
(read/write) 175392 175392 0 0.0
.bss 78788 78788 0 0.0
.data 3304 3304 0 0.0
.rodata 76015 76015 0 0.0
.text 597120 597120 0 0.0
lock-mtd LP_CC2652R7 (read only) 659563 659563 0 0.0
(read/write) 184708 184708 0 0.0
.bss 74052 74052 0 0.0
.data 3304 3304 0 0.0
.rodata 102443 102443 0 0.0
.text 556640 556640 0 0.0
pump-app LP_CC2652R7 (read only) 686519 686519 0 0.0
(read/write) 163216 163216 0 0.0
.bss 78748 78748 0 0.0
.data 3268 3268 0 0.0
.rodata 90055 90055 0 0.0
.text 595984 595984 0 0.0
pump-controller-app LP_CC2652R7 (read only) 671955 671955 0 0.0
(read/write) 177892 177892 0 0.0
.bss 78860 78860 0 0.0
.data 3292 3292 0 0.0
.rodata 86139 86139 0 0.0
.text 585336 585336 0 0.0
shell LP_CC2652R7 (read only) 667146 667154 8 0.0
(read/write) 186652 186644 -8 -0.0
.bss 83492 83492 0 0.0
.data 3376 3376 0 0.0
.rodata 83690 83690 0 0.0
.text 583140 583148 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 584786 584786 0 0.0
.app_xip_area 461132 461132 0 0.0
.bss 66112 66112 0 0.0
.data 728 728 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 588518 588518 0 0.0
.app_xip_area 459568 459568 0 0.0
.bss 71400 71400 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 549486 549486 0 0.0
.app_xip_area 431320 431320 0 0.0
.bss 60664 60664 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 973416 973416 0 0.0
.bss 146840 146840 0 0.0
.data 2188 2188 0 0.0
.text 824364 824364 0 0.0
BRD4161A+rs911x (read/write) 1035664 1035664 0 0.0
.bss 181312 181312 0 0.0
.data 2032 2032 0 0.0
.text 852300 852300 0 0.0
BRD4187C (read/write) 1149668 1149668 0 0.0
.bss 133324 133324 0 0.0
.data 2536 2536 0 0.0
.text 989212 989212 0 0.0
lock-app BRD4161A+wf200 (read/write) 1064548 1064548 0 0.0
.bss 152848 152848 0 0.0
.data 2040 2040 0 0.0
.text 909640 909640 0 0.0
window-app BRD4187C (read/write) 1142368 1142368 0 0.0
.bss 134740 134740 0 0.0
.data 2560 2560 0 0.0
.text 980472 980472 0 0.0
linux all-clusters-app debug (read only) 3121393 3121377 -16 -0.0
(read/write) 153008 153008 0 0.0
.bss 62464 62464 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 81688 81688 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1192 1192 0 0.0
.rodata 281835 281835 0 0.0
.text 2654690 2654674 -16 -0.0
all-clusters-minimal-app debug (read only) 2933585 2933569 -16 -0.0
(read/write) 146416 146416 0 0.0
.bss 61600 61600 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 76104 76104 0 0.0
.dynamic 608 608 0 0.0
.got 4688 4688 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 280491 280491 0 0.0
.text 2471506 2471490 -16 -0.0
bridge-app debug (read only) 2497233 2497233 0 0.0
(read/write) 130976 130976 0 0.0
.bss 52512 52512 0 0.0
.data 3632 3632 0 0.0
.data.rel.ro 68712 68712 0 0.0
.dynamic 608 608 0 0.0
.got 4608 4608 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 212544 212544 0 0.0
.text 2112818 2112818 0 0.0
chip-tool debug (read only) 11483729 11483713 -16 -0.0
(read/write) 646256 646256 0 0.0
.bss 26168 26168 0 0.0
.data 3042 3042 0 0.0
.data.rel.ro 610288 610288 0 0.0
.dynamic 608 608 0 0.0
.got 5352 5352 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 637157 637157 0 0.0
.text 9349316 9349300 -16 -0.0
chip-tool-ipv6only arm64 (read only) 10877428 10877428 0 0.0
(read/write) 695576 695576 0 0.0
.bss 34168 34168 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 639104 639104 0 0.0
.dynamic 560 560 0 0.0
.got 14104 14104 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 564084 564084 0 0.0
.text 8666260 8666260 0 0.0
lighting-app debug+rpc (read only) 2664809 2664809 0 0.0
(read/write) 130312 130312 0 0.0
.bss 49952 49952 0 0.0
.data 2288 2288 0 0.0
.data.rel.ro 71848 71848 0 0.0
.dynamic 608 608 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 228512 228512 0 0.0
.text 2259458 2259458 0 0.0
lock-app debug (read only) 2623537 2623537 0 0.0
(read/write) 125360 125360 0 0.0
.bss 48416 48416 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 68824 68824 0 0.0
.dynamic 608 608 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 244680 244680 0 0.0
.text 2206866 2206866 0 0.0
ota-provider-app debug (read only) 2197433 2197433 0 0.0
(read/write) 105104 105104 0 0.0
.bss 46592 46592 0 0.0
.data 2080 2080 0 0.0
.data.rel.ro 51320 51320 0 0.0
.dynamic 608 608 0 0.0
.got 3736 3736 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 196008 196008 0 0.0
.text 1861426 1861426 0 0.0
ota-requestor-app debug (read only) 2358913 2358913 0 0.0
(read/write) 112800 112800 0 0.0
.bss 49056 49056 0 0.0
.data 2448 2448 0 0.0
.data.rel.ro 56088 56088 0 0.0
.dynamic 608 608 0 0.0
.got 3736 3736 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 202736 202736 0 0.0
.text 2007186 2007186 0 0.0
shell debug (read only) 2653961 2653945 -16 -0.0
(read/write) 137504 137504 0 0.0
.bss 57864 57864 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 72568 72568 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 240018 240018 0 0.0
.text 2254050 2254034 -16 -0.0
thermostat-no-ble arm64 (read only) 2479452 2479452 0 0.0
(read/write) 143016 143016 0 0.0
.bss 55336 55336 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 76632 76632 0 0.0
.dynamic 560 560 0 0.0
.got 5192 5192 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 149832 149832 0 0.0
.text 2069024 2069024 0 0.0
tv-app debug (read only) 3287857 3287857 0 0.0
(read/write) 259344 259344 0 0.0
.bss 170776 170776 0 0.0
.data 3904 3904 0 0.0
.data.rel.ro 77952 77952 0 0.0
.dynamic 608 608 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 269464 269464 0 0.0
.text 2823954 2823954 0 0.0
tv-casting-app debug (read only) 5639409 5639409 0 0.0
(read/write) 160792 160792 0 0.0
.bss 52344 52344 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 99880 99880 0 0.0
.dynamic 608 608 0 0.0
.got 4928 4928 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 361369 361369 0 0.0
.text 4999906 4999906 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2461952 2461952 0 0.0
.bss 214932 214932 0 0.0
.data 5872 5872 0 0.0
.text 1424596 1424596 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1163144 1163128 -16 -0.0
bss 146736 146736 0 0.0
rodata 132632 132632 0 0.0
text 803556 803552 -4 -0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1364784 1364784 0 0.0
bss 106036 106036 0 0.0
rodata 210116 210116 0 0.0
text 762796 762796 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1108984 1108984 0 0.0
bss 145939 145939 0 0.0
rodata 109912 109912 0 0.0
text 772952 772952 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842032 842032 0 0.0
(read/write) 1747380 1747380 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188648 188648 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1247001 1249932 2931 0.2
.debug_aranges 111184 111192 8 0.0
.debug_frame 373384 373424 40 0.0
.debug_info 27325029 27387395 62366 0.2
.debug_line 3753075 3755509 2434 0.1
.debug_loc 3642680 3643109 429 0.0
.debug_ranges 356400 356432 32 0.0
.debug_str 3470057 3470210 153 0.0
.heap 842032 842032 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 575120 575120 0 0.0
.symtab 423200 423200 0 0.0
.text 1547680 1547680 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842800 842800 0 0.0
(read/write) 1688812 1688812 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187888 187888 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2656 2656 0 0.0
.debug_abbrev 1232808 1235643 2835 0.2
.debug_aranges 110448 110456 8 0.0
.debug_frame 375828 375868 40 0.0
.debug_info 26886602 26947259 60657 0.2
.debug_line 3761872 3764346 2474 0.1
.debug_loc 3626080 3626509 429 0.0
.debug_ranges 354368 354400 32 0.0
.debug_str 3454863 3455016 153 0.0
.heap 842800 842800 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 535500 535500 0 0.0
.symtab 408160 408160 0 0.0
.text 1489880 1489880 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850976 850976 0 0.0
(read/write) 1608924 1608924 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179912 179912 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1067806 1070467 2661 0.2
.debug_aranges 102736 102744 8 0.0
.debug_frame 346404 346444 40 0.0
.debug_info 22362516 22415739 53223 0.2
.debug_line 3328379 3330795 2416 0.1
.debug_loc 3327954 3328381 427 0.0
.debug_ranges 318592 318624 32 0.0
.debug_str 3260660 3260813 153 0.0
.heap 850976 850976 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473441 473441 0 0.0
.symtab 377392 377392 0 0.0
.text 1418168 1418168 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845984 845984 0 0.0
(read/write) 1642956 1642956 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184888 184888 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1069852 1072513 2661 0.2
.debug_aranges 103120 103128 8 0.0
.debug_frame 348204 348244 40 0.0
.debug_info 22580918 22632562 51644 0.2
.debug_line 3329481 3331883 2402 0.1
.debug_loc 3349469 3349984 515 0.0
.debug_ranges 320448 320480 32 0.0
.debug_str 3277067 3277220 153 0.0
.heap 845984 845984 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 476376 476376 0 0.0
.symtab 379216 379216 0 0.0
.text 1447208 1447208 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1147676 1147676 0 0.0
.bss 100348 100348 0 0.0
.data 840 840 0 0.0
.text 594776 594776 0 0.0
lock-app qpg6105+debug (read/write) 1115028 1115028 0 0.0
.bss 96868 96868 0 0.0
.data 852 852 0 0.0
.text 562124 562124 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1024760 1024752 -8 -0.0
bss 98172 98172 0 0.0
text 687936 687932 -4 -0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 963092 963092 0 0.0
bss 97360 97360 0 0.0
text 651224 651222 -2 -0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 867724 867724 0 0.0
bss 89524 89524 0 0.0
text 581722 581722 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 884172 884172 0 0.0
bss 89620 89620 0 0.0
text 596324 596322 -2 -0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 962020 962532 512 0.1
bss 97676 97676 0 0.0
text 662046 662336 290 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 898020 898020 0 0.0
bss 90568 90568 0 0.0
text 607442 607442 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 887396 887404 8 0.0
bss 91008 91008 0 0.0
text 597084 597088 4 0.0

@emargolis emargolis force-pushed the emargolis/feature/tlv-reader-implement-localized-str-id-getter branch from aa1897d to 7714365 Compare January 20, 2023 22:31
New method TLVReader::Get(Optional<LocalizedStringIdentifier>&) returns
Localized String Identifier if present.

The method takes what's after the first Information Separator 1 <IS1>, and until end of string
or second <IS1>, and return the hex-decoded string identifier, if one was there.
@emargolis emargolis force-pushed the emargolis/feature/tlv-reader-implement-localized-str-id-getter branch from 7714365 to cb81cfb Compare January 20, 2023 22:34
src/lib/core/TLVReader.cpp Show resolved Hide resolved
src/lib/core/TLVReader.h Show resolved Hide resolved
src/lib/core/tests/TestTLV.cpp Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Jan 21, 2023

PR #24528: Size comparison from 28778b8 to cb81cfb

Increases (11 builds for bl702, cyw30739, psoc6, telink)
platform target config section 28778b8 cb81cfb change % change
bl702 lighting-app bl702 .debug_abbrev 1538897 1541687 2790 0.2
.debug_aranges 133880 133888 8 0.0
.debug_frame 490720 490768 48 0.0
.debug_info 39912006 39967315 55309 0.1
.debug_line 5252223 5254908 2685 0.1
.debug_loc 3413033 3413325 292 0.0
.debug_ranges 372056 372088 32 0.0
.debug_str 3518605 3518758 153 0.0
.text 954386 954388 2 0.0
bl702+rpc .debug_abbrev 1687303 1690171 2868 0.2
.debug_aranges 142096 142104 8 0.0
.debug_frame 518384 518432 48 0.0
.debug_info 44301934 44357315 55381 0.1
.debug_line 5649999 5652684 2685 0.0
.debug_loc 3608981 3609257 276 0.0
.debug_ranges 395752 395784 32 0.0
.debug_str 3921739 3921892 153 0.0
.text 1031538 1031540 2 0.0
cyw30739 lock cyw930739m2evb_01 (read/write) 588838 588846 8 0.0
.app_xip_area 459568 459576 8 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1247001 1249932 2931 0.2
.debug_aranges 111184 111192 8 0.0
.debug_frame 373384 373424 40 0.0
.debug_info 27324910 27387322 62412 0.2
.debug_line 3753136 3755580 2444 0.1
.debug_loc 3643491 3643957 466 0.0
.debug_ranges 356352 356384 32 0.0
.debug_str 3470157 3470310 153 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1232808 1235643 2835 0.2
.debug_aranges 110448 110456 8 0.0
.debug_frame 375828 375868 40 0.0
.debug_info 26886482 26947186 60704 0.2
.debug_line 3761933 3764417 2484 0.1
.debug_loc 3626891 3627356 465 0.0
.debug_ranges 354320 354352 32 0.0
.debug_str 3454963 3455116 153 0.0
light cy8ckit_062s2_43012 .debug_abbrev 1067806 1070467 2661 0.2
.debug_aranges 102736 102744 8 0.0
.debug_frame 346404 346444 40 0.0
.debug_info 22362394 22415666 53272 0.2
.debug_line 3328440 3330866 2426 0.1
.debug_loc 3328766 3329229 463 0.0
.debug_ranges 318544 318576 32 0.0
.debug_str 3260760 3260913 153 0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1069852 1072513 2661 0.2
.debug_aranges 103120 103128 8 0.0
.debug_frame 348204 348244 40 0.0
.debug_info 22580798 22632488 51690 0.2
.debug_line 3329542 3331954 2412 0.1
.debug_loc 3350279 3350833 554 0.0
.debug_ranges 320400 320432 32 0.0
.debug_str 3277167 3277320 153 0.0
telink contact-sensor-app tlsr9518adk80d (read/write) 868060 868068 8 0.0
text 581740 581744 4 0.0
light-switch-app tlsr9518adk80d text 596342 596344 2 0.0
lighting-app tlsr9518adk80d (read/write) 962860 962868 8 0.0
text 662346 662350 4 0.0
ota-requestor-app tlsr9518adk80d text 607438 607440 2 0.0
Decreases (12 builds for bl602, esp32, linux, telink)
platform target config section 28778b8 cb81cfb change % change
bl602 lighting-app bl602 (read/write) 1343978 1343970 -8 -0.0
.text 1021492 1021488 -4 -0.0
bl602+rpc .text 1052164 1052162 -2 -0.0
esp32 all-clusters-app m5stack (read only) 1092823 1092819 -4 -0.0
.flash.text 1087439 1087435 -4 -0.0
linux all-clusters-app debug (read only) 3121393 3121377 -16 -0.0
.text 2654690 2654674 -16 -0.0
all-clusters-minimal-app debug (read only) 2933585 2933569 -16 -0.0
.text 2471506 2471490 -16 -0.0
chip-tool debug (read only) 11486321 11486305 -16 -0.0
.text 9355684 9355668 -16 -0.0
chip-tool-ipv6only arm64 (read only) 10879828 10879812 -16 -0.0
.text 8672772 8672756 -16 -0.0
ota-requestor-app debug (read only) 2358897 2358881 -16 -0.0
.text 2007170 2007154 -16 -0.0
shell debug (read only) 2653961 2653945 -16 -0.0
.text 2254050 2254034 -16 -0.0
tv-casting-app debug (read only) 5639393 5639377 -16 -0.0
.text 4999826 4999810 -16 -0.0
telink all-clusters-app tlsr9518adk80d text 687956 687954 -2 -0.0
all-clusters-minimal-app tlsr9518adk80d text 651246 651244 -2 -0.0
Full report (54 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 28778b8 cb81cfb change % change
bl602 lighting-app bl602 (read/write) 1343978 1343970 -8 -0.0
.bss 94730 94730 0 0.0
.data 9728 9728 0 0.0
.text 1021492 1021488 -4 -0.0
bl602+rpc (read/write) 1389146 1389146 0 0.0
.bss 102778 102778 0 0.0
.data 10120 10120 0 0.0
.text 1052164 1052162 -2 -0.0
bl702 lighting-app bl702 (read/write) 1199315 1199315 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 71181 71181 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4048 4048 0 0.0
.debug_abbrev 1538897 1541687 2790 0.2
.debug_aranges 133880 133888 8 0.0
.debug_frame 490720 490768 48 0.0
.debug_info 39912006 39967315 55309 0.1
.debug_line 5252223 5254908 2685 0.1
.debug_loc 3413033 3413325 292 0.0
.debug_ranges 372056 372088 32 0.0
.debug_str 3518605 3518758 153 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 115328 115328 0 0.0
.rsvd 2960 2960 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 570083 570083 0 0.0
.symtab 172576 172576 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
954386 954388 2 0.0
bl702+rpc (read/write) 1292119 1292119 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 79229 79229 0 0.0
.bss_psram 30304 30304 0 0.0
.comment 48 48 0 0.0
.data 4600 4600 0 0.0
.debug_abbrev 1687303 1690171 2868 0.2
.debug_aranges 142096 142104 8 0.0
.debug_frame 518384 518432 48 0.0
.debug_info 44301934 44357315 55381 0.1
.debug_line 5649999 5652684 2685 0.0
.debug_loc 3608981 3609257 276 0.0
.debug_ranges 395752 395784 32 0.0
.debug_str 3921739 3921892 153 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129824 129824 0 0.0
.rsvd 2960 2960 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 630557 630557 0 0.0
.symtab 190896 190896 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
1031538 1031540 2 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 675915 675915 0 0.0
(read/write) 175876 175876 0 0.0
.bss 81484 81484 0 0.0
.data 3380 3380 0 0.0
.rodata 86947 86947 0 0.0
.text 588656 588656 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 639555 639555 0 0.0
(read/write) 158220 158220 0 0.0
.bss 80724 80724 0 0.0
.data 3380 3380 0 0.0
.rodata 77035 77035 0 0.0
.text 562196 562196 0 0.0
lock-ftd LP_CC2652R7 (read only) 673631 673631 0 0.0
(read/write) 175696 175696 0 0.0
.bss 79108 79108 0 0.0
.data 3304 3304 0 0.0
.rodata 76015 76015 0 0.0
.text 597136 597136 0 0.0
lock-mtd LP_CC2652R7 (read only) 659563 659563 0 0.0
(read/write) 185028 185028 0 0.0
.bss 74372 74372 0 0.0
.data 3304 3304 0 0.0
.rodata 102443 102443 0 0.0
.text 556640 556640 0 0.0
pump-app LP_CC2652R7 (read only) 686535 686535 0 0.0
(read/write) 163520 163520 0 0.0
.bss 79068 79068 0 0.0
.data 3268 3268 0 0.0
.rodata 90055 90055 0 0.0
.text 596000 596000 0 0.0
pump-controller-app LP_CC2652R7 (read only) 671971 671971 0 0.0
(read/write) 178196 178196 0 0.0
.bss 79180 79180 0 0.0
.data 3292 3292 0 0.0
.rodata 86139 86139 0 0.0
.text 585352 585352 0 0.0
shell LP_CC2652R7 (read only) 667186 667186 0 0.0
(read/write) 186676 186676 0 0.0
.bss 83556 83556 0 0.0
.data 3376 3376 0 0.0
.rodata 83690 83690 0 0.0
.text 583180 583180 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 585122 585122 0 0.0
.app_xip_area 461148 461148 0 0.0
.bss 66432 66432 0 0.0
.data 728 728 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 588838 588846 8 0.0
.app_xip_area 459568 459576 8 0.0
.bss 71720 71720 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 549814 549814 0 0.0
.app_xip_area 431328 431328 0 0.0
.bss 60984 60984 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 973160 973160 0 0.0
.bss 147144 147144 0 0.0
.data 2188 2188 0 0.0
.text 823804 823804 0 0.0
BRD4161A+rs911x (read/write) 1036096 1036096 0 0.0
.bss 181632 181632 0 0.0
.data 2032 2032 0 0.0
.text 852412 852412 0 0.0
BRD4187C (read/write) 1150108 1150108 0 0.0
.bss 133644 133644 0 0.0
.data 2536 2536 0 0.0
.text 989332 989332 0 0.0
lock-app BRD4161A+wf200 (read/write) 1064316 1064316 0 0.0
.bss 153152 153152 0 0.0
.data 2040 2040 0 0.0
.text 909104 909104 0 0.0
window-app BRD4187C (read/write) 1142808 1142808 0 0.0
.bss 135060 135060 0 0.0
.data 2560 2560 0 0.0
.text 980592 980592 0 0.0
esp32 all-clusters-app c3devkit (read only) 1040748 1040748 0 0.0
(read/write) 1515146 1515146 0 0.0
.dram0.bss 75848 75848 0 0.0
.dram0.data 13784 13784 0 0.0
.flash.rodata 219280 219280 0 0.0
.flash.text 1040748 1040748 0 0.0
.iram0.text 72896 72896 0 0.0
m5stack (read only) 1092823 1092819 -4 -0.0
(read/write) 496807 496807 0 0.0
.dram0.bss 80888 80888 0 0.0
.dram0.data 34072 34072 0 0.0
.flash.rodata 248076 248076 0 0.0
.flash.text 1087439 1087435 -4 -0.0
.iram0.text 124855 124855 0 0.0
k32w contact k32w0+release (read/write) 660252 660252 0 0.0
.bss 77352 77352 0 0.0
.data 2104 2104 0 0.0
.text 561684 561684 0 0.0
light k32w0+release (read/write) 671776 671776 0 0.0
.bss 75144 75144 0 0.0
.data 2060 2060 0 0.0
.text 591844 591844 0 0.0
lock k32w0+release (read/write) 631652 631652 0 0.0
.bss 75904 75904 0 0.0
.data 2080 2080 0 0.0
.text 550940 550940 0 0.0
linux all-clusters-app debug (read only) 3121393 3121377 -16 -0.0
(read/write) 154032 154032 0 0.0
.bss 63488 63488 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 81688 81688 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1192 1192 0 0.0
.rodata 281835 281835 0 0.0
.text 2654690 2654674 -16 -0.0
all-clusters-minimal-app debug (read only) 2933585 2933569 -16 -0.0
(read/write) 147440 147440 0 0.0
.bss 62624 62624 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 76104 76104 0 0.0
.dynamic 608 608 0 0.0
.got 4688 4688 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 280491 280491 0 0.0
.text 2471506 2471490 -16 -0.0
bridge-app debug (read only) 2497233 2497233 0 0.0
(read/write) 132000 132000 0 0.0
.bss 53536 53536 0 0.0
.data 3632 3632 0 0.0
.data.rel.ro 68712 68712 0 0.0
.dynamic 608 608 0 0.0
.got 4608 4608 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 212544 212544 0 0.0
.text 2112818 2112818 0 0.0
chip-tool debug (read only) 11486321 11486305 -16 -0.0
(read/write) 644144 644144 0 0.0
.bss 26168 26168 0 0.0
.data 3042 3042 0 0.0
.data.rel.ro 608176 608176 0 0.0
.dynamic 608 608 0 0.0
.got 5352 5352 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 638277 638277 0 0.0
.text 9355684 9355668 -16 -0.0
chip-tool-ipv6only arm64 (read only) 10879828 10879812 -16 -0.0
(read/write) 693400 693400 0 0.0
.bss 34168 34168 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 636976 636976 0 0.0
.dynamic 560 560 0 0.0
.got 14048 14048 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 565028 565028 0 0.0
.text 8672772 8672756 -16 -0.0
lighting-app debug+rpc (read only) 2664809 2664809 0 0.0
(read/write) 131336 131336 0 0.0
.bss 50976 50976 0 0.0
.data 2288 2288 0 0.0
.data.rel.ro 71848 71848 0 0.0
.dynamic 608 608 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 228512 228512 0 0.0
.text 2259458 2259458 0 0.0
lock-app debug (read only) 2623537 2623537 0 0.0
(read/write) 126384 126384 0 0.0
.bss 49440 49440 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 68824 68824 0 0.0
.dynamic 608 608 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 244680 244680 0 0.0
.text 2206866 2206866 0 0.0
ota-provider-app debug (read only) 2197433 2197433 0 0.0
(read/write) 106128 106128 0 0.0
.bss 47616 47616 0 0.0
.data 2080 2080 0 0.0
.data.rel.ro 51320 51320 0 0.0
.dynamic 608 608 0 0.0
.got 3736 3736 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 196008 196008 0 0.0
.text 1861426 1861426 0 0.0
ota-requestor-app debug (read only) 2358897 2358881 -16 -0.0
(read/write) 113824 113824 0 0.0
.bss 50080 50080 0 0.0
.data 2448 2448 0 0.0
.data.rel.ro 56088 56088 0 0.0
.dynamic 608 608 0 0.0
.got 3736 3736 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 202736 202736 0 0.0
.text 2007170 2007154 -16 -0.0
shell debug (read only) 2653961 2653945 -16 -0.0
(read/write) 138528 138528 0 0.0
.bss 58888 58888 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 72568 72568 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 240018 240018 0 0.0
.text 2254050 2254034 -16 -0.0
thermostat-no-ble arm64 (read only) 2479452 2479452 0 0.0
(read/write) 144040 144040 0 0.0
.bss 56360 56360 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 76632 76632 0 0.0
.dynamic 560 560 0 0.0
.got 5192 5192 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 149832 149832 0 0.0
.text 2069024 2069024 0 0.0
tv-app debug (read only) 3288081 3288081 0 0.0
(read/write) 259248 259248 0 0.0
.bss 170776 170776 0 0.0
.data 3904 3904 0 0.0
.data.rel.ro 77856 77856 0 0.0
.dynamic 608 608 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 269208 269208 0 0.0
.text 2824578 2824578 0 0.0
tv-casting-app debug (read only) 5639393 5639377 -16 -0.0
(read/write) 161816 161816 0 0.0
.bss 53368 53368 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 99880 99880 0 0.0
.dynamic 608 608 0 0.0
.got 4928 4928 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 361433 361433 0 0.0
.text 4999826 4999810 -16 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2461952 2461952 0 0.0
.bss 215956 215956 0 0.0
.data 5872 5872 0 0.0
.text 1424596 1424596 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1163400 1163400 0 0.0
bss 147056 147056 0 0.0
rodata 132632 132632 0 0.0
text 803564 803564 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1365104 1365104 0 0.0
bss 106356 106356 0 0.0
rodata 210116 210116 0 0.0
text 762800 762800 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1109240 1109240 0 0.0
bss 146259 146259 0 0.0
rodata 109912 109912 0 0.0
text 772964 772964 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841008 841008 0 0.0
(read/write) 1748420 1748420 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189672 189672 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1247001 1249932 2931 0.2
.debug_aranges 111184 111192 8 0.0
.debug_frame 373384 373424 40 0.0
.debug_info 27324910 27387322 62412 0.2
.debug_line 3753136 3755580 2444 0.1
.debug_loc 3643491 3643957 466 0.0
.debug_ranges 356352 356384 32 0.0
.debug_str 3470157 3470310 153 0.0
.heap 841008 841008 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 575120 575120 0 0.0
.symtab 423200 423200 0 0.0
.text 1547696 1547696 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 841776 841776 0 0.0
(read/write) 1689852 1689852 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188912 188912 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2656 2656 0 0.0
.debug_abbrev 1232808 1235643 2835 0.2
.debug_aranges 110448 110456 8 0.0
.debug_frame 375828 375868 40 0.0
.debug_info 26886482 26947186 60704 0.2
.debug_line 3761933 3764417 2484 0.1
.debug_loc 3626891 3627356 465 0.0
.debug_ranges 354320 354352 32 0.0
.debug_str 3454963 3455116 153 0.0
.heap 841776 841776 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 535500 535500 0 0.0
.symtab 408160 408160 0 0.0
.text 1489896 1489896 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 849952 849952 0 0.0
(read/write) 1609948 1609948 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180936 180936 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2456 2456 0 0.0
.debug_abbrev 1067806 1070467 2661 0.2
.debug_aranges 102736 102744 8 0.0
.debug_frame 346404 346444 40 0.0
.debug_info 22362394 22415666 53272 0.2
.debug_line 3328440 3330866 2426 0.1
.debug_loc 3328766 3329229 463 0.0
.debug_ranges 318544 318576 32 0.0
.debug_str 3260760 3260913 153 0.0
.heap 849952 849952 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 473441 473441 0 0.0
.symtab 377392 377392 0 0.0
.text 1418168 1418168 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 844960 844960 0 0.0
(read/write) 1644012 1644012 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185912 185912 0 0.0
.comment 200 200 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2472 2472 0 0.0
.debug_abbrev 1069852 1072513 2661 0.2
.debug_aranges 103120 103128 8 0.0
.debug_frame 348204 348244 40 0.0
.debug_info 22580798 22632488 51690 0.2
.debug_line 3329542 3331954 2412 0.1
.debug_loc 3350279 3350833 554 0.0
.debug_ranges 320400 320432 32 0.0
.debug_str 3277167 3277320 153 0.0
.heap 844960 844960 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 476376 476376 0 0.0
.symtab 379216 379216 0 0.0
.text 1447240 1447240 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1147692 1147692 0 0.0
.bss 100668 100668 0 0.0
.data 840 840 0 0.0
.text 594792 594792 0 0.0
lock-app qpg6105+debug (read/write) 1115044 1115044 0 0.0
.bss 97188 97188 0 0.0
.data 852 852 0 0.0
.text 562140 562140 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1025096 1025096 0 0.0
bss 98492 98492 0 0.0
text 687956 687954 -2 -0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 963436 963436 0 0.0
bss 97680 97680 0 0.0
text 651246 651244 -2 -0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 868060 868068 8 0.0
bss 89844 89844 0 0.0
text 581740 581744 4 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 884516 884516 0 0.0
bss 89940 89940 0 0.0
text 596342 596344 2 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 962860 962868 8 0.0
bss 97996 97996 0 0.0
text 662346 662350 4 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 898332 898332 0 0.0
bss 90888 90888 0 0.0
text 607438 607440 2 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 887740 887740 0 0.0
bss 91328 91328 0 0.0
text 597104 597104 0 0.0

src/lib/core/TLVReader.cpp Outdated Show resolved Hide resolved
src/lib/core/TLVReader.cpp Outdated Show resolved Hide resolved
src/lib/core/TLVReader.h Outdated Show resolved Hide resolved
emargolis and others added 4 commits January 22, 2023 23:23
 - buffer underrun error: happens when encoded tlv data buffer length
   is shorter than needed.
 - wrong tlv type error, happens when bytestring is encoded
   while utf-8 string was expected.
Co-authored-by: Karsten Sperling <[email protected]>
Co-authored-by: Karsten Sperling <[email protected]>
Co-authored-by: Karsten Sperling <[email protected]>
@github-actions
Copy link

github-actions bot commented Jan 23, 2023

PR #24528: Size comparison from 28778b8 to b71fc03

Increases above 0.2%:

platform target config section 28778b8 b71fc03 change % change
bl702 lighting-app bl702 .debug_abbrev 1538897 1549484 10587 0.7
.debug_info 39912006 40183241 271235 0.7
.debug_line 5252223 5263943 11720 0.2
.debug_str 3518605 3531489 12884 0.4
.shstrtab 293 304 11 3.8
.symtab 172576 173120 544 0.3
.tcmcode 3338 3358 20 0.6
bl702+rpc .debug_abbrev 1687303 1697809 10506 0.6
.debug_info 44301934 44579798 277864 0.6
.debug_line 5649999 5661997 11998 0.2
.debug_str 3921739 3934667 12928 0.3
.shstrtab 293 304 11 3.8
.symtab 190896 191440 544 0.3
.tcmcode 3338 3358 20 0.6
linux thermostat-no-ble arm64 (read only) 2479452 2500628 21176 0.9
(read/write) 144040 144632 592 0.4
.data 1816 1824 8 0.4
.data.rel.ro 76632 76920 288 0.4
.got 5192 5392 200 3.9
.rodata 149832 150656 824 0.5
.text 2069024 2088192 19168 0.9
qpg lighting-app qpg6105+debug .data 840 844 4 0.5
lock-app qpg6105+debug .data 852 856 4 0.5
Increases (15 builds for bl602, bl702, k32w, linux, mbed, nrfconnect, qpg)
platform target config section 28778b8 b71fc03 change % change
bl602 lighting-app bl602 (read/write) 1343978 1344590 612 0.0
.bss 94730 94858 128 0.1
.data 9728 9736 8 0.1
.text 1021492 1021796 304 0.0
bl602+rpc (read/write) 1389146 1390014 868 0.1
.bss 102778 102906 128 0.1
.text 1052164 1052728 564 0.1
bl702 lighting-app bl702 .data 4048 4056 8 0.2
.debug_abbrev 1538897 1549484 10587 0.7
.debug_aranges 133880 134000 120 0.1
.debug_frame 490720 490776 56 0.0
.debug_info 39912006 40183241 271235 0.7
.debug_line 5252223 5263943 11720 0.2
.debug_str 3518605 3531489 12884 0.4
.shstrtab 293 304 11 3.8
.strtab 570083 570983 900 0.2
.symtab 172576 173120 544 0.3
.tcmcode 3338 3358 20 0.6
bl702+rpc .data 4600 4608 8 0.2
.debug_abbrev 1687303 1697809 10506 0.6
.debug_aranges 142096 142216 120 0.1
.debug_frame 518384 518440 56 0.0
.debug_info 44301934 44579798 277864 0.6
.debug_line 5649999 5661997 11998 0.2
.debug_str 3921739 3934667 12928 0.3
.shstrtab 293 304 11 3.8
.strtab 630557 631457 900 0.1
.symtab 190896 191440 544 0.3
.tcmcode 3338 3358 20 0.6
k32w contact k32w0+release (read/write) 660252 660328 76 0.0
.bss 77352 77360 8 0.0
.data 2104 2108 4 0.2
.text 561684 561748 64 0.0
light k32w0+release (read/write) 671776 672044 268 0.0
.data 2060 2064 4 0.2
.text 591844 592108 264 0.0
lock k32w0+release (read/write) 631652 631712 60 0.0
.bss 75904 75912 8 0.0
.data 2080 2084 4 0.2
.text 550940 550988 48 0.0
linux chip-tool-ipv6only arm64 (read only) 10879828 10883236 3408 0.0
(read/write) 693400 693432 32 0.0
.bss 34168 34184 16 0.0
.got 14048 14064 16 0.1
.rodata 565028 565316 288 0.1
.text 8672772 8675844 3072 0.0
thermostat-no-ble arm64 (read only) 2479452 2500628 21176 0.9
(read/write) 144040 144632 592 0.4
.bss 56360 56456 96 0.2
.data 1816 1824 8 0.4
.data.rel.ro 76632 76920 288 0.4
.got 5192 5392 200 3.9
.rodata 149832 150656 824 0.5
.text 2069024 2088192 19168 0.9
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2461952 2462256 304 0.0
.data 5872 5880 8 0.1
.text 1424596 1424900 304 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1163400 1163704 304 0.0
rodata 132632 132800 168 0.1
text 803564 803696 132 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1365104 1365404 300 0.0
rodata 210116 210284 168 0.1
text 762800 762928 128 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1109240 1109560 320 0.0
rodata 109912 110080 168 0.2
text 772964 773096 132 0.0
qpg lighting-app qpg6105+debug (read/write) 1147692 1147900 208 0.0
.data 840 844 4 0.5
.text 594792 594996 204 0.0
lock-app qpg6105+debug (read/write) 1115044 1115276 232 0.0
.data 852 856 4 0.5
.text 562140 562376 236 0.0
Decreases (2 builds for bl702)
platform target config section 28778b8 b71fc03 change % change
bl702 lighting-app bl702 (read/write) 1199315 1184471 -14844 -1.2
.bss 71181 70701 -480 -0.7
.debug_loc 3413033 3398635 -14398 -0.4
.debug_ranges 372056 371568 -488 -0.1
.rodata 115328 106544 -8784 -7.6
.text 954386 952036 -2350 -0.2
bl702+rpc (read/write) 1292119 1276907 -15212 -1.2
.bss 79229 78749 -480 -0.6
.debug_loc 3608981 3594539 -14442 -0.4
.debug_ranges 395752 395264 -488 -0.1
.rodata 129824 121024 -8800 -6.8
.text 1031538 1028876 -2662 -0.3
Full report (15 builds for bl602, bl702, k32w, linux, mbed, nrfconnect, qpg)
platform target config section 28778b8 b71fc03 change % change
bl602 lighting-app bl602 (read/write) 1343978 1344590 612 0.0
.bss 94730 94858 128 0.1
.data 9728 9736 8 0.1
.text 1021492 1021796 304 0.0
bl602+rpc (read/write) 1389146 1390014 868 0.1
.bss 102778 102906 128 0.1
.data 10120 10120 0 0.0
.text 1052164 1052728 564 0.1
bl702 lighting-app bl702 0 0 0 0.0
(read/write) 1199315 1184471 -14844 -1.2
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 71181 70701 -480 -0.7
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4048 4056 8 0.2
.debug_abbrev 1538897 1549484 10587 0.7
.debug_aranges 133880 134000 120 0.1
.debug_frame 490720 490776 56 0.0
.debug_info 39912006 40183241 271235 0.7
.debug_line 5252223 5263943 11720 0.2
.debug_loc 3413033 3398635 -14398 -0.4
.debug_ranges 372056 371568 -488 -0.1
.debug_str 3518605 3531489 12884 0.4
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 115328 106544 -8784 -7.6
.rsvd 2960 2960 0 0.0
.shstrtab 293 304 11 3.8
.stack 2048 2048 0 0.0
.strtab 570083 570983 900 0.2
.symtab 172576 173120 544 0.3
.tcm_data 36 36 0 0.0
.tcmcode 3338 3358 20 0.6
.text 954386 952036 -2350 -0.2
bl702+rpc 0 0 0 0.0
(read/write) 1292119 1276907 -15212 -1.2
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 79229 78749 -480 -0.6
.bss_psram 30304 30304 0 0.0
.comment 48 48 0 0.0
.data 4600 4608 8 0.2
.debug_abbrev 1687303 1697809 10506 0.6
.debug_aranges 142096 142216 120 0.1
.debug_frame 518384 518440 56 0.0
.debug_info 44301934 44579798 277864 0.6
.debug_line 5649999 5661997 11998 0.2
.debug_loc 3608981 3594539 -14442 -0.4
.debug_ranges 395752 395264 -488 -0.1
.debug_str 3921739 3934667 12928 0.3
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 129824 121024 -8800 -6.8
.rsvd 2960 2960 0 0.0
.shstrtab 293 304 11 3.8
.stack 2048 2048 0 0.0
.strtab 630557 631457 900 0.1
.symtab 190896 191440 544 0.3
.tcm_data 36 36 0 0.0
.tcmcode 3338 3358 20 0.6
.text 1031538 1028876 -2662 -0.3
k32w contact k32w0+release (read/write) 660252 660328 76 0.0
.bss 77352 77360 8 0.0
.data 2104 2108 4 0.2
.text 561684 561748 64 0.0
light k32w0+release (read/write) 671776 672044 268 0.0
.bss 75144 75144 0 0.0
.data 2060 2064 4 0.2
.text 591844 592108 264 0.0
lock k32w0+release (read/write) 631652 631712 60 0.0
.bss 75904 75912 8 0.0
.data 2080 2084 4 0.2
.text 550940 550988 48 0.0
linux chip-tool-ipv6only arm64 (read only) 10879828 10883236 3408 0.0
(read/write) 693400 693432 32 0.0
.bss 34168 34184 16 0.0
.data 3008 3008 0 0.0
.data.rel.ro 636976 636976 0 0.0
.dynamic 560 560 0 0.0
.got 14048 14064 16 0.1
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 565028 565316 288 0.1
.text 8672772 8675844 3072 0.0
thermostat-no-ble arm64 (read only) 2479452 2500628 21176 0.9
(read/write) 144040 144632 592 0.4
.bss 56360 56456 96 0.2
.data 1816 1824 8 0.4
.data.rel.ro 76632 76920 288 0.4
.dynamic 560 560 0 0.0
.got 5192 5392 200 3.9
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 149832 150656 824 0.5
.text 2069024 2088192 19168 0.9
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2461952 2462256 304 0.0
.bss 215956 215956 0 0.0
.data 5872 5880 8 0.1
.text 1424596 1424900 304 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1163400 1163704 304 0.0
bss 147056 147056 0 0.0
rodata 132632 132800 168 0.1
text 803564 803696 132 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1365104 1365404 300 0.0
bss 106356 106356 0 0.0
rodata 210116 210284 168 0.1
text 762800 762928 128 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1109240 1109560 320 0.0
bss 146259 146259 0 0.0
rodata 109912 110080 168 0.2
text 772964 773096 132 0.0
qpg lighting-app qpg6105+debug (read/write) 1147692 1147900 208 0.0
.bss 100668 100668 0 0.0
.data 840 844 4 0.5
.text 594792 594996 204 0.0
lock-app qpg6105+debug (read/write) 1115044 1115276 232 0.0
.bss 97188 97188 0 0.0
.data 852 856 4 0.5
.text 562140 562376 236 0.0

@github-actions
Copy link

PR #24528: Size comparison from 28778b8 to 735d2e5

Increases (4 builds for mbed, nrfconnect)
platform target config section 28778b8 735d2e5 change % change
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2461952 2462256 304 0.0
.data 5872 5880 8 0.1
.text 1424596 1424900 304 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1163400 1163704 304 0.0
rodata 132632 132800 168 0.1
text 803564 803696 132 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1109240 1109560 320 0.0
rodata 109912 110080 168 0.2
text 772964 773096 132 0.0
all-clusters-app nrf7002dk_nrf5340_cpuapp (read/write) 1365104 1365404 300 0.0
rodata 210116 210284 168 0.1
text 762800 762928 128 0.0
Full report (4 builds for mbed, nrfconnect)
platform target config section 28778b8 735d2e5 change % change
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2461952 2462256 304 0.0
.bss 215956 215956 0 0.0
.data 5872 5880 8 0.1
.text 1424596 1424900 304 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1163400 1163704 304 0.0
bss 147056 147056 0 0.0
rodata 132632 132800 168 0.1
text 803564 803696 132 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1109240 1109560 320 0.0
bss 146259 146259 0 0.0
rodata 109912 110080 168 0.2
text 772964 773096 132 0.0
all-clusters-app nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1365104 1365404 300 0.0
bss 106356 106356 0 0.0
rodata 210116 210284 168 0.1
text 762800 762928 128 0.0

@andy31415 andy31415 merged commit 0dec57a into project-chip:master Jan 23, 2023
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
…p#24528)

* [tlv] Implemented Getter for Localized String Identifier

New method TLVReader::Get(Optional<LocalizedStringIdentifier>&) returns
Localized String Identifier if present.

The method takes what's after the first Information Separator 1 <IS1>, and until end of string
or second <IS1>, and return the hex-decoded string identifier, if one was there.

* Added two error test cases:
 - buffer underrun error: happens when encoded tlv data buffer length
   is shorter than needed.
 - wrong tlv type error, happens when bytestring is encoded
   while utf-8 string was expected.

* Update src/lib/core/TLVReader.h

Co-authored-by: Karsten Sperling <[email protected]>

* Update src/lib/core/TLVReader.cpp

Co-authored-by: Karsten Sperling <[email protected]>

* Update src/lib/core/TLVReader.cpp

Co-authored-by: Karsten Sperling <[email protected]>

* Added check for leading zeroes in the Localized String Identifier.

Co-authored-by: Karsten Sperling <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TLV] Implement TLV Getter for Localized String Identifier Field
8 participants