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

[zephyr] Run shell commands in Matter thread #28623

Merged
merged 1 commit into from Aug 16, 2023

Conversation

Damian-Nordic
Copy link
Contributor

@Damian-Nordic Damian-Nordic commented Aug 10, 2023

  1. Run Matter shell commands in Matter thread instead of Zephyr's shell thread. Make the shell thread wait for the condition variable signalled when the command ends in the Matter thread.

    This is done to avoid data races when accessing Matter's data structures, and avoid stack overflow when executing Matter functions in the shell thread that uses a relatively small stack.

  2. Print either:

    • "Done" or
    • "Error: <error_string_or_code>"

    after each shell command. This is to align with other platforms and be able to remove unnecessary logging from existing shell command implementations.

@github-actions
Copy link

github-actions bot commented Aug 10, 2023

PR #28623: Size comparison from 570eb83 to f3ff348

Increases above 0.2%:

platform target config section 570eb83 f3ff348 change % change
linux shell debug .data 784 800 16 2.0
Increases (16 builds for bl602, cc32xx, linux, nrfconnect, psoc6, telink)
platform target config section 570eb83 f3ff348 change % change
bl602 lighting-app bl602 (read/write) 1364494 1364502 8 0.0
.text 1057528 1057530 2 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 19421380 19421381 1 0.0
linux shell debug (read only) 2937481 2937513 32 0.0
.data 784 800 16 2.0
.rodata 212242 212274 32 0.0
tv-app debug .text 4799699 4799715 16 0.0
tv-casting-app debug .text 7527315 7527331 16 0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 810208 810212 4 0.0
psoc6 lock cy8ckit_062s2_43012 .debug_info 22284510 22284511 1 0.0
telink all-clusters-minimal-app tlsr9518adk80d text 669782 669786 4 0.0
bridge-app tlsr9518adk80d text 647036 647038 2 0.0
light-switch-app tlsr9518adk80d (read/write) 907468 907476 8 0.0
text 618156 618158 2 0.0
lighting-app-factory-data tlsr9518adk80d text 693306 693308 2 0.0
lighting-app-shell tlsr9518adk80d (read/write) 1083316 1083416 100 0.0
text 750828 750910 82 0.0
lock-app tlsr9518adk80d (read/write) 933616 933624 8 0.0
text 621100 621102 2 0.0
ota-requestor-app tlsr9518adk80d (read/write) 898744 898752 8 0.0
text 612268 612270 2 0.0
pump-app tlsr9518adk80d text 596028 596030 2 0.0
shell tlsr9518adk80d (read/write) 744196 744296 100 0.0
text 478656 478738 82 0.0
Decreases (11 builds for bl702, bl702l, linux, psoc6, telink)
platform target config section 570eb83 f3ff348 change % change
bl702 lighting-app bl702+rpc .debug_info 46401873 46401872 -1 -0.0
.text 1029364 1029362 -2 -0.0
bl702l lighting-app bl702l (read/write) 1153396 1153392 -4 -0.0
.debug_info 41508284 41508283 -1 -0.0
.text 943690 943688 -2 -0.0
linux tv-app debug (read only) 5315713 5315697 -16 -0.0
.rodata 272374 272342 -32 -0.0
tv-casting-app debug (read only) 8295121 8295105 -16 -0.0
.rodata 367644 367612 -32 -0.0
psoc6 all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27228621 27228620 -1 -0.0
light cy8ckit_062s2_43012 .debug_info 22370961 22370959 -2 -0.0
telink contact-sensor-app tlsr9518adk80d (read/write) 876172 876164 -8 -0.0
text 590426 590424 -2 -0.0
lighting-app-rpc tlsr9518adk80d text 730724 730722 -2 -0.0
pump-controller-app tlsr9518adk80d text 586494 586492 -2 -0.0
temperature-measurement-app tlsr9518adk80d text 582142 582138 -4 -0.0
thermostat tlsr9518adk80d text 621470 621466 -4 -0.0
Full report (60 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 570eb83 f3ff348 change % change
bl602 lighting-app bl602 (read/write) 1364494 1364502 8 0.0
.bss 73622 73622 0 0.0
.data 9560 9560 0 0.0
.text 1057528 1057530 2 0.0
bl602+rpc (read/write) 1411962 1411962 0 0.0
.bss 81662 81662 0 0.0
.data 9952 9952 0 0.0
.text 1089464 1089464 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1167527 1167527 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41285 41285 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 3544 3544 0 0.0
.debug_abbrev 1567358 1567358 0 0.0
.debug_aranges 140392 140392 0 0.0
.debug_frame 516600 516600 0 0.0
.debug_info 41507174 41507174 0 0.0
.debug_line 5484197 5484197 0 0.0
.debug_loc 3564711 3564711 0 0.0
.debug_ranges 384528 384528 0 0.0
.debug_str 4012409 4012409 0 0.0
.hbn 544 544 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 106920 106920 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 589524 589524 0 0.0
.symtab 175792 175792 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
954680 954680 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1266463 1266463 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1744488 1744488 0 0.0
.debug_aranges 148936 148936 0 0.0
.debug_frame 545504 545504 0 0.0
.debug_info 46401873 46401872 -1 -0.0
.debug_line 5896719 5896719 0 0.0
.debug_loc 3770867 3770867 0 0.0
.debug_ranges 410280 410280 0 0.0
.debug_str 4432274 4432274 0 0.0
.hbn 544 544 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 121572 121572 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 652487 652487 0 0.0
.symtab 194720 194720 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1029364 1029362 -2 -0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153396 1153392 -4 -0.0
.boot2 292 292 0 0.0
.bss 15988 15988 0 0.0
.bss_psram 77840 77840 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1569577 1569577 0 0.0
.debug_aranges 134896 134896 0 0.0
.debug_frame 496288 496288 0 0.0
.debug_info 41508284 41508283 -1 -0.0
.debug_line 5399891 5399891 0 0.0
.debug_loc 3500836 3500836 0 0.0
.debug_ranges 389736 389736 0 0.0
.debug_str 4024878 4024878 0 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 100804 100804 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 589739 589739 0 0.0
.symtab 175344 175344 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
943690 943688 -2 -0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 615642 615642 0 0.0
(read/write) 207744 207744 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 201184 201184 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 961965 961965 0 0.0
.debug_aranges 109048 109048 0 0.0
.debug_frame 369816 369816 0 0.0
.debug_info 19421380 19421381 1 0.0
.debug_line 2813775 2813775 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1596785 1596785 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 100571 100571 0 0.0
.debug_str 3427024 3427024 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106282 106282 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 496303 496303 0 0.0
.symtab 293312 293312 0 0.0
.text 507240 507240 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 550207 550207 0 0.0
.app_xip_area 441497 441497 0 0.0
.bss 63728 63728 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 537287 537287 0 0.0
.app_xip_area 423529 423529 0 0.0
.bss 68752 68752 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 573991 573991 0 0.0
.app_xip_area 466361 466361 0 0.0
.bss 62720 62720 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 548943 548943 0 0.0
.app_xip_area 438305 438305 0 0.0
.bss 65632 65632 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1012028 1012028 0 0.0
.bss 184524 184524 0 0.0
.data 2652 2652 0 0.0
.text 824832 824832 0 0.0
BRD4187C (read/write) 1036596 1036596 0 0.0
.bss 164108 164108 0 0.0
.data 3248 3248 0 0.0
.text 869220 869220 0 0.0
lock-app BRD4161A+wf200 (read/write) 1088760 1088760 0 0.0
.bss 178580 178580 0 0.0
.data 2672 2672 0 0.0
.text 907488 907488 0 0.0
window-app BRD4187C (read/write) 1108064 1108064 0 0.0
.bss 147148 147148 0 0.0
.data 3132 3132 0 0.0
.text 957764 957764 0 0.0
esp32 all-clusters-app c3devkit (read only) 1150970 1150970 0 0.0
(read/write) 1702092 1702092 0 0.0
.dram0.bss 79048 79048 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 266216 266216 0 0.0
.flash.text 1150970 1150970 0 0.0
.iram0.text 75262 75262 0 0.0
m5stack (read only) 1192731 1192731 0 0.0
(read/write) 550302 550302 0 0.0
.dram0.bss 85416 85416 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 297208 297208 0 0.0
.flash.text 1187347 1187347 0 0.0
.iram0.text 123311 123311 0 0.0
k32w contact k32w0+release (read only) 590564 590564 0 0.0
(read/write) 88096 88096 0 0.0
.bss 71344 71344 0 0.0
.data 2128 2128 0 0.0
.text 590028 590028 0 0.0
light k32w0+release (read only) 589364 589364 0 0.0
(read/write) 87748 87748 0 0.0
.bss 71008 71008 0 0.0
.data 2116 2116 0 0.0
.text 588828 588828 0 0.0
lock k32w0+release (read only) 561700 561700 0 0.0
(read/write) 85548 85548 0 0.0
.bss 68864 68864 0 0.0
.data 2060 2060 0 0.0
.text 561164 561164 0 0.0
linux all-clusters-app debug (read only) 5516529 5516529 0 0.0
(read/write) 418144 418144 0 0.0
.bss 130464 130464 0 0.0
.data 4016 4016 0 0.0
.data.rel.ro 276320 276320 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1304 1304 0 0.0
.rodata 335824 335824 0 0.0
.text 4802835 4802835 0 0.0
all-clusters-minimal-app debug (read only) 4901297 4901297 0 0.0
(read/write) 231392 231392 0 0.0
.bss 126016 126016 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 94376 94376 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 271910 271910 0 0.0
.text 4399187 4399187 0 0.0
bridge-app debug (read only) 2768993 2768993 0 0.0
(read/write) 132816 132816 0 0.0
.bss 51480 51480 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 71400 71400 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214472 214472 0 0.0
.text 2376995 2376995 0 0.0
chip-tool debug (read only) 17605649 17605649 0 0.0
(read/write) 1046144 1046144 0 0.0
.bss 93752 93752 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 939952 939952 0 0.0
.dynamic 624 624 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 900209 900209 0 0.0
.text 14672035 14672035 0 0.0
chip-tool-ipv6only arm64 (read only) 16838820 16838820 0 0.0
(read/write) 1113528 1113528 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 977304 977304 0 0.0
.dynamic 512 512 0 0.0
.got 23272 23272 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 812400 812400 0 0.0
.text 13808488 13808488 0 0.0
lighting-app debug+rpc+ui (read only) 5240417 5240417 0 0.0
(read/write) 222056 222056 0 0.0
.bss 117712 117712 0 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92240 92240 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 336948 336948 0 0.0
.text 4661395 4661395 0 0.0
lock-app debug (read only) 4471425 4471425 0 0.0
(read/write) 202808 202808 0 0.0
.bss 113328 113328 0 0.0
.data 3728 3728 0 0.0
.data.rel.ro 78960 78960 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 247814 247814 0 0.0
.text 4014259 4014259 0 0.0
ota-provider-app debug (read only) 4127609 4127609 0 0.0
(read/write) 191872 191872 0 0.0
.bss 113504 113504 0 0.0
.data 4000 4000 0 0.0
.data.rel.ro 68448 68448 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 200998 200998 0 0.0
.text 3736291 3736291 0 0.0
ota-requestor-app debug (read only) 4221521 4221521 0 0.0
(read/write) 196184 196184 0 0.0
.bss 114560 114560 0 0.0
.data 4240 4240 0 0.0
.data.rel.ro 71448 71448 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204390 204390 0 0.0
.text 3822483 3822483 0 0.0
shell debug (read only) 2937481 2937513 32 0.0
(read/write) 150720 150720 0 0.0
.bss 60008 60008 0 0.0
.data 784 800 16 2.0
.data.rel.ro 84056 84056 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 212242 212274 32 0.0
.text 2554274 2554274 0 0.0
thermostat-no-ble arm64 (read only) 4450484 4450484 0 0.0
(read/write) 243848 243848 0 0.0
.bss 122280 122280 0 0.0
.data 2880 2880 0 0.0
.data.rel.ro 102232 102232 0 0.0
.dynamic 512 512 0 0.0
.got 11984 11984 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 162012 162012 0 0.0
.text 3950392 3950392 0 0.0
tv-app debug (read only) 5315713 5315697 -16 -0.0
(read/write) 349856 349856 0 0.0
.bss 241280 241280 0 0.0
.data 5104 5104 0 0.0
.data.rel.ro 96048 96048 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272374 272342 -32 -0.0
.text 4799699 4799715 16 0.0
tv-casting-app debug (read only) 8295121 8295105 -16 -0.0
(read/write) 210568 210568 0 0.0
.bss 54208 54208 0 0.0
.data 2544 2544 0 0.0
.data.rel.ro 147016 147016 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 367644 367612 -32 -0.0
.text 7527315 7527331 16 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2522144 2522144 0 0.0
.bss 219904 219904 0 0.0
.data 5128 5128 0 0.0
.text 1484828 1484828 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1219848 1219848 0 0.0
bss 154612 154612 0 0.0
rodata 141436 141436 0 0.0
text 844848 844848 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1338184 1338184 0 0.0
bss 140070 140070 0 0.0
rodata 135504 135504 0 0.0
text 771916 771916 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1156764 1156764 0 0.0
bss 154791 154791 0 0.0
rodata 112776 112776 0 0.0
text 810208 810212 4 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837688 837688 0 0.0
(read/write) 1768476 1768476 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193116 193116 0 0.0
.comment 212 212 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 2536 2536 0 0.0
.debug_abbrev 1382361 1382361 0 0.0
.debug_aranges 143936 143936 0 0.0
.debug_frame 479412 479412 0 0.0
.debug_info 30260598 30260598 0 0.0
.debug_line 4149904 4149904 0 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2248582 2248582 0 0.0
.debug_rnglists 142380 142380 0 0.0
.debug_str 4124825 4124825 0 0.0
.heap 837688 837688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 805861 805861 0 0.0
.symtab 501680 501680 0 0.0
.text 0 0 0 0.0
1564436 1564436 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839648 839648 0 0.0
(read/write) 1674236 1674236 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 191228 191228 0 0.0
.comment 212 212 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 2464 2464 0 0.0
.debug_abbrev 1285068 1285068 0 0.0
.debug_aranges 137200 137200 0 0.0
.debug_frame 462360 462360 0 0.0
.debug_info 27228621 27228620 -1 -0.0
.debug_line 3961044 3961044 0 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2148953 2148953 0 0.0
.debug_rnglists 135480 135480 0 0.0
.debug_str 3979246 3979246 0 0.0
.heap 839648 839648 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 713312 713312 0 0.0
.symtab 465808 465808 0 0.0
.text 1472156 1472156 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 845912 845912 0 0.0
(read/write) 1605732 1605732 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185076 185076 0 0.0
.comment 212 212 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 2352 2352 0 0.0
.debug_abbrev 1125291 1125291 0 0.0
.debug_aranges 127328 127328 0 0.0
.debug_frame 425504 425504 0 0.0
.debug_info 22370961 22370959 -2 -0.0
.debug_line 3526349 3526349 0 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1986068 1986068 0 0.0
.debug_rnglists 125250 125250 0 0.0
.debug_str 3787318 3787318 0 0.0
.heap 845912 845912 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 634304 634304 0 0.0
.symtab 430448 430448 0 0.0
.text 1409916 1409916 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818392 818392 0 0.0
(read/write) 1639236 1639236 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212580 212580 0 0.0
.comment 212 212 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 2368 2368 0 0.0
.debug_abbrev 1116755 1116755 0 0.0
.debug_aranges 126240 126240 0 0.0
.debug_frame 421532 421532 0 0.0
.debug_info 22284510 22284511 1 0.0
.debug_line 3481800 3481800 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1966477 1966477 0 0.0
.debug_rnglists 123426 123426 0 0.0
.debug_str 3751856 3751856 0 0.0
.heap 818392 818392 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 608204 608204 0 0.0
.symtab 422576 422576 0 0.0
.text 1415900 1415900 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1177860 1177860 0 0.0
.bss 101176 101176 0 0.0
.data 744 744 0 0.0
.text 624704 624704 0 0.0
lock-app qpg6105+debug (read/write) 1134932 1134932 0 0.0
.bss 95896 95896 0 0.0
.data 748 748 0 0.0
.text 581772 581772 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1071692 1071692 0 0.0
bss 107308 107308 0 0.0
text 730412 730412 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 976808 976808 0 0.0
bss 105284 105284 0 0.0
text 669782 669786 4 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944208 944208 0 0.0
bss 109660 109660 0 0.0
text 647036 647038 2 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876172 876164 -8 -0.0
bss 98840 98840 0 0.0
text 590426 590424 -2 -0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 907468 907476 8 0.0
bss 99464 99464 0 0.0
text 618156 618158 2 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 982464 982464 0 0.0
bss 107516 107516 0 0.0
text 685792 685792 0 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 993828 993828 0 0.0
bss 111764 111764 0 0.0
text 693306 693308 2 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1051988 1051988 0 0.0
bss 109088 109088 0 0.0
text 730724 730722 -2 -0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1083316 1083416 100 0.0
bss 120164 120164 0 0.0
text 750828 750910 82 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 933616 933624 8 0.0
bss 99560 99560 0 0.0
text 621100 621102 2 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 898744 898752 8 0.0
bss 100148 100148 0 0.0
text 612268 612270 2 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 881564 881564 0 0.0
bss 98972 98972 0 0.0
text 596028 596030 2 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 868744 868744 0 0.0
bss 98772 98772 0 0.0
text 586494 586492 -2 -0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744196 744296 100 0.0
bss 97208 97208 0 0.0
text 478656 478738 82 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 878656 878656 0 0.0
bss 98952 98952 0 0.0
text 593902 593902 0 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 864924 864924 0 0.0
bss 98680 98680 0 0.0
text 582142 582138 -4 -0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 910756 910756 0 0.0
bss 99224 99224 0 0.0
text 621470 621466 -4 -0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 906544 906544 0 0.0
bss 99560 99560 0 0.0
text 616776 616776 0 0.0

src/lib/shell/MainLoopDefault.cpp Outdated Show resolved Hide resolved
src/lib/shell/streamer.cpp Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Aug 11, 2023

PR #28623: Size comparison from c57aec6 to 5c436f8

Increases above 0.2%:

platform target config section c57aec6 5c436f8 change % change
linux shell debug .data 784 800 16 2.0
Increases (15 builds for bl602, bl702, cc32xx, linux, psoc6, telink)
platform target config section c57aec6 5c436f8 change % change
bl602 lighting-app bl602 (read/write) 1364774 1364782 8 0.0
.text 1057648 1057650 2 0.0
bl702 lighting-app bl702+rpc (read/write) 1266739 1266743 4 0.0
.debug_info 46401255 46401257 2 0.0
.text 1029480 1029484 4 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 19419665 19419666 1 0.0
linux shell debug .data 784 800 16 2.0
.rodata 212050 212082 32 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 30256516 30256518 2 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27225199 27225200 1 0.0
lock cy8ckit_062s2_43012 .debug_info 22283355 22283356 1 0.0
telink bridge-app tlsr9518adk80d (read/write) 944708 944716 8 0.0
text 647376 647378 2 0.0
contact-sensor-app tlsr9518adk80d text 590730 590732 2 0.0
light-switch-app tlsr9518adk80d text 618478 618480 2 0.0
lighting-app-factory-data tlsr9518adk80d text 693802 693804 2 0.0
lighting-app-shell tlsr9518adk80d (read/write) 1083976 1084060 84 0.0
text 751322 751392 70 0.0
ota-requestor-app tlsr9518adk80d (read/write) 899220 899228 8 0.0
text 612580 612582 2 0.0
shell tlsr9518adk80d (read/write) 744196 744288 92 0.0
text 478658 478730 72 0.0
smoke_co_alarm-app tlsr9518adk80d text 594198 594200 2 0.0
Decreases (12 builds for bl702l, efr32, esp32, linux, nrfconnect, psoc6, telink)
platform target config section c57aec6 5c436f8 change % change
bl702l lighting-app bl702l (read/write) 1153416 1153412 -4 -0.0
.debug_info 41507667 41507665 -2 -0.0
.text 943552 943548 -4 -0.0
efr32 lighting-app BRD4187C (read/write) 1036844 1036836 -8 -0.0
.text 869468 869460 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1151676 1151672 -4 -0.0
.flash.text 1151676 1151672 -4 -0.0
linux shell debug (read only) 2932409 2932393 -16 -0.0
.text 2549394 2549346 -48 -0.0
tv-app debug (read only) 5313873 5313809 -64 -0.0
.rodata 272246 272214 -32 -0.0
.text 4797987 4797955 -32 -0.0
tv-casting-app debug (read only) 8293889 8293825 -64 -0.0
.rodata 367644 367612 -32 -0.0
.text 7526083 7526051 -32 -0.0
nrfconnect all-clusters-app nrf7002dk_nrf5340_cpuapp text 772836 772832 -4 -0.0
psoc6 light cy8ckit_062s2_43012 .debug_info 2236882 22368820 -1 -0.0
telink lighting-app-rpc tlsr9518adk80d text 731218 731216 -2 -0.0
pump-app tlsr9518adk80d text 596358 596356 -2 -0.0
temperature-measurement-app tlsr9518adk80d text 582424 582422 -2 -0.0
thermostat tlsr9518adk80d (read/write) 911200 911192 -8 -0.0
text 621748 621744 -4 -0.0
Full report (60 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section c57aec6 5c436f8 change % change
bl602 lighting-app bl602 (read/write) 1364774 1364782 8 0.0
.bss 73622 73622 0 0.0
.data 9560 9560 0 0.0
.text 1057648 1057650 2 0.0
bl602+rpc (read/write) 1412242 1412242 0 0.0
.bss 81662 81662 0 0.0
.data 9952 9952 0 0.0
.text 1089582 1089582 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1167807 1167807 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41285 41285 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 3544 3544 0 0.0
.debug_abbrev 1567327 1567327 0 0.0
.debug_aranges 140400 140400 0 0.0
.debug_frame 516644 516644 0 0.0
.debug_info 41506557 41506557 0 0.0
.debug_line 5483305 5483305 0 0.0
.debug_loc 3565966 3565966 0 0.0
.debug_ranges 383512 383512 0 0.0
.debug_str 4012542 4012542 0 0.0
.hbn 544 544 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 107080 107080 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 589685 589685 0 0.0
.symtab 175808 175808 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
954798 954798 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1266739 1266743 4 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1744457 1744457 0 0.0
.debug_aranges 148944 148944 0 0.0
.debug_frame 545548 545548 0 0.0
.debug_info 46401255 46401257 2 0.0
.debug_line 5895827 5895827 0 0.0
.debug_loc 3772122 3772122 0 0.0
.debug_ranges 409264 409264 0 0.0
.debug_str 4432407 4432407 0 0.0
.hbn 544 544 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 121732 121732 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 652648 652648 0 0.0
.symtab 194736 194736 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1029480 1029484 4 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153416 1153412 -4 -0.0
.boot2 292 292 0 0.0
.bss 15988 15988 0 0.0
.bss_psram 77840 77840 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1569546 1569546 0 0.0
.debug_aranges 134904 134904 0 0.0
.debug_frame 496332 496332 0 0.0
.debug_info 41507667 41507665 -2 -0.0
.debug_line 5398999 5398999 0 0.0
.debug_loc 3502105 3502105 0 0.0
.debug_ranges 388720 388720 0 0.0
.debug_str 4025011 4025011 0 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 100964 100964 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 589900 589900 0 0.0
.symtab 175360 175360 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
943552 943548 -4 -0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 615466 615466 0 0.0
(read/write) 207744 207744 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 201184 201184 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 961995 961995 0 0.0
.debug_aranges 109056 109056 0 0.0
.debug_frame 369852 369852 0 0.0
.debug_info 19419665 19419666 1 0.0
.debug_line 2813101 2813101 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1596385 1596385 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 100544 100544 0 0.0
.debug_str 3427157 3427157 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106338 106338 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 496472 496472 0 0.0
.symtab 293168 293168 0 0.0
.text 507008 507008 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 551335 551335 0 0.0
.app_xip_area 442625 442625 0 0.0
.bss 63728 63728 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 538383 538383 0 0.0
.app_xip_area 424625 424625 0 0.0
.bss 68752 68752 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 573991 573991 0 0.0
.app_xip_area 466361 466361 0 0.0
.bss 62720 62720 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 549999 549999 0 0.0
.app_xip_area 439361 439361 0 0.0
.bss 65632 65632 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1011844 1011844 0 0.0
.bss 184524 184524 0 0.0
.data 2652 2652 0 0.0
.text 824648 824648 0 0.0
BRD4187C (read/write) 1036844 1036836 -8 -0.0
.bss 164108 164108 0 0.0
.data 3248 3248 0 0.0
.text 869468 869460 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1089824 1089824 0 0.0
.bss 178580 178580 0 0.0
.data 2672 2672 0 0.0
.text 908552 908552 0 0.0
window-app BRD4187C (read/write) 1107776 1107776 0 0.0
.bss 147148 147148 0 0.0
.data 3132 3132 0 0.0
.text 957476 957476 0 0.0
esp32 all-clusters-app c3devkit (read only) 1151676 1151672 -4 -0.0
(read/write) 1702268 1702268 0 0.0
.dram0.bss 79048 79048 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 266392 266392 0 0.0
.flash.text 1151676 1151672 -4 -0.0
.iram0.text 75262 75262 0 0.0
m5stack (read only) 1193383 1193383 0 0.0
(read/write) 550462 550462 0 0.0
.dram0.bss 85416 85416 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 297368 297368 0 0.0
.flash.text 1187999 1187999 0 0.0
.iram0.text 123311 123311 0 0.0
k32w contact k32w0+release (read only) 590876 590876 0 0.0
(read/write) 88096 88096 0 0.0
.bss 71344 71344 0 0.0
.data 2128 2128 0 0.0
.text 590340 590340 0 0.0
light k32w0+release (read only) 589660 589660 0 0.0
(read/write) 87748 87748 0 0.0
.bss 71008 71008 0 0.0
.data 2116 2116 0 0.0
.text 589124 589124 0 0.0
lock k32w0+release (read only) 562076 562076 0 0.0
(read/write) 85548 85548 0 0.0
.bss 68864 68864 0 0.0
.data 2060 2060 0 0.0
.text 561540 561540 0 0.0
linux all-clusters-app debug (read only) 5511025 5511025 0 0.0
(read/write) 418144 418144 0 0.0
.bss 130464 130464 0 0.0
.data 4016 4016 0 0.0
.data.rel.ro 276328 276328 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1304 1304 0 0.0
.rodata 335728 335728 0 0.0
.text 4797427 4797427 0 0.0
all-clusters-minimal-app debug (read only) 4897809 4897809 0 0.0
(read/write) 231392 231392 0 0.0
.bss 126016 126016 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 94384 94384 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 271942 271942 0 0.0
.text 4395667 4395667 0 0.0
bridge-app debug (read only) 2768161 2768161 0 0.0
(read/write) 132848 132848 0 0.0
.bss 51512 51512 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 71408 71408 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214504 214504 0 0.0
.text 2376131 2376131 0 0.0
chip-tool debug (read only) 17528849 17528849 0 0.0
(read/write) 1043104 1043104 0 0.0
.bss 93752 93752 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 936904 936904 0 0.0
.dynamic 624 624 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 892049 892049 0 0.0
.text 14610595 14610595 0 0.0
chip-tool-ipv6only arm64 (read only) 16771252 16771252 0 0.0
(read/write) 1110472 1110472 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 974280 974280 0 0.0
.dynamic 512 512 0 0.0
.got 23248 23248 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 804576 804576 0 0.0
.text 13756024 13756024 0 0.0
lighting-app debug+rpc+ui (read only) 5237713 5237713 0 0.0
(read/write) 222088 222088 0 0.0
.bss 117744 117744 0 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92248 92248 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 336852 336852 0 0.0
.text 4658787 4658787 0 0.0
lock-app debug (read only) 4469537 4469537 0 0.0
(read/write) 202840 202840 0 0.0
.bss 113360 113360 0 0.0
.data 3728 3728 0 0.0
.data.rel.ro 78952 78952 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 247942 247942 0 0.0
.text 4012243 4012243 0 0.0
ota-provider-app debug (read only) 4125753 4125753 0 0.0
(read/write) 191872 191872 0 0.0
.bss 113504 113504 0 0.0
.data 4000 4000 0 0.0
.data.rel.ro 68448 68448 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 201094 201094 0 0.0
.text 3734339 3734339 0 0.0
ota-requestor-app debug (read only) 4219265 4219265 0 0.0
(read/write) 196184 196184 0 0.0
.bss 114560 114560 0 0.0
.data 4240 4240 0 0.0
.data.rel.ro 71448 71448 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204454 204454 0 0.0
.text 3820163 3820163 0 0.0
shell debug (read only) 2932409 2932393 -16 -0.0
(read/write) 150720 150720 0 0.0
.bss 60008 60008 0 0.0
.data 784 800 16 2.0
.data.rel.ro 84056 84056 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 212050 212082 32 0.0
.text 2549394 2549346 -48 -0.0
thermostat-no-ble arm64 (read only) 4447828 4447828 0 0.0
(read/write) 243848 243848 0 0.0
.bss 122280 122280 0 0.0
.data 2880 2880 0 0.0
.data.rel.ro 102232 102232 0 0.0
.dynamic 512 512 0 0.0
.got 11984 11984 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 162172 162172 0 0.0
.text 3947576 3947576 0 0.0
tv-app debug (read only) 5313873 5313809 -64 -0.0
(read/write) 349856 349856 0 0.0
.bss 241280 241280 0 0.0
.data 5104 5104 0 0.0
.data.rel.ro 96048 96048 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272246 272214 -32 -0.0
.text 4797987 4797955 -32 -0.0
tv-casting-app debug (read only) 8293889 8293825 -64 -0.0
(read/write) 210568 210568 0 0.0
.bss 54208 54208 0 0.0
.data 2544 2544 0 0.0
.data.rel.ro 147016 147016 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 367644 367612 -32 -0.0
.text 7526083 7526051 -32 -0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2522328 2522328 0 0.0
.bss 219904 219904 0 0.0
.data 5128 5128 0 0.0
.text 1485012 1485012 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1220544 1220544 0 0.0
bss 154612 154612 0 0.0
rodata 141556 141556 0 0.0
text 845412 845412 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1339616 1339616 0 0.0
bss 140070 140070 0 0.0
rodata 136024 136024 0 0.0
text 772836 772832 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1157216 1157216 0 0.0
bss 154791 154791 0 0.0
rodata 112924 112924 0 0.0
text 810512 810512 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837688 837688 0 0.0
(read/write) 1768228 1768228 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193116 193116 0 0.0
.comment 212 212 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 2536 2536 0 0.0
.debug_abbrev 1382741 1382741 0 0.0
.debug_aranges 143944 143944 0 0.0
.debug_frame 479472 479472 0 0.0
.debug_info 30256516 30256518 2 0.0
.debug_line 4148308 4148308 0 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2248114 2248114 0 0.0
.debug_rnglists 142355 142355 0 0.0
.debug_str 4124958 4124958 0 0.0
.heap 837688 837688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 806030 806030 0 0.0
.symtab 500944 500944 0 0.0
.text 0 0 0 0.0
1564188 1564188 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839648 839648 0 0.0
(read/write) 1673876 1673876 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 191228 191228 0 0.0
.comment 212 212 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 2464 2464 0 0.0
.debug_abbrev 1285458 1285458 0 0.0
.debug_aranges 137208 137208 0 0.0
.debug_frame 462420 462420 0 0.0
.debug_info 27225199 27225200 1 0.0
.debug_line 3959672 3959672 0 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2148578 2148578 0 0.0
.debug_rnglists 135453 135453 0 0.0
.debug_str 3979379 3979379 0 0.0
.heap 839648 839648 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 713481 713481 0 0.0
.symtab 465264 465264 0 0.0
.text 1471796 1471796 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 845912 845912 0 0.0
(read/write) 1605564 1605564 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185076 185076 0 0.0
.comment 212 212 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 2352 2352 0 0.0
.debug_abbrev 1125418 1125418 0 0.0
.debug_aranges 127336 127336 0 0.0
.debug_frame 425564 425564 0 0.0
.debug_info 2236882 22368820 -1 -0.0
.debug_line 3525605 3525605 0 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1986021 1986021 0 0.0
.debug_rnglists 125220 125220 0 0.0
.debug_str 3787451 3787451 0 0.0
.heap 845912 845912 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 634473 634473 0 0.0
.symtab 430064 430064 0 0.0
.text 1409748 1409748 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818392 818392 0 0.0
(read/write) 1639292 1639292 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212580 212580 0 0.0
.comment 212 212 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 2368 2368 0 0.0
.debug_abbrev 1116808 1116808 0 0.0
.debug_aranges 126248 126248 0 0.0
.debug_frame 421588 421588 0 0.0
.debug_info 22283355 22283356 1 0.0
.debug_line 3481350 3481350 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1966688 1966688 0 0.0
.debug_rnglists 123395 123395 0 0.0
.debug_str 3751989 3751989 0 0.0
.heap 818392 818392 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 608373 608373 0 0.0
.symtab 422352 422352 0 0.0
.text 1415956 1415956 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1178340 1178340 0 0.0
.bss 101176 101176 0 0.0
.data 744 744 0 0.0
.text 625184 625184 0 0.0
lock-app qpg6105+debug (read/write) 1135348 1135348 0 0.0
.bss 95896 95896 0 0.0
.data 748 748 0 0.0
.text 582188 582188 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1072488 1072488 0 0.0
bss 107308 107308 0 0.0
text 731076 731076 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 977412 977412 0 0.0
bss 105284 105284 0 0.0
text 670222 670222 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944708 944716 8 0.0
bss 109660 109660 0 0.0
text 647376 647378 2 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876640 876640 0 0.0
bss 98840 98840 0 0.0
text 590730 590732 2 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 907960 907960 0 0.0
bss 99464 99464 0 0.0
text 618478 618480 2 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 983124 983124 0 0.0
bss 107516 107516 0 0.0
text 686286 686286 0 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 994488 994488 0 0.0
bss 111764 111764 0 0.0
text 693802 693804 2 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1052648 1052648 0 0.0
bss 109088 109088 0 0.0
text 731218 731216 -2 -0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1083976 1084060 84 0.0
bss 120164 120164 0 0.0
text 751322 751392 70 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934172 934172 0 0.0
bss 99560 99560 0 0.0
text 621490 621490 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 899220 899228 8 0.0
bss 100148 100148 0 0.0
text 612580 612582 2 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 882056 882056 0 0.0
bss 98972 98972 0 0.0
text 596358 596356 -2 -0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 869196 869196 0 0.0
bss 98772 98772 0 0.0
text 586782 586782 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744196 744288 92 0.0
bss 97208 97208 0 0.0
text 478658 478730 72 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 879116 879116 0 0.0
bss 98952 98952 0 0.0
text 594198 594200 2 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865368 865368 0 0.0
bss 98680 98680 0 0.0
text 582424 582422 -2 -0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 911200 911192 -8 -0.0
bss 99224 99224 0 0.0
text 621748 621744 -4 -0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 907020 907020 0 0.0
bss 99560 99560 0 0.0
text 617090 617090 0 0.0

1. Run Matter shell commands in Matter thread instead of
   Zephyr's shell thread. Make the shell thread wait for
   the condition variable signalled when the command ends
   in the Matter thread.

   This is done to avoid data races when accessing Matter's
   data structures, and avoid stack overflow when executing
   Matter functions in the shell thread that uses
   a relatively small stack.
2. Print either:
   - "Done" or
   - "Error: <error_string_or_code>"
   after each shell command. This is to align with other
   platforms and be able to remove unnecessary logging
   from existing shell command implementations.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
@Damian-Nordic Damian-Nordic changed the title [shell] Print command result in Zephyr platform [zephyr] Run shell commands in Matter thread Aug 14, 2023
@github-actions
Copy link

github-actions bot commented Aug 14, 2023

PR #28623: Size comparison from b0b0d58 to 35728c2

Increases (8 builds for esp32, nrfconnect, psoc6, telink)
platform target config section b0b0d58 35728c2 change % change
esp32 all-clusters-app c3devkit (read only) 1151428 1151432 4 0.0
.flash.text 1151428 1151432 4 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 845148 845152 4 0.0
psoc6 all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27230583 27230584 1 0.0
telink light-switch-app tlsr9518adk80d (read/write) 908164 908172 8 0.0
text 618580 618582 2 0.0
lighting-app-rpc tlsr9518adk80d text 731144 731148 4 0.0
lighting-app-shell tlsr9518adk80d (read/write) 1084004 1084228 224 0.0
text 751248 751422 174 0.0
shell tlsr9518adk80d (read/write) 744196 744420 224 0.0
text 478658 478832 174 0.0
thermostat tlsr9518adk80d text 621890 621892 2 0.0
Decreases (14 builds for bl602, bl702, cc32xx, efr32, psoc6, telink)
platform target config section b0b0d58 35728c2 change % change
bl602 lighting-app bl602 .text 1057928 1057924 -4 -0.0
bl602+rpc .text 1089862 1089860 -2 -0.0
bl702 lighting-app bl702+rpc (read/write) 1267139 1267135 -4 -0.0
.debug_info 46403896 46403895 -1 -0.0
.text 1029762 1029760 -2 -0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 19423290 19423288 -2 -0.0
efr32 lighting-app BRD4187C (read/write) 1037244 1037236 -8 -0.0
.text 869868 869860 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 30262561 30262560 -1 -0.0
lock cy8ckit_062s2_43012 .debug_info 22286451 22286450 -1 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1072388 1072380 -8 -0.0
text 730834 730832 -2 -0.0
all-clusters-minimal-app tlsr9518adk80d text 670208 670206 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 983160 983152 -8 -0.0
text 686214 686212 -2 -0.0
pump-app tlsr9518adk80d text 596452 596450 -2 -0.0
pump-controller-app tlsr9518adk80d text 586916 586914 -2 -0.0
smoke_co_alarm-app tlsr9518adk80d text 594324 594322 -2 -0.0
window-covering tlsr9518adk80d text 617200 617198 -2 -0.0
Full report (60 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section b0b0d58 35728c2 change % change
bl602 lighting-app bl602 (read/write) 1365170 1365170 0 0.0
.bss 73622 73622 0 0.0
.data 9560 9560 0 0.0
.text 1057928 1057924 -4 -0.0
bl602+rpc (read/write) 1412638 1412638 0 0.0
.bss 81662 81662 0 0.0
.data 9952 9952 0 0.0
.text 1089862 1089860 -2 -0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1168199 1168199 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41285 41285 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 3544 3544 0 0.0
.debug_abbrev 1567493 1567493 0 0.0
.debug_aranges 140400 140400 0 0.0
.debug_frame 516640 516640 0 0.0
.debug_info 41509196 41509196 0 0.0
.debug_line 5485389 5485389 0 0.0
.debug_loc 3565999 3565999 0 0.0
.debug_ranges 384712 384712 0 0.0
.debug_str 4012573 4012573 0 0.0
.hbn 544 544 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 107196 107196 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 589689 589689 0 0.0
.symtab 175808 175808 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
955076 955076 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1267139 1267135 -4 -0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43424 43424 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1744623 1744623 0 0.0
.debug_aranges 148944 148944 0 0.0
.debug_frame 545544 545544 0 0.0
.debug_info 46403896 46403895 -1 -0.0
.debug_line 5897911 5897911 0 0.0
.debug_loc 3772155 3772155 0 0.0
.debug_ranges 410464 410464 0 0.0
.debug_str 4432438 4432438 0 0.0
.hbn 544 544 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 121848 121848 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 652652 652652 0 0.0
.symtab 194736 194736 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1029762 1029760 -2 -0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153808 1153808 0 0.0
.boot2 292 292 0 0.0
.bss 15988 15988 0 0.0
.bss_psram 77840 77840 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1569712 1569712 0 0.0
.debug_aranges 134904 134904 0 0.0
.debug_frame 496328 496328 0 0.0
.debug_info 41510305 41510305 0 0.0
.debug_line 5401083 5401083 0 0.0
.debug_loc 3502138 3502138 0 0.0
.debug_ranges 389920 389920 0 0.0
.debug_str 4025042 4025042 0 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 101080 101080 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 589904 589904 0 0.0
.symtab 175360 175360 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
943828 943828 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 615962 615962 0 0.0
(read/write) 207744 207744 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 201184 201184 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 962080 962080 0 0.0
.debug_aranges 109056 109056 0 0.0
.debug_frame 369852 369852 0 0.0
.debug_info 19423290 19423288 -2 -0.0
.debug_line 2814419 2814419 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1597625 1597625 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 100591 100591 0 0.0
.debug_str 3427188 3427188 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106458 106458 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 496476 496476 0 0.0
.symtab 293440 293440 0 0.0
.text 507384 507384 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 550647 550647 0 0.0
.app_xip_area 441937 441937 0 0.0
.bss 63728 63728 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 537743 537743 0 0.0
.app_xip_area 423985 423985 0 0.0
.bss 68752 68752 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574407 574407 0 0.0
.app_xip_area 466777 466777 0 0.0
.bss 62720 62720 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 549399 549399 0 0.0
.app_xip_area 438761 438761 0 0.0
.bss 65632 65632 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1013004 1013004 0 0.0
.bss 184524 184524 0 0.0
.data 2652 2652 0 0.0
.text 825808 825808 0 0.0
BRD4187C (read/write) 1037244 1037236 -8 -0.0
.bss 164108 164108 0 0.0
.data 3248 3248 0 0.0
.text 869868 869860 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1089648 1089648 0 0.0
.bss 178580 178580 0 0.0
.data 2672 2672 0 0.0
.text 908376 908376 0 0.0
window-app BRD4187C (read/write) 1109024 1109024 0 0.0
.bss 147148 147148 0 0.0
.data 3132 3132 0 0.0
.text 958724 958724 0 0.0
esp32 all-clusters-app c3devkit (read only) 1151428 1151432 4 0.0
(read/write) 1702412 1702412 0 0.0
.dram0.bss 79048 79048 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 266536 266536 0 0.0
.flash.text 1151428 1151432 4 0.0
.iram0.text 75262 75262 0 0.0
m5stack (read only) 1193059 1193059 0 0.0
(read/write) 550606 550606 0 0.0
.dram0.bss 85416 85416 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 297512 297512 0 0.0
.flash.text 1187675 1187675 0 0.0
.iram0.text 123311 123311 0 0.0
k32w contact k32w0+release (read only) 591012 591012 0 0.0
(read/write) 88096 88096 0 0.0
.bss 71344 71344 0 0.0
.data 2128 2128 0 0.0
.text 590476 590476 0 0.0
light k32w0+release (read only) 589812 589812 0 0.0
(read/write) 87748 87748 0 0.0
.bss 71008 71008 0 0.0
.data 2116 2116 0 0.0
.text 589276 589276 0 0.0
lock k32w0+release (read only) 562148 562148 0 0.0
(read/write) 85548 85548 0 0.0
.bss 68864 68864 0 0.0
.data 2060 2060 0 0.0
.text 561612 561612 0 0.0
linux all-clusters-app debug (read only) 5518193 5518193 0 0.0
(read/write) 418176 418176 0 0.0
.bss 130464 130464 0 0.0
.data 4016 4016 0 0.0
.data.rel.ro 276360 276360 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1304 1304 0 0.0
.rodata 336016 336016 0 0.0
.text 4804259 4804259 0 0.0
all-clusters-minimal-app debug (read only) 4902913 4902913 0 0.0
(read/write) 231392 231392 0 0.0
.bss 126016 126016 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 94384 94384 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272102 272102 0 0.0
.text 4400611 4400611 0 0.0
bridge-app debug (read only) 2770593 2770593 0 0.0
(read/write) 132848 132848 0 0.0
.bss 51512 51512 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 71408 71408 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214664 214664 0 0.0
.text 2378403 2378403 0 0.0
chip-tool debug (read only) 17528481 17528481 0 0.0
(read/write) 1043136 1043136 0 0.0
.bss 93752 93752 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 936936 936936 0 0.0
.dynamic 624 624 0 0.0
.got 5880 5880 0 0.0
.init 27 27 0 0.0
.init_array 800 800 0 0.0
.rodata 892049 892049 0 0.0
.text 14610179 14610179 0 0.0
chip-tool-ipv6only arm64 (read only) 16770644 16770644 0 0.0
(read/write) 1110520 1110520 0 0.0
.bss 103064 103064 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 974328 974328 0 0.0
.dynamic 512 512 0 0.0
.got 23248 23248 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 804416 804416 0 0.0
.text 13755528 13755528 0 0.0
lighting-app debug+rpc+ui (read only) 5242001 5242001 0 0.0
(read/write) 222088 222088 0 0.0
.bss 117744 117744 0 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92248 92248 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 337108 337108 0 0.0
.text 4662819 4662819 0 0.0
lock-app debug (read only) 4473057 4473057 0 0.0
(read/write) 202840 202840 0 0.0
.bss 113360 113360 0 0.0
.data 3728 3728 0 0.0
.data.rel.ro 78952 78952 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 248038 248038 0 0.0
.text 4015667 4015667 0 0.0
ota-provider-app debug (read only) 4128329 4128329 0 0.0
(read/write) 191872 191872 0 0.0
.bss 113504 113504 0 0.0
.data 4000 4000 0 0.0
.data.rel.ro 68448 68448 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 201254 201254 0 0.0
.text 3736755 3736755 0 0.0
ota-requestor-app debug (read only) 4222225 4222225 0 0.0
(read/write) 196184 196184 0 0.0
.bss 114560 114560 0 0.0
.data 4240 4240 0 0.0
.data.rel.ro 71448 71448 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204646 204646 0 0.0
.text 3822931 3822931 0 0.0
shell debug (read only) 2939049 2939049 0 0.0
(read/write) 150720 150720 0 0.0
.bss 60008 60008 0 0.0
.data 784 784 0 0.0
.data.rel.ro 84056 84056 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 212370 212370 0 0.0
.text 2555714 2555714 0 0.0
thermostat-no-ble arm64 (read only) 4451476 4451476 0 0.0
(read/write) 243848 243848 0 0.0
.bss 122280 122280 0 0.0
.data 2880 2880 0 0.0
.data.rel.ro 102232 102232 0 0.0
.dynamic 512 512 0 0.0
.got 11984 11984 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 162252 162252 0 0.0
.text 3951144 3951144 0 0.0
tv-app debug (read only) 5317361 5317361 0 0.0
(read/write) 349856 349856 0 0.0
.bss 241280 241280 0 0.0
.data 5104 5104 0 0.0
.data.rel.ro 96048 96048 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272598 272598 0 0.0
.text 4801123 4801123 0 0.0
tv-casting-app debug (read only) 8296737 8296737 0 0.0
(read/write) 210568 210568 0 0.0
.bss 54208 54208 0 0.0
.data 2544 2544 0 0.0
.data.rel.ro 147016 147016 0 0.0
.dynamic 624 624 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 367836 367836 0 0.0
.text 7528739 7528739 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2522504 2522504 0 0.0
.bss 219904 219904 0 0.0
.data 5128 5128 0 0.0
.text 1485188 1485188 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1220412 1220412 0 0.0
bss 154612 154612 0 0.0
rodata 141696 141696 0 0.0
text 845148 845152 4 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1338624 1338624 0 0.0
bss 140070 140070 0 0.0
rodata 135688 135688 0 0.0
text 772180 772180 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1157328 1157328 0 0.0
bss 154791 154791 0 0.0
rodata 113036 113036 0 0.0
text 810516 810516 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837688 837688 0 0.0
(read/write) 1768804 1768804 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193116 193116 0 0.0
.comment 212 212 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 2536 2536 0 0.0
.debug_abbrev 1382477 1382477 0 0.0
.debug_aranges 143944 143944 0 0.0
.debug_frame 479472 479472 0 0.0
.debug_info 30262561 30262560 -1 -0.0
.debug_line 4150562 4150562 0 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2249376 2249376 0 0.0
.debug_rnglists 142398 142398 0 0.0
.debug_str 4124989 4124989 0 0.0
.heap 837688 837688 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 806034 806034 0 0.0
.symtab 501808 501808 0 0.0
.text 1564764 1564764 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839648 839648 0 0.0
(read/write) 1674572 1674572 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 191228 191228 0 0.0
.comment 212 212 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 2464 2464 0 0.0
.debug_abbrev 1285184 1285184 0 0.0
.debug_aranges 137208 137208 0 0.0
.debug_frame 462420 462420 0 0.0
.debug_info 27230583 27230584 1 0.0
.debug_line 3961702 3961702 0 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2149738 2149738 0 0.0
.debug_rnglists 135498 135498 0 0.0
.debug_str 3979410 3979410 0 0.0
.heap 839648 839648 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 713485 713485 0 0.0
.symtab 465936 465936 0 0.0
.text 1472492 1472492 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 845912 845912 0 0.0
(read/write) 1606076 1606076 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185076 185076 0 0.0
.comment 212 212 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 2352 2352 0 0.0
.debug_abbrev 1125407 1125407 0 0.0
.debug_aranges 127336 127336 0 0.0
.debug_frame 425564 425564 0 0.0
.debug_info 22372915 22372915 0 0.0
.debug_line 3527007 3527007 0 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1986853 1986853 0 0.0
.debug_rnglists 125268 125268 0 0.0
.debug_str 3787482 3787482 0 0.0
.heap 845912 845912 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 634477 634477 0 0.0
.symtab 430576 430576 0 0.0
.text 1410260 1410260 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818392 818392 0 0.0
(read/write) 1639580 1639580 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212580 212580 0 0.0
.comment 212 212 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 2368 2368 0 0.0
.debug_abbrev 1116871 1116871 0 0.0
.debug_aranges 126248 126248 0 0.0
.debug_frame 421592 421592 0 0.0
.debug_info 22286451 22286450 -1 -0.0
.debug_line 3482458 3482458 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1967262 1967262 0 0.0
.debug_rnglists 123444 123444 0 0.0
.debug_str 3752020 3752020 0 0.0
.heap 818392 818392 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 608377 608377 0 0.0
.symtab 422704 422704 0 0.0
.text 1416244 1416244 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1178444 1178444 0 0.0
.bss 101176 101176 0 0.0
.data 744 744 0 0.0
.text 625288 625288 0 0.0
lock-app qpg6105+debug (read/write) 1135500 1135500 0 0.0
.bss 95896 95896 0 0.0
.data 748 748 0 0.0
.text 582340 582340 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1072388 1072380 -8 -0.0
bss 107308 107308 0 0.0
text 730834 730832 -2 -0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 977504 977504 0 0.0
bss 105284 105284 0 0.0
text 670208 670206 -2 -0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944904 944904 0 0.0
bss 109660 109660 0 0.0
text 647458 647458 0 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876860 876860 0 0.0
bss 98840 98840 0 0.0
text 590848 590848 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 908164 908172 8 0.0
bss 99464 99464 0 0.0
text 618580 618582 2 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 983160 983152 -8 -0.0
bss 107516 107516 0 0.0
text 686214 686212 -2 -0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 994524 994524 0 0.0
bss 111764 111764 0 0.0
text 693732 693732 0 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1052684 1052684 0 0.0
bss 109088 109088 0 0.0
text 731144 731148 4 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1084004 1084228 224 0.0
bss 120164 120164 0 0.0
text 751248 751422 174 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934312 934312 0 0.0
bss 99560 99560 0 0.0
text 621522 621522 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 899440 899440 0 0.0
bss 100148 100148 0 0.0
text 612688 612688 0 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 882260 882260 0 0.0
bss 98972 98972 0 0.0
text 596452 596450 -2 -0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 869440 869440 0 0.0
bss 98772 98772 0 0.0
text 586916 586914 -2 -0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744196 744420 224 0.0
bss 97208 97208 0 0.0
text 478658 478832 174 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 879344 879344 0 0.0
bss 98952 98952 0 0.0
text 594324 594322 -2 -0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865620 865620 0 0.0
bss 98680 98680 0 0.0
text 582562 582562 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 911452 911452 0 0.0
bss 99224 99224 0 0.0
text 621890 621892 2 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 907240 907240 0 0.0
bss 99560 99560 0 0.0
text 617200 617198 -2 -0.0

Copy link
Contributor

@markaj-nordic markaj-nordic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yufengwangca yufengwangca merged commit 1df99a9 into project-chip:master Aug 16, 2023
51 checks passed
@Damian-Nordic Damian-Nordic deleted the shell-errors branch August 17, 2023 07:07
HunsupJung pushed a commit to HunsupJung/connectedhomeip that referenced this pull request Oct 23, 2023
1. Run Matter shell commands in Matter thread instead of
   Zephyr's shell thread. Make the shell thread wait for
   the condition variable signalled when the command ends
   in the Matter thread.

   This is done to avoid data races when accessing Matter's
   data structures, and avoid stack overflow when executing
   Matter functions in the shell thread that uses
   a relatively small stack.
2. Print either:
   - "Done" or
   - "Error: <error_string_or_code>"
   after each shell command. This is to align with other
   platforms and be able to remove unnecessary logging
   from existing shell command implementations.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
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.

None yet

5 participants