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

Update target/variant/modifier logic in build_examples.py #23054

Merged
merged 69 commits into from
Oct 11, 2022

Conversation

andy31415
Copy link
Contributor

Existing build_examples.py does not scale well on build variants: since every variant gets a cartesian product with all other variants, we have an expoential explosion whenever a new variant was added.

We tried to mitigate this by having different 'accept/reject' rules, however in the end we are still building 10-20K item lists when computing build targets and they are generally incomplete.

When looking to add more options (e.g. minmdns libnl or high verbosity) the extra variants becomes a problem.

This PR re-images how build_examples computes available targets, specifically there is no more implicit expansion and we generally just parse input strings. Side-effcts are:

  • "glob" option is not available anymore. Possible to compute but very expensive (about 1 minute of run time to list current 30K possible targets and this will keep growing)
  • converted everything to explicit --target
  • target variants are not order-dependent anymore. For example both linux-x64-chip-tool-ipv6only-clang and linux-x64-chip-tool-clang-ipv6only will build the same thing (but different output directories)

Testing:

  • unit tests were updated and new unit tests were added
  • CI will validate that usages of existing build_examples.py will still pass
  • Manually validated that large changes into cloudbuild/build-all.yaml are correct strings. The list of items there was manually curated (I removed a few things that seemed redundant)

@github-actions
Copy link

github-actions bot commented Oct 6, 2022

PR #23054: Size comparison from 530adb6 to 1614424

Increases above 0.2%:

platform target config section 530adb6 1614424 change % change
k32w light k32w0+release (read/write) 641588 670868 29280 4.6
.text 561972 591264 29292 5.2
Increases (3 builds for bl602, k32w, telink)
platform target config section 530adb6 1614424 change % change
bl602 lighting-app bl602+rpc .text 1100154 1100156 2 0.0
k32w light k32w0+release (read/write) 641588 670868 29280 4.6
.text 561972 591264 29292 5.2
telink lighting-app tlsr9518adk80d text 571138 571140 2 0.0
Decreases (2 builds for k32w)
platform target config section 530adb6 1614424 change % change
k32w contact k32w0+release (read/write) 665928 661108 -4820 -0.7
.bss 77048 77040 -8 -0.0
.data 2108 2104 -4 -0.2
.text 567660 562852 -4808 -0.8
light k32w0+release .bss 74824 74816 -8 -0.0
.data 2064 2060 -4 -0.2
Full report (13 builds for bl602, k32w, linux, mbed, nrfconnect, telink)
platform target config section 530adb6 1614424 change % change
bl602 lighting-app bl602 (read/write) 1389210 1389210 0 0.0
.bss 90729 90729 0 0.0
.data 9928 9928 0 0.0
.text 1068808 1068808 0 0.0
bl602+rpc (read/write) 1434430 1434430 0 0.0
.bss 98161 98161 0 0.0
.data 10312 10312 0 0.0
.text 1100154 1100156 2 0.0
k32w contact k32w0+release (read/write) 665928 661108 -4820 -0.7
.bss 77048 77040 -8 -0.0
.data 2108 2104 -4 -0.2
.text 567660 562852 -4808 -0.8
light k32w0+release (read/write) 641588 670868 29280 4.6
.bss 74824 74816 -8 -0.0
.data 2064 2060 -4 -0.2
.text 561972 591264 29292 5.2
lock k32w0+release (read/write) 632916 632916 0 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552508 552508 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10428900 10428900 0 0.0
(read/write) 706321 706321 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650608 650608 0 0.0
.dynamic 560 560 0 0.0
.got 13896 13896 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518004 518004 0 0.0
.text 8255348 8255348 0 0.0
thermostat-no-ble arm64 (read only) 2389420 2389420 0 0.0
(read/write) 143617 143617 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77232 77232 0 0.0
.dynamic 560 560 0 0.0
.got 5176 5176 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144244 144244 0 0.0
.text 2002288 2002288 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2451792 2451792 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414436 1414436 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183051 1183051 0 0.0
bss 144441 144441 0 0.0
rodata 144220 144220 0 0.0
text 815488 815488 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161735 1161735 0 0.0
bss 143668 143668 0 0.0
rodata 135792 135792 0 0.0
text 803384 803384 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 788968 788968 0 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 552918 552918 0 0.0
lighting-app tlsr9518adk80d (read/write) 811072 811072 0 0.0
bss 73328 73328 0 0.0
noinit 43520 43520 0 0.0
text 571138 571140 2 0.0
ota-requestor-app tlsr9518adk80d (read/write) 819016 819016 0 0.0
bss 74236 74236 0 0.0
noinit 43520 43520 0 0.0
text 577324 577324 0 0.0

@github-actions
Copy link

github-actions bot commented Oct 6, 2022

PR #23054: Size comparison from 530adb6 to 1e64e41

Increases above 0.2%:

platform target config section 530adb6 1e64e41 change % change
k32w light k32w0+release (read/write) 641588 670868 29280 4.6
.text 561972 591264 29292 5.2
Increases (3 builds for cc13x2_26x2, k32w, telink)
platform target config section 530adb6 1e64e41 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676775 676783 8 0.0
.text 586856 586864 8 0.0
k32w light k32w0+release (read/write) 641588 670868 29280 4.6
.text 561972 591264 29292 5.2
telink lighting-app tlsr9518adk80d text 571138 571140 2 0.0
Decreases (6 builds for bl602, cc13x2_26x2, k32w, telink)
platform target config section 530adb6 1e64e41 change % change
bl602 lighting-app bl602 .text 1068808 1068804 -4 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174768 174760 -8 -0.0
k32w contact k32w0+release (read/write) 665928 661108 -4820 -0.7
.bss 77048 77040 -8 -0.0
.data 2108 2104 -4 -0.2
.text 567660 562852 -4808 -0.8
light k32w0+release .bss 74824 74816 -8 -0.0
.data 2064 2060 -4 -0.2
telink light-switch-app tlsr9518adk80d (read/write) 788968 788960 -8 -0.0
text 552918 552916 -2 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 819016 819008 -8 -0.0
text 577324 577320 -4 -0.0
Full report (22 builds for bl602, cc13x2_26x2, k32w, linux, mbed, nrfconnect, qpg, telink)
platform target config section 530adb6 1e64e41 change % change
bl602 lighting-app bl602 (read/write) 1389210 1389210 0 0.0
.bss 90729 90729 0 0.0
.data 9928 9928 0 0.0
.text 1068808 1068804 -4 -0.0
bl602+rpc (read/write) 1434430 1434430 0 0.0
.bss 98161 98161 0 0.0
.data 10312 10312 0 0.0
.text 1100154 1100154 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676775 676783 8 0.0
(read/write) 174768 174760 -8 -0.0
.bss 81236 81236 0 0.0
.data 3380 3380 0 0.0
.rodata 89607 89607 0 0.0
.text 586856 586864 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641031 641031 0 0.0
(read/write) 158004 158004 0 0.0
.bss 80508 80508 0 0.0
.data 3380 3380 0 0.0
.rodata 78743 78743 0 0.0
.text 561968 561968 0 0.0
lock-ftd LP_CC2652R7 (read only) 675467 675467 0 0.0
(read/write) 173228 173228 0 0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77131 77131 0 0.0
.text 597856 597856 0 0.0
lock-mtd LP_CC2652R7 (read only) 659215 659215 0 0.0
(read/write) 185168 185168 0 0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 102951 102951 0 0.0
.text 555784 555784 0 0.0
pump-app LP_CC2652R7 (read only) 687519 687519 0 0.0
(read/write) 161896 161896 0 0.0
.bss 78428 78428 0 0.0
.data 3296 3296 0 0.0
.rodata 90543 90543 0 0.0
.text 596492 596492 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672019 672019 0 0.0
(read/write) 177508 177508 0 0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86099 86099 0 0.0
.text 585440 585440 0 0.0
shell LP_CC2652R7 (read only) 667830 667830 0 0.0
(read/write) 186032 186032 0 0.0
.bss 83556 83556 0 0.0
.data 3376 3376 0 0.0
.rodata 86318 86318 0 0.0
.text 581196 581196 0 0.0
k32w contact k32w0+release (read/write) 665928 661108 -4820 -0.7
.bss 77048 77040 -8 -0.0
.data 2108 2104 -4 -0.2
.text 567660 562852 -4808 -0.8
light k32w0+release (read/write) 641588 670868 29280 4.6
.bss 74824 74816 -8 -0.0
.data 2064 2060 -4 -0.2
.text 561972 591264 29292 5.2
lock k32w0+release (read/write) 632916 632916 0 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552508 552508 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10428900 10428900 0 0.0
(read/write) 706321 706321 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650608 650608 0 0.0
.dynamic 560 560 0 0.0
.got 13896 13896 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518004 518004 0 0.0
.text 8255348 8255348 0 0.0
thermostat-no-ble arm64 (read only) 2389420 2389420 0 0.0
(read/write) 143617 143617 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77232 77232 0 0.0
.dynamic 560 560 0 0.0
.got 5176 5176 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144244 144244 0 0.0
.text 2002288 2002288 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2451792 2451792 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414436 1414436 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183051 1183051 0 0.0
bss 144441 144441 0 0.0
rodata 144220 144220 0 0.0
text 815488 815488 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161735 1161735 0 0.0
bss 143668 143668 0 0.0
rodata 135792 135792 0 0.0
text 803384 803384 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148256 1148256 0 0.0
.bss 110556 110556 0 0.0
.data 832 832 0 0.0
.text 595356 595356 0 0.0
lock-app qpg6105+debug (read/write) 1113320 1113320 0 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560416 560416 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 788968 788960 -8 -0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 552918 552916 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 811072 811072 0 0.0
bss 73328 73328 0 0.0
noinit 43520 43520 0 0.0
text 571138 571140 2 0.0
ota-requestor-app tlsr9518adk80d (read/write) 819016 819008 -8 -0.0
bss 74236 74236 0 0.0
noinit 43520 43520 0 0.0
text 577324 577320 -4 -0.0

@github-actions
Copy link

github-actions bot commented Oct 6, 2022

PR #23054: Size comparison from 530adb6 to c1678f5

Increases above 0.2%:

platform target config section 530adb6 c1678f5 change % change
k32w light k32w0+release (read/write) 641588 670868 29280 4.6
.text 561972 591264 29292 5.2
Increases (6 builds for bl702, cc13x2_26x2, efr32, k32w, telink)
platform target config section 530adb6 c1678f5 change % change
bl702 lighting-app bl702+rpc (read/write) 1284131 1284147 16 0.0
.debug_info 41811330 41811331 1 0.0
.text 1030480 1030482 2 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676775 676783 8 0.0
.text 586856 586864 8 0.0
pump-controller-app LP_CC2652R7 (read/write) 177508 177516 8 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 973752 973768 16 0.0
.text 819240 819256 16 0.0
k32w light k32w0+release (read/write) 641588 670868 29280 4.6
.text 561972 591264 29292 5.2
telink lighting-app tlsr9518adk80d (read/write) 811072 811080 8 0.0
text 571138 571142 4 0.0
Decreases (9 builds for bl602, bl702, cc13x2_26x2, k32w, psoc6, telink)
platform target config section 530adb6 c1678f5 change % change
bl602 lighting-app bl602+rpc (read/write) 1434430 1434422 -8 -0.0
.text 1100154 1100152 -2 -0.0
bl702 lighting-app bl702 .debug_info 37904720 37904719 -1 -0.0
.text 956780 956778 -2 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174768 174760 -8 -0.0
pump-controller-app LP_CC2652R7 (read only) 672019 672011 -8 -0.0
.text 585440 585432 -8 -0.0
k32w contact k32w0+release (read/write) 665928 661108 -4820 -0.7
.bss 77048 77040 -8 -0.0
.data 2108 2104 -4 -0.2
.text 567660 562852 -4808 -0.8
light k32w0+release .bss 74824 74816 -8 -0.0
.data 2064 2060 -4 -0.2
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 26830825 26830824 -1 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 26567607 26567606 -1 -0.0
telink ota-requestor-app tlsr9518adk80d (read/write) 819016 819008 -8 -0.0
text 577324 577320 -4 -0.0
Full report (38 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 530adb6 c1678f5 change % change
bl602 lighting-app bl602 (read/write) 1389210 1389210 0 0.0
.bss 90729 90729 0 0.0
.data 9928 9928 0 0.0
.text 1068808 1068808 0 0.0
bl602+rpc (read/write) 1434430 1434422 -8 -0.0
.bss 98161 98161 0 0.0
.data 10312 10312 0 0.0
.text 1100154 1100152 -2 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188211 1188211 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67102 67102 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1506913 1506913 0 0.0
.debug_aranges 133120 133120 0 0.0
.debug_frame 486540 486540 0 0.0
.debug_info 37904720 37904719 -1 -0.0
.debug_line 5256212 5256212 0 0.0
.debug_loc 3366560 3366560 0 0.0
.debug_ranges 359264 359264 0 0.0
.debug_str 3457718 3457718 0 0.0
.hbn 509 509 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 116552 116552 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565037 565037 0 0.0
.symtab 171648 171648 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
956780 956778 -2 -0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284131 1284147 16 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75150 75150 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644458 1644458 0 0.0
.debug_aranges 140624 140624 0 0.0
.debug_frame 511916 511916 0 0.0
.debug_info 41811330 41811331 1 0.0
.debug_line 5630747 5630747 0 0.0
.debug_loc 3559220 3559220 0 0.0
.debug_ranges 381720 381720 0 0.0
.debug_str 3853618 3853618 0 0.0
.hbn 509 509 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 129944 129944 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624210 624210 0 0.0
.symtab 189456 189456 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030480 1030482 2 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676775 676783 8 0.0
(read/write) 174768 174760 -8 -0.0
.bss 81236 81236 0 0.0
.data 3380 3380 0 0.0
.rodata 89607 89607 0 0.0
.text 586856 586864 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641031 641031 0 0.0
(read/write) 158004 158004 0 0.0
.bss 80508 80508 0 0.0
.data 3380 3380 0 0.0
.rodata 78743 78743 0 0.0
.text 561968 561968 0 0.0
lock-ftd LP_CC2652R7 (read only) 675467 675467 0 0.0
(read/write) 173228 173228 0 0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77131 77131 0 0.0
.text 597856 597856 0 0.0
lock-mtd LP_CC2652R7 (read only) 659215 659215 0 0.0
(read/write) 185168 185168 0 0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 102951 102951 0 0.0
.text 555784 555784 0 0.0
pump-app LP_CC2652R7 (read only) 687519 687519 0 0.0
(read/write) 161896 161896 0 0.0
.bss 78428 78428 0 0.0
.data 3296 3296 0 0.0
.rodata 90543 90543 0 0.0
.text 596492 596492 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672019 672011 -8 -0.0
(read/write) 177508 177516 8 0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86099 86099 0 0.0
.text 585440 585432 -8 -0.0
shell LP_CC2652R7 (read only) 667830 667830 0 0.0
(read/write) 186032 186032 0 0.0
.bss 83556 83556 0 0.0
.data 3376 3376 0 0.0
.rodata 86318 86318 0 0.0
.text 581196 581196 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587738 587738 0 0.0
.app_xip_area 464348 464348 0 0.0
.bss 65808 65808 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 591994 591994 0 0.0
.app_xip_area 463284 463284 0 0.0
.bss 71120 71120 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543586 543586 0 0.0
.app_xip_area 425252 425252 0 0.0
.bss 60800 60800 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 973752 973768 16 0.0
.bss 152244 152244 0 0.0
.data 2248 2248 0 0.0
.text 819240 819256 16 0.0
BRD4161A+rs911x (read/write) 1031312 1031312 0 0.0
.bss 186640 186640 0 0.0
.data 2092 2092 0 0.0
.text 842560 842560 0 0.0
BRD4187C (read/write) 1146076 1146076 0 0.0
.bss 138624 138624 0 0.0
.data 2596 2596 0 0.0
.text 980260 980260 0 0.0
lock-app BRD4161A+wf200 (read/write) 1157232 1157232 0 0.0
.bss 158192 158192 0 0.0
.data 2100 2100 0 0.0
.text 996920 996920 0 0.0
window-app BRD4187C (read/write) 1138076 1138076 0 0.0
.bss 140064 140064 0 0.0
.data 2620 2620 0 0.0
.text 970796 970796 0 0.0
esp32 all-clusters-app c3devkit (read only) 1223146 1223146 0 0.0
(read/write) 1788118 1788118 0 0.0
.dram0.bss 76944 76944 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 257688 257688 0 0.0
.flash.text 1223146 1223146 0 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1233187 1233187 0 0.0
(read/write) 564020 564020 0 0.0
.dram0.bss 82312 82312 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 314744 314744 0 0.0
.flash.text 1227803 1227803 0 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 665928 661108 -4820 -0.7
.bss 77048 77040 -8 -0.0
.data 2108 2104 -4 -0.2
.text 567660 562852 -4808 -0.8
light k32w0+release (read/write) 641588 670868 29280 4.6
.bss 74824 74816 -8 -0.0
.data 2064 2060 -4 -0.2
.text 561972 591264 29292 5.2
lock k32w0+release (read/write) 632916 632916 0 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552508 552508 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10428900 10428900 0 0.0
(read/write) 706321 706321 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650608 650608 0 0.0
.dynamic 560 560 0 0.0
.got 13896 13896 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518004 518004 0 0.0
.text 8255348 8255348 0 0.0
thermostat-no-ble arm64 (read only) 2389420 2389420 0 0.0
(read/write) 143617 143617 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77232 77232 0 0.0
.dynamic 560 560 0 0.0
.got 5176 5176 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144244 144244 0 0.0
.text 2002288 2002288 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2451792 2451792 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414436 1414436 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183051 1183051 0 0.0
bss 144441 144441 0 0.0
rodata 144220 144220 0 0.0
text 815488 815488 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161735 1161735 0 0.0
bss 143668 143668 0 0.0
rodata 135792 135792 0 0.0
text 803384 803384 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841968 841968 0 0.0
(read/write) 1744748 1744748 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188712 188712 0 0.0
.comment 204 204 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 1229469 1229469 0 0.0
.debug_aranges 111848 111848 0 0.0
.debug_frame 373448 373448 0 0.0
.debug_info 26830825 26830824 -1 -0.0
.debug_line 3671570 3671570 0 0.0
.debug_loc 3588349 3588349 0 0.0
.debug_ranges 339632 339632 0 0.0
.debug_str 3441121 3441121 0 0.0
.heap 841968 841968 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 569605 569605 0 0.0
.symtab 421120 421120 0 0.0
.text 1544984 1544984 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842704 842704 0 0.0
(read/write) 1687356 1687356 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187976 187976 0 0.0
.comment 204 204 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 1221268 1221268 0 0.0
.debug_aranges 111320 111320 0 0.0
.debug_frame 376528 376528 0 0.0
.debug_info 26567607 26567606 -1 -0.0
.debug_line 3692286 3692286 0 0.0
.debug_loc 3575986 3575986 0 0.0
.debug_ranges 338248 338248 0 0.0
.debug_str 3430134 3430134 0 0.0
.heap 842704 842704 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 533694 533694 0 0.0
.symtab 407552 407552 0 0.0
.text 1488328 1488328 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850896 850896 0 0.0
(read/write) 1605884 1605884 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179992 179992 0 0.0
.comment 204 204 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 1055324 1055324 0 0.0
.debug_aranges 103528 103528 0 0.0
.debug_frame 346860 346860 0 0.0
.debug_info 22031248 22031248 0 0.0
.debug_line 3262191 3262191 0 0.0
.debug_loc 3273948 3273948 0 0.0
.debug_ranges 303552 303552 0 0.0
.debug_str 3235666 3235666 0 0.0
.heap 850896 850896 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 470071 470071 0 0.0
.symtab 376000 376000 0 0.0
.text 1415048 1415048 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845880 845880 0 0.0
(read/write) 1639804 1639804 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184992 184992 0 0.0
.comment 204 204 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 1057427 1057427 0 0.0
.debug_aranges 103928 103928 0 0.0
.debug_frame 348752 348752 0 0.0
.debug_info 22269917 22269917 0 0.0
.debug_line 3260052 3260052 0 0.0
.debug_loc 3302541 3302541 0 0.0
.debug_ranges 305496 305496 0 0.0
.debug_str 3255180 3255180 0 0.0
.heap 845880 845880 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 472478 472478 0 0.0
.symtab 377664 377664 0 0.0
.text 1443952 1443952 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148256 1148256 0 0.0
.bss 110556 110556 0 0.0
.data 832 832 0 0.0
.text 595356 595356 0 0.0
lock-app qpg6105+debug (read/write) 1113320 1113320 0 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560416 560416 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 788968 788968 0 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 552918 552918 0 0.0
lighting-app tlsr9518adk80d (read/write) 811072 811080 8 0.0
bss 73328 73328 0 0.0
noinit 43520 43520 0 0.0
text 571138 571142 4 0.0
ota-requestor-app tlsr9518adk80d (read/write) 819016 819008 -8 -0.0
bss 74236 74236 0 0.0
noinit 43520 43520 0 0.0
text 577324 577320 -4 -0.0

@github-actions
Copy link

github-actions bot commented Oct 7, 2022

PR #23054: Size comparison from 530adb6 to 3beceac

Increases above 0.2%:

platform target config section 530adb6 3beceac change % change
k32w light k32w0+release (read/write) 641588 670900 29312 4.6
.text 561972 591296 29324 5.2
Increases (33 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 530adb6 3beceac change % change
bl602 lighting-app bl602 (read/write) 1389210 1389242 32 0.0
.text 1068808 1068834 26 0.0
bl602+rpc (read/write) 1434430 1434454 24 0.0
.text 1100154 1100180 26 0.0
bl702 lighting-app bl702 (read/write) 1188211 1188243 32 0.0
.debug_aranges 133120 133128 8 0.0
.debug_frame 486540 486580 40 0.0
.debug_line 5256212 5256255 43 0.0
.debug_loc 3366560 3366594 34 0.0
.debug_ranges 359264 359272 8 0.0
.debug_str 3457718 3457767 49 0.0
.strtab 565037 565071 34 0.0
.symtab 171648 171664 16 0.0
.text 956780 956806 26 0.0
bl702+rpc (read/write) 1284131 1284163 32 0.0
.debug_aranges 140624 140632 8 0.0
.debug_frame 511916 511956 40 0.0
.debug_line 5630747 5630790 43 0.0
.debug_loc 3559220 3559254 34 0.0
.debug_ranges 381720 381728 8 0.0
.debug_str 3853618 3853667 49 0.0
.strtab 624210 624244 34 0.0
.symtab 189456 189472 16 0.0
.text 1030480 1030506 26 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676775 676807 32 0.0
.text 586856 586888 32 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641031 641055 24 0.0
.text 561968 561992 24 0.0
lock-ftd LP_CC2652R7 (read only) 675467 675491 24 0.0
.text 597856 597880 24 0.0
lock-mtd LP_CC2652R7 (read only) 659215 659239 24 0.0
.text 555784 555808 24 0.0
pump-app LP_CC2652R7 (read only) 687519 687543 24 0.0
.text 596492 596516 24 0.0
pump-controller-app LP_CC2652R7 (read only) 672019 672035 16 0.0
.text 585440 585456 16 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587738 587770 32 0.0
.app_xip_area 464348 464380 32 0.0
lock cyw930739m2evb_01 (read/write) 591994 592026 32 0.0
.app_xip_area 463284 463316 32 0.0
efr32 lighting-app BRD4161A+rpc .bss 152244 152252 8 0.0
BRD4161A+rs911x .bss 186640 186656 16 0.0
BRD4187C .bss 138624 138640 16 0.0
lock-app BRD4161A+wf200 .bss 158192 158208 16 0.0
window-app BRD4187C (read/write) 1138076 1138912 836 0.1
.bss 140064 140080 16 0.0
.text 970796 971616 820 0.1
k32w light k32w0+release (read/write) 641588 670900 29312 4.6
.text 561972 591296 29324 5.2
lock k32w0+release (read/write) 632916 632948 32 0.0
.text 552508 552540 32 0.0
linux chip-tool-ipv6only arm64 (read only) 10428900 10428964 64 0.0
.text 8255348 8255412 64 0.0
thermostat-no-ble arm64 (read only) 2389420 2389468 48 0.0
.text 2002288 2002336 48 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2451792 2451856 64 0.0
.text 1414436 1414500 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183051 1183083 32 0.0
text 815488 815516 28 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161735 1161751 16 0.0
text 803384 803408 24 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1744748 1744764 16 0.0
.debug_aranges 111848 111856 8 0.0
.debug_frame 373448 373484 36 0.0
.debug_ranges 339632 339640 8 0.0
.debug_str 3441121 3441170 49 0.0
.strtab 569605 569639 34 0.0
.symtab 421120 421184 64 0.0
.text 1544984 1545000 16 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1687356 1687372 16 0.0
.debug_aranges 111320 111328 8 0.0
.debug_frame 376528 376564 36 0.0
.debug_ranges 338248 338256 8 0.0
.debug_str 3430134 3430183 49 0.0
.strtab 533694 533728 34 0.0
.symtab 407552 407616 64 0.0
.text 1488328 1488344 16 0.0
light cy8ckit_062s2_43012 (read/write) 1605884 1605900 16 0.0
.debug_aranges 103528 103536 8 0.0
.debug_frame 346860 346896 36 0.0
.debug_ranges 303552 303560 8 0.0
.debug_str 3235666 3235715 49 0.0
.strtab 470071 470105 34 0.0
.symtab 376000 376064 64 0.0
.text 1415048 1415064 16 0.0
lock cy8ckit_062s2_43012 (read/write) 1639804 1639820 16 0.0
.debug_aranges 103928 103936 8 0.0
.debug_frame 348752 348788 36 0.0
.debug_line 3260052 3260055 3 0.0
.debug_ranges 305496 305504 8 0.0
.debug_str 3255180 3255229 49 0.0
.strtab 472478 472512 34 0.0
.symtab 377664 377728 64 0.0
.text 1443952 1443968 16 0.0
qpg lighting-app qpg6105+debug (read/write) 1148256 1148280 24 0.0
.text 595356 595380 24 0.0
lock-app qpg6105+debug (read/write) 1113320 1113344 24 0.0
.text 560416 560440 24 0.0
telink light-switch-app tlsr9518adk80d (read/write) 788968 789000 32 0.0
text 552918 552954 36 0.0
lighting-app tlsr9518adk80d (read/write) 811072 811112 40 0.0
text 571138 571176 38 0.0
ota-requestor-app tlsr9518adk80d (read/write) 819016 819048 32 0.0
text 577324 577356 32 0.0
Decreases (17 builds for bl702, cc13x2_26x2, efr32, k32w, psoc6)
platform target config section 530adb6 3beceac change % change
bl702 lighting-app bl702 .debug_abbrev 1506913 1506865 -48 -0.0
.debug_info 37904720 37904658 -62 -0.0
bl702+rpc .debug_abbrev 1644458 1644410 -48 -0.0
.debug_info 41811330 41811270 -60 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174768 174736 -32 -0.0
lock-ftd LP_CC2652R7 (read/write) 173228 173204 -24 -0.0
lock-mtd LP_CC2652R7 (read/write) 185168 185144 -24 -0.0
pump-app LP_CC2652R7 (read/write) 161896 161872 -24 -0.0
pump-controller-app LP_CC2652R7 (read/write) 177508 177492 -16 -0.0
efr32 lighting-app BRD4161A+rpc (read/write) 973752 973512 -240 -0.0
.text 819240 818992 -248 -0.0
BRD4161A+rs911x (read/write) 1031312 1030736 -576 -0.1
.text 842560 841968 -592 -0.1
BRD4187C (read/write) 1146076 1145476 -600 -0.1
.text 980260 979644 -616 -0.1
lock-app BRD4161A+wf200 (read/write) 1157232 1156792 -440 -0.0
.text 996920 996460 -460 -0.0
k32w contact k32w0+release (read/write) 665928 661140 -4788 -0.7
.bss 77048 77040 -8 -0.0
.data 2108 2104 -4 -0.2
.text 567660 562884 -4776 -0.8
light k32w0+release .bss 74824 74816 -8 -0.0
.data 2064 2060 -4 -0.2
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1229469 1229374 -95 -0.0
.debug_info 26830825 26830674 -151 -0.0
.debug_line 3671570 3671535 -35 -0.0
.debug_loc 3588349 3588341 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1221268 1221173 -95 -0.0
.debug_info 26567607 26567457 -150 -0.0
.debug_line 3692286 3692252 -34 -0.0
.debug_loc 3575986 3575978 -8 -0.0
light cy8ckit_062s2_43012 .debug_abbrev 1055324 1055284 -40 -0.0
.debug_info 22031248 22031181 -67 -0.0
.debug_line 3262191 3262190 -1 -0.0
.debug_loc 3273948 3273940 -8 -0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1057427 1057410 -17 -0.0
.debug_info 22269917 22269877 -40 -0.0
.debug_loc 3302541 3302533 -8 -0.0
Full report (36 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 530adb6 3beceac change % change
bl602 lighting-app bl602 (read/write) 1389210 1389242 32 0.0
.bss 90729 90729 0 0.0
.data 9928 9928 0 0.0
.text 1068808 1068834 26 0.0
bl602+rpc (read/write) 1434430 1434454 24 0.0
.bss 98161 98161 0 0.0
.data 10312 10312 0 0.0
.text 1100154 1100180 26 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188211 1188243 32 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67102 67102 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1506913 1506865 -48 -0.0
.debug_aranges 133120 133128 8 0.0
.debug_frame 486540 486580 40 0.0
.debug_info 37904720 37904658 -62 -0.0
.debug_line 5256212 5256255 43 0.0
.debug_loc 3366560 3366594 34 0.0
.debug_ranges 359264 359272 8 0.0
.debug_str 3457718 3457767 49 0.0
.hbn 509 509 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 116552 116552 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565037 565071 34 0.0
.symtab 171648 171664 16 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
956780 956806 26 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284131 1284163 32 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75150 75150 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644458 1644410 -48 -0.0
.debug_aranges 140624 140632 8 0.0
.debug_frame 511916 511956 40 0.0
.debug_info 41811330 41811270 -60 -0.0
.debug_line 5630747 5630790 43 0.0
.debug_loc 3559220 3559254 34 0.0
.debug_ranges 381720 381728 8 0.0
.debug_str 3853618 3853667 49 0.0
.hbn 509 509 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 129944 129944 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624210 624244 34 0.0
.symtab 189456 189472 16 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030480 1030506 26 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676775 676807 32 0.0
(read/write) 174768 174736 -32 -0.0
.bss 81236 81236 0 0.0
.data 3380 3380 0 0.0
.rodata 89607 89607 0 0.0
.text 586856 586888 32 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641031 641055 24 0.0
(read/write) 158004 158004 0 0.0
.bss 80508 80508 0 0.0
.data 3380 3380 0 0.0
.rodata 78743 78743 0 0.0
.text 561968 561992 24 0.0
lock-ftd LP_CC2652R7 (read only) 675467 675491 24 0.0
(read/write) 173228 173204 -24 -0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77131 77131 0 0.0
.text 597856 597880 24 0.0
lock-mtd LP_CC2652R7 (read only) 659215 659239 24 0.0
(read/write) 185168 185144 -24 -0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 102951 102951 0 0.0
.text 555784 555808 24 0.0
pump-app LP_CC2652R7 (read only) 687519 687543 24 0.0
(read/write) 161896 161872 -24 -0.0
.bss 78428 78428 0 0.0
.data 3296 3296 0 0.0
.rodata 90543 90543 0 0.0
.text 596492 596516 24 0.0
pump-controller-app LP_CC2652R7 (read only) 672019 672035 16 0.0
(read/write) 177508 177492 -16 -0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86099 86099 0 0.0
.text 585440 585456 16 0.0
shell LP_CC2652R7 (read only) 667830 667830 0 0.0
(read/write) 186032 186032 0 0.0
.bss 83556 83556 0 0.0
.data 3376 3376 0 0.0
.rodata 86318 86318 0 0.0
.text 581196 581196 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587738 587770 32 0.0
.app_xip_area 464348 464380 32 0.0
.bss 65808 65808 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 591994 592026 32 0.0
.app_xip_area 463284 463316 32 0.0
.bss 71120 71120 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543586 543586 0 0.0
.app_xip_area 425252 425252 0 0.0
.bss 60800 60800 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 973752 973512 -240 -0.0
.bss 152244 152252 8 0.0
.data 2248 2248 0 0.0
.text 819240 818992 -248 -0.0
BRD4161A+rs911x (read/write) 1031312 1030736 -576 -0.1
.bss 186640 186656 16 0.0
.data 2092 2092 0 0.0
.text 842560 841968 -592 -0.1
BRD4187C (read/write) 1146076 1145476 -600 -0.1
.bss 138624 138640 16 0.0
.data 2596 2596 0 0.0
.text 980260 979644 -616 -0.1
lock-app BRD4161A+wf200 (read/write) 1157232 1156792 -440 -0.0
.bss 158192 158208 16 0.0
.data 2100 2100 0 0.0
.text 996920 996460 -460 -0.0
window-app BRD4187C (read/write) 1138076 1138912 836 0.1
.bss 140064 140080 16 0.0
.data 2620 2620 0 0.0
.text 970796 971616 820 0.1
k32w contact k32w0+release (read/write) 665928 661140 -4788 -0.7
.bss 77048 77040 -8 -0.0
.data 2108 2104 -4 -0.2
.text 567660 562884 -4776 -0.8
light k32w0+release (read/write) 641588 670900 29312 4.6
.bss 74824 74816 -8 -0.0
.data 2064 2060 -4 -0.2
.text 561972 591296 29324 5.2
lock k32w0+release (read/write) 632916 632948 32 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552508 552540 32 0.0
linux chip-tool-ipv6only arm64 (read only) 10428900 10428964 64 0.0
(read/write) 706321 706321 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650608 650608 0 0.0
.dynamic 560 560 0 0.0
.got 13896 13896 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518004 518004 0 0.0
.text 8255348 8255412 64 0.0
thermostat-no-ble arm64 (read only) 2389420 2389468 48 0.0
(read/write) 143617 143617 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77232 77232 0 0.0
.dynamic 560 560 0 0.0
.got 5176 5176 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144244 144244 0 0.0
.text 2002288 2002336 48 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2451792 2451856 64 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414436 1414500 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183051 1183083 32 0.0
bss 144441 144441 0 0.0
rodata 144220 144220 0 0.0
text 815488 815516 28 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1161735 1161751 16 0.0
bss 143668 143668 0 0.0
rodata 135792 135792 0 0.0
text 803384 803408 24 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841968 841968 0 0.0
(read/write) 1744748 1744764 16 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188712 188712 0 0.0
.comment 204 204 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 1229469 1229374 -95 -0.0
.debug_aranges 111848 111856 8 0.0
.debug_frame 373448 373484 36 0.0
.debug_info 26830825 26830674 -151 -0.0
.debug_line 3671570 3671535 -35 -0.0
.debug_loc 3588349 3588341 -8 -0.0
.debug_ranges 339632 339640 8 0.0
.debug_str 3441121 3441170 49 0.0
.heap 841968 841968 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 569605 569639 34 0.0
.symtab 421120 421184 64 0.0
.text 1544984 1545000 16 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842704 842704 0 0.0
(read/write) 1687356 1687372 16 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187976 187976 0 0.0
.comment 204 204 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 1221268 1221173 -95 -0.0
.debug_aranges 111320 111328 8 0.0
.debug_frame 376528 376564 36 0.0
.debug_info 26567607 26567457 -150 -0.0
.debug_line 3692286 3692252 -34 -0.0
.debug_loc 3575986 3575978 -8 -0.0
.debug_ranges 338248 338256 8 0.0
.debug_str 3430134 3430183 49 0.0
.heap 842704 842704 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 533694 533728 34 0.0
.symtab 407552 407616 64 0.0
.text 1488328 1488344 16 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850896 850896 0 0.0
(read/write) 1605884 1605900 16 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179992 179992 0 0.0
.comment 204 204 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 1055324 1055284 -40 -0.0
.debug_aranges 103528 103536 8 0.0
.debug_frame 346860 346896 36 0.0
.debug_info 22031248 22031181 -67 -0.0
.debug_line 3262191 3262190 -1 -0.0
.debug_loc 3273948 3273940 -8 -0.0
.debug_ranges 303552 303560 8 0.0
.debug_str 3235666 3235715 49 0.0
.heap 850896 850896 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 470071 470105 34 0.0
.symtab 376000 376064 64 0.0
.text 1415048 1415064 16 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845880 845880 0 0.0
(read/write) 1639804 1639820 16 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184992 184992 0 0.0
.comment 204 204 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 1057427 1057410 -17 -0.0
.debug_aranges 103928 103936 8 0.0
.debug_frame 348752 348788 36 0.0
.debug_info 22269917 22269877 -40 -0.0
.debug_line 3260052 3260055 3 0.0
.debug_loc 3302541 3302533 -8 -0.0
.debug_ranges 305496 305504 8 0.0
.debug_str 3255180 3255229 49 0.0
.heap 845880 845880 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 472478 472512 34 0.0
.symtab 377664 377728 64 0.0
.text 1443952 1443968 16 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148256 1148280 24 0.0
.bss 110556 110556 0 0.0
.data 832 832 0 0.0
.text 595356 595380 24 0.0
lock-app qpg6105+debug (read/write) 1113320 1113344 24 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560416 560440 24 0.0
telink light-switch-app tlsr9518adk80d (read/write) 788968 789000 32 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 552918 552954 36 0.0
lighting-app tlsr9518adk80d (read/write) 811072 811112 40 0.0
bss 73328 73328 0 0.0
noinit 43520 43520 0 0.0
text 571138 571176 38 0.0
ota-requestor-app tlsr9518adk80d (read/write) 819016 819048 32 0.0
bss 74236 74236 0 0.0
noinit 43520 43520 0 0.0
text 577324 577356 32 0.0

Copy link
Contributor

@mrjerryjohns mrjerryjohns left a comment

Choose a reason for hiding this comment

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

I didn't take a close look at the core logic in the helpers, but I looked through the test cases, ran the targets command locally to verify its output, and ran the previous 'glob' command for a handful of targets to ensure the newly expanded targets being built in CI do match.

Thanks @andy31415 !

scripts/build/build_examples.py Show resolved Hide resolved
@andy31415 andy31415 merged commit 8eb1865 into project-chip:master Oct 11, 2022
selissia pushed a commit to selissia/connectedhomeip that referenced this pull request Oct 12, 2022
…chip#23054)

* Starting to add some build target logic and unit tests

* Restyle

* make basic unit tests pass

* More unit tests

* Restyle

* Update prefix logic: use the builder prefix as well

* Prepare to move build targets for linux

* More conversion tests

* more conversions

* Converted more targets

* Converted more targets

* Updted more targets

* Simplify target part

* Restyle

* All applications are converted

* Remove old target code - should not be needed anymore

* Restyle

* Building at least chip-tool works. No introspection though

* Fix typo in m5 builds

* A bit easier to parse logging

* More updates

* Add ability to output all variants of some target

* Restyle

* Add the ability to print all possible targets

* Add esp32 qemu support

* Restyle

* Fix typo

* Simplify target printout, make nrf tests work

* Restyle

* Remove some usages of target glob

* Replace glob in build scripts

* Restyle

* convert some globs into instructions, fix some target compile bugs

* make unit tests pass

* more unit tests

* Restyle

* Remove the default of "all" in build targets since that does not mean anything anymore

* Rename arm64-clang to arm64 in targets for cloudbuild smoke test

* For arm64, clang is a modifier that is required

* Remove some whitespace.Tested that targets are ok

* Fix ameba

* Fix tizen

* Fix infineon

* Fix qpg

* Fix infineon, cc13x2x7 and update android a bit

* Fix linux standalone

* Fix efr32

* Fix esp32

* Remove glob option from tasks.json

* Fix platform naming for targets - fixes darwin target naming

* Fix k32w targets - no more release

* Adjust arm64 cross compile target names

* Fix boufallolab app target

* All-clusters full thread device does not link (insufficient ram/flash) on cc13x2x7. Updating to minimal thread device only

* Update k32w example builds: nologs is mandatory for low-power builds

* Fix output dir for boufallolab: output should be all lowercase

* Add back the test/extra_tests variant to host builds

* Fix qpg size reports

* Update unit tests for available outpust now that test variant was added

* Fix expected paths for cc13x2x7 builds

* Fix typo in infineon build

* Fix BL702 path for output - duplicate boufallolab

* Allow rpc modifier for BL706

* Fix unit tests

* Move nltestrunner to esp32 test runner and include in cloudbuild

* Undo duplicate build target addition

* Fix typo: esp32 -> efr32

* Split out fake platform: only tests are really supported there
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

3 participants