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

Make chiptool.py a little easier to understand #30416

Merged

Conversation

tehampson
Copy link
Contributor

  • Add ability for tool to list off all the tests that it can run when prompted
  • Fix some of the help messages to be of us

Copy link

github-actions bot commented Nov 10, 2023

PR #30416: Size comparison from bc5ef90 to 3abc2ea

Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section bc5ef90 3abc2ea change % change
bl602 lighting-app bl602 (read/write) 1407542 1407542 0 0.0
.bss 84504 84504 0 0.0
.data 9376 9376 0 0.0
.rodata 156376 156376 0 0.0
.text 1076630 1076630 0 0.0
bl602+mfd (read/write) 1421982 1421982 0 0.0
.bss 84672 84672 0 0.0
.data 9344 9344 0 0.0
.rodata 155336 155336 0 0.0
.text 1091982 1091982 0 0.0
bl602+rpc (read/write) 1454562 1454562 0 0.0
.bss 92536 92536 0 0.0
.data 9744 9744 0 0.0
.rodata 163492 163492 0 0.0
.text 1108118 1108118 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1173703 1173703 0 0.0
.bss 11197 11197 0 0.0
.data 3560 3560 0 0.0
.rodata 106116 106116 0 0.0
.text 947124 947124 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1184827 1184827 0 0.0
.bss 11373 11373 0 0.0
.data 3536 3536 0 0.0
.rodata 105056 105056 0 0.0
.text 959188 959188 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1273263 1273263 0 0.0
.bss 19677 19677 0 0.0
.data 4112 4112 0 0.0
.rodata 121016 121016 0 0.0
.text 1022190 1022190 0 0.0
bl706-eth (read/write) 992637 992637 0 0.0
.bss 23772 23772 0 0.0
.data 3128 3128 0 0.0
.rodata 99204 99204 0 0.0
.text 739596 739596 0 0.0
bl706-wifi (read/write) 1227794 1227794 0 0.0
.bss 10657 10657 0 0.0
.data 3568 3568 0 0.0
.rodata 120064 120064 0 0.0
.text 964016 964016 0 0.0
bl702l lighting-app bl702l (read/write) 1143932 1143932 0 0.0
.bss 16408 16408 0 0.0
.data 4920 4920 0 0.0
.rodata 100120 100120 0 0.0
.text 940218 940218 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1154880 1154880 0 0.0
.bss 16584 16584 0 0.0
.data 4904 4904 0 0.0
.rodata 99060 99060 0 0.0
.text 952594 952594 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 737435 737435 0 0.0
(read/write) 166528 166528 0 0.0
.bss 88940 88940 0 0.0
.data 3424 3424 0 0.0
.rodata 84599 84599 0 0.0
.text 652448 652448 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 759147 759147 0 0.0
(read/write) 176820 176820 0 0.0
.bss 99188 99188 0 0.0
.data 3444 3444 0 0.0
.rodata 80175 80175 0 0.0
.text 678580 678580 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 746427 746427 0 0.0
(read/write) 171276 171276 0 0.0
.bss 93644 93644 0 0.0
.data 3444 3444 0 0.0
.rodata 106231 106231 0 0.0
.text 639804 639804 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 697195 697195 0 0.0
(read/write) 165628 165628 0 0.0
.bss 87808 87808 0 0.0
.data 3412 3412 0 0.0
.rodata 80359 80359 0 0.0
.text 616448 616448 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 682883 682883 0 0.0
(read/write) 165760 165760 0 0.0
.bss 87952 87952 0 0.0
.data 3408 3408 0 0.0
.rodata 76199 76199 0 0.0
.text 606296 606296 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 563970 563970 0 0.0
(read/write) 206496 206496 0 0.0
.bss 199956 199956 0 0.0
.data 1416 1416 0 0.0
.rodata 83682 83682 0 0.0
.text 478164 478164 0 0.0
lock CC3235SF_LAUNCHXL (read only) 620234 620234 0 0.0
(read/write) 206900 206900 0 0.0
.bss 200336 200336 0 0.0
.data 1444 1444 0 0.0
.rodata 106298 106298 0 0.0
.text 511816 511816 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 554727 554727 0 0.0
.app_xip_area 445801 445801 0 0.0
.bss 63840 63840 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) 540887 540887 0 0.0
.app_xip_area 427161 427161 0 0.0
.bss 68608 68608 0 0.0
.data 696 696 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 576583 576583 0 0.0
.app_xip_area 468985 468985 0 0.0
.bss 62584 62584 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) 552615 552615 0 0.0
.app_xip_area 441929 441929 0 0.0
.bss 65568 65568 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1008668 1008668 0 0.0
.bss 171920 171920 0 0.0
.data 2696 2696 0 0.0
.text 834032 834032 0 0.0
BRD4187C (read/write) 1094444 1094444 0 0.0
.bss 195564 195564 0 0.0
.data 3304 3304 0 0.0
.text 895556 895556 0 0.0
lock-app BRD4161A+wf200 (read/write) 1105352 1105352 0 0.0
.bss 186640 186640 0 0.0
.data 2712 2712 0 0.0
.text 915980 915980 0 0.0
window-app BRD4187C (read/write) 1131080 1131080 0 0.0
.bss 167972 167972 0 0.0
.data 3176 3176 0 0.0
.text 959912 959912 0 0.0
esp32 all-clusters-app c3devkit (read only) 1129852 1129852 0 0.0
(read/write) 1670084 1670084 0 0.0
.dram0.bss 71848 71848 0 0.0
.dram0.data 12996 12996 0 0.0
.flash.rodata 241360 241360 0 0.0
.flash.text 1129852 1129852 0 0.0
.iram0.text 75694 75694 0 0.0
m5stack (read only) 1175059 1175059 0 0.0
(read/write) 520080 520080 0 0.0
.dram0.bss 78496 78496 0 0.0
.dram0.data 34020 34020 0 0.0
.flash.rodata 273200 273200 0 0.0
.flash.text 1169675 1169675 0 0.0
.iram0.text 123907 123907 0 0.0
k32w contact k32w0+release (read only) 591420 591420 0 0.0
(read/write) 87600 87600 0 0.0
.bss 70840 70840 0 0.0
.data 2136 2136 0 0.0
.text 590884 590884 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 686504 686504 0 0.0
.bss 67040 67040 0 0.0
.data 2720 2720 0 0.0
.text 573264 573264 0 0.0
light k32w0+release (read only) 591124 591124 0 0.0
(read/write) 87276 87276 0 0.0
.bss 70528 70528 0 0.0
.data 2124 2124 0 0.0
.text 590588 590588 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 778500 778500 0 0.0
.bss 76716 76716 0 0.0
.data 1932 1932 0 0.0
.text 656392 656392 0 0.0
lock k32w0+release (read only) 562948 562948 0 0.0
(read/write) 85104 85104 0 0.0
.bss 68416 68416 0 0.0
.data 2064 2064 0 0.0
.text 562412 562412 0 0.0
linux air-purifier-app debug (read only) 2478589 2478589 0 0.0
(read/write) 126352 126352 0 0.0
.bss 46720 46720 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 72168 72168 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 177256 177256 0 0.0
.text 2127413 2127413 0 0.0
all-clusters-app debug (read only) 5280393 5280393 0 0.0
(read/write) 418872 418872 0 0.0
.bss 128944 128944 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 278832 278832 0 0.0
.dynamic 624 624 0 0.0
.got 5368 5368 0 0.0
.init 27 27 0 0.0
.init_array 1216 1216 0 0.0
.rodata 299612 299612 0 0.0
.text 4600995 4600995 0 0.0
all-clusters-minimal-app debug (read only) 4893273 4893273 0 0.0
(read/write) 233152 233152 0 0.0
.bss 126768 126768 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 95440 95440 0 0.0
.dynamic 624 624 0 0.0
.got 5328 5328 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 270189 270189 0 0.0
.text 4391875 4391875 0 0.0
bridge-app debug (read only) 4375409 4375409 0 0.0
(read/write) 215200 215200 0 0.0
.bss 118968 118968 0 0.0
.data 4704 4704 0 0.0
.data.rel.ro 84768 84768 0 0.0
.dynamic 624 624 0 0.0
.got 5296 5296 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 218229 218229 0 0.0
.text 3939427 3939427 0 0.0
chip-tool debug (read only) 10362185 10362185 0 0.0
(read/write) 448968 448968 0 0.0
.bss 93816 93816 0 0.0
.data 4994 4994 0 0.0
.data.rel.ro 342920 342920 0 0.0
.dynamic 624 624 0 0.0
.got 5800 5800 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 391689 391689 0 0.0
.text 9364595 9364595 0 0.0
chip-tool-ipv6only arm64 (read only) 10238832 10238832 0 0.0
(read/write) 514688 514688 0 0.0
.bss 103144 103144 0 0.0
.data 4296 4296 0 0.0
.data.rel.ro 380432 380432 0 0.0
.dynamic 512 512 0 0.0
.got 18624 18624 0 0.0
.init 24 24 0 0.0
.init_array 256 256 0 0.0
.rodata 317704 317704 0 0.0
.text 9142088 9142088 0 0.0
lighting-app debug+rpc+ui (read only) 5236233 5236233 0 0.0
(read/write) 223240 223240 0 0.0
.bss 118272 118272 0 0.0
.data 4416 4416 0 0.0
.data.rel.ro 92976 92976 0 0.0
.dynamic 672 672 0 0.0
.got 5912 5912 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 336980 336980 0 0.0
.text 4655907 4655907 0 0.0
lock-app debug (read only) 4475065 4475065 0 0.0
(read/write) 203344 203344 0 0.0
.bss 113504 113504 0 0.0
.data 3648 3648 0 0.0
.data.rel.ro 79432 79432 0 0.0
.dynamic 624 624 0 0.0
.got 5248 5248 0 0.0
.init 27 27 0 0.0
.init_array 872 872 0 0.0
.rodata 247509 247509 0 0.0
.text 4017843 4017843 0 0.0
ota-provider-app debug (read only) 4132361 4132361 0 0.0
(read/write) 192192 192192 0 0.0
.bss 113568 113568 0 0.0
.data 3920 3920 0 0.0
.data.rel.ro 68784 68784 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 200085 200085 0 0.0
.text 3741427 3741427 0 0.0
ota-requestor-app debug (read only) 4218665 4218665 0 0.0
(read/write) 196440 196440 0 0.0
.bss 114592 114592 0 0.0
.data 4192 4192 0 0.0
.data.rel.ro 71744 71744 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 203861 203861 0 0.0
.text 3819651 3819651 0 0.0
shell debug (read only) 2742465 2742465 0 0.0
(read/write) 148576 148576 0 0.0
.bss 59592 59592 0 0.0
.data 784 784 0 0.0
.data.rel.ro 82400 82400 0 0.0
.dynamic 592 592 0 0.0
.got 4096 4096 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 179392 179392 0 0.0
.text 2393154 2393154 0 0.0
thermostat-no-ble arm64 (read only) 4370456 4370456 0 0.0
(read/write) 247192 247192 0 0.0
.bss 122184 122184 0 0.0
.data 2800 2800 0 0.0
.data.rel.ro 101776 101776 0 0.0
.dynamic 512 512 0 0.0
.got 11928 11928 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 161428 161428 0 0.0
.text 3870024 3870024 0 0.0
tv-app debug (read only) 5244481 5244481 0 0.0
(read/write) 344664 344664 0 0.0
.bss 242112 242112 0 0.0
.data 4992 4992 0 0.0
.data.rel.ro 90240 90240 0 0.0
.dynamic 624 624 0 0.0
.got 5536 5536 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 267037 267037 0 0.0
.text 4742691 4742691 0 0.0
tv-casting-app debug (read only) 8300553 8300553 0 0.0
(read/write) 315712 315712 0 0.0
.bss 156000 156000 0 0.0
.data 2464 2464 0 0.0
.data.rel.ro 150384 150384 0 0.0
.dynamic 624 624 0 0.0
.got 5080 5080 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 339624 339624 0 0.0
.text 7552595 7552595 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2524984 2524984 0 0.0
.bss 219064 219064 0 0.0
.data 5136 5136 0 0.0
.text 1487668 1487668 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1054348 1054348 0 0.0
bss 128343 128343 0 0.0
rodata 104028 104028 0 0.0
text 774384 774384 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1181180 1181180 0 0.0
bss 120545 120545 0 0.0
rodata 138220 138220 0 0.0
text 772084 772084 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1039676 1039676 0 0.0
bss 128636 128636 0 0.0
rodata 99300 99300 0 0.0
text 764152 764152 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837624 837624 0 0.0
(read/write) 1732564 1732564 0 0.0
.bss 193236 193236 0 0.0
.data 2480 2480 0 0.0
.text 1528460 1528460 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839344 839344 0 0.0
(read/write) 1696404 1696404 0 0.0
.bss 191516 191516 0 0.0
.data 2480 2480 0 0.0
.text 1494020 1494020 0 0.0
light cy8ckit_062s2_43012 (read only) 845896 845896 0 0.0
(read/write) 1622588 1622588 0 0.0
.bss 185076 185076 0 0.0
.data 2368 2368 0 0.0
.text 1426756 1426756 0 0.0
lock cy8ckit_062s2_43012 (read only) 818632 818632 0 0.0
(read/write) 1655436 1655436 0 0.0
.bss 212324 212324 0 0.0
.data 2384 2384 0 0.0
.text 1432340 1432340 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1178456 1178456 0 0.0
.bss 100664 100664 0 0.0
.data 748 748 0 0.0
.text 625296 625296 0 0.0
lock-app qpg6105+debug (read/write) 1139212 1139212 0 0.0
.bss 95408 95408 0 0.0
.data 780 780 0 0.0
.text 586052 586052 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 811314 811314 0 0.0
bss 53132 53132 0 0.0
text 606034 606034 0 0.0
all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1071404 1071404 0 0.0
bss 99388 99388 0 0.0
text 755026 755026 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 1076312 1076312 0 0.0
bss 109084 109084 0 0.0
text 746698 746698 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 930212 930212 0 0.0
bss 93684 93684 0 0.0
text 643234 643234 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 814550 814550 0 0.0
bss 53240 53240 0 0.0
text 609084 609084 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 4 4 0 0.0
(read/write) 968812 968812 0 0.0
bss 77040 77040 0 0.0
text 687032 687032 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1086120 1086120 0 0.0
bss 99192 99192 0 0.0
text 763790 763790 0 0.0
lock-app-dfu tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 871942 871942 0 0.0
bss 53940 53940 0 0.0
text 638930 638930 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 943492 943492 0 0.0
bss 91792 91792 0 0.0
text 658968 658968 0 0.0
pump-app tlsr9528a (read only) 4 4 0 0.0
(read/write) 871204 871204 0 0.0
bss 67076 67076 0 0.0
text 615608 615608 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 811768 811768 0 0.0
bss 55320 55320 0 0.0
text 582586 582586 0 0.0
resource-monitoring-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 827468 827468 0 0.0
bss 55724 55724 0 0.0
text 593200 593200 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 705712 705712 0 0.0
bss 73232 73232 0 0.0
text 462250 462250 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 816286 816286 0 0.0
bss 53332 53332 0 0.0
text 611814 611814 0 0.0
temperature-measurement-app tlsr9528a_retention (read only) 51910 51910 0 0.0
(read/write) 802226 802226 0 0.0
bss 53052 53052 0 0.0
text 599830 599830 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 832860 832860 0 0.0
bss 55608 55608 0 0.0
text 597942 597942 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 830320 830320 0 0.0
bss 55960 55960 0 0.0
text 594992 594992 0 0.0

@mergify mergify bot merged commit 7ccfa74 into project-chip:master Nov 13, 2023
54 checks passed
f = click.option('--server_name', type=str, default='chip-tool',
help='Name of a websocket server to run at launch.')(f)
help='If server_path is not provided, we use this argument to seach various directories within SDK binary that matches this name.')(f)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be more like:

If server_path is not provided, we use this argument to seach various directories within the SDK for a binary that matches this name

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.

6 participants