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

Compile time code generation - add relevant code to all example builds (plus one sample codegen moved) #23247

Merged
merged 27 commits into from
Oct 21, 2022

Conversation

andy31415
Copy link
Contributor

Picked PluginApplicationCallbacks.h because it is simple and added it to a compile-time generated list.

The main exercise for this is to make sure we can inject the appropriate calls to compile time generation to all examples. It is not yet perfect as it only involves include directories, however it does a "if it compiles it works, otherwise it fails to compile" approach.

Uses codegen.py rather than ZAP for this particular file. For other files, we may chose to use ZAP however for that we have to:

  • ensure it is stand-alone runnable (likely as an installable app)
  • figure out any multi-processing conflicts as cmake/gn WILL run build steps in parallel and zap shares a common DB.

Picked PluginApplicationCallbacks because it is simple and added
it to a compile-time generated list.

The main exercise for this is to make sure we can inject the
appropriate calls to compile time generation to all examples.
It is not yet perfect as it only involves include directories,
however it does a "if it compiles it works, otherwise it fails
to compile" approach.

Uses codegen.py rather than ZAP for this particular file. For
other files, we may chose to use ZAP however for that we have
to:
  - ensure it is stand-alone runnable (likely as an installable app)
  - figure out any multi-processing conflicts as cmake/gn WILL run
    build steps in parallel and zap shares a common DB.
@andy31415 andy31415 changed the title Compile time code generation. Compile time code generation - add relevant code to all example builds (plus one sample codegen moved) Oct 18, 2022
@github-actions
Copy link

github-actions bot commented Oct 19, 2022

PR #23247: Size comparison from e4f60ce to c07b25e

Increases (7 builds for bl702, psoc6, telink)
platform target config section e4f60ce c07b25ee change % change
bl702 lighting-app bl702 .debug_abbrev 1507059 1507061 2 0.0
.debug_info 37908755 37908756 1 0.0
bl702+rpc .debug_abbrev 1644604 1644606 2 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1229571 1229573 2 0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1221370 1221372 2 0.0
.debug_info 26574056 26574057 1 0.0
light cy8ckit_062s2_43012 .debug_abbrev 1055481 1055483 2 0.0
.debug_info 22037778 22037779 1 0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1057420 1057422 2 0.0
.debug_info 22271069 22271070 1 0.0
telink lighting-app tlsr9518adk80d text 565920 565922 2 0.0
Decreases (3 builds for bl602, bl702, qpg)
platform target config section e4f60ce c07b25ee change % change
bl602 lighting-app bl602+rpc .text 1100718 1100716 -2 -0.0
bl702 lighting-app bl702+rpc .text 1030756 1030754 -2 -0.0
qpg lock-app qpg6105+debug (read/write) 1113696 1113688 -8 -0.0
.text 560792 560784 -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 e4f60ce c07b25ee change % change
bl602 lighting-app bl602 (read/write) 1389982 1389982 0 0.0
.bss 90745 90745 0 0.0
.data 9928 9928 0 0.0
.text 1069372 1069372 0 0.0
bl602+rpc (read/write) 1435198 1435198 0 0.0
.bss 98177 98177 0 0.0
.data 10312 10312 0 0.0
.text 1100718 1100716 -2 -0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188947 1188947 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67118 67118 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1507059 1507061 2 0.0
.debug_aranges 133144 133144 0 0.0
.debug_frame 486648 486648 0 0.0
.debug_info 37908755 37908756 1 0.0
.debug_line 5257407 5257407 0 0.0
.debug_loc 3367638 3367638 0 0.0
.debug_ranges 359456 359456 0 0.0
.debug_str 3457927 3457927 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 116744 116744 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565127 565127 0 0.0
.symtab 171680 171680 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957310 957310 0 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284627 1284627 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644604 1644606 2 0.0
.debug_aranges 140648 140648 0 0.0
.debug_frame 512020 512020 0 0.0
.debug_info 41815370 41815370 0 0.0
.debug_line 5631938 5631938 0 0.0
.debug_loc 3560285 3560285 0 0.0
.debug_ranges 381912 381912 0 0.0
.debug_str 3853897 3853897 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 130136 130136 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624300 624300 0 0.0
.symtab 189488 189488 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030756 1030754 -2 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677351 677351 0 0.0
(read/write) 174208 174208 0 0.0
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89791 89791 0 0.0
.text 587248 587248 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641599 641599 0 0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 78927 78927 0 0.0
.text 562352 562352 0 0.0
lock-ftd LP_CC2652R7 (read only) 675851 675851 0 0.0
(read/write) 172844 172844 0 0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77315 77315 0 0.0
.text 598056 598056 0 0.0
lock-mtd LP_CC2652R7 (read only) 659607 659607 0 0.0
(read/write) 184776 184776 0 0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103135 103135 0 0.0
.text 555992 555992 0 0.0
pump-app LP_CC2652R7 (read only) 688091 688091 0 0.0
(read/write) 161340 161340 0 0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90731 90731 0 0.0
.text 596876 596876 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672415 672415 0 0.0
(read/write) 177112 177112 0 0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86287 86287 0 0.0
.text 585648 585648 0 0.0
shell LP_CC2652R7 (read only) 668374 668374 0 0.0
(read/write) 185504 185504 0 0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86502 86502 0 0.0
.text 581556 581556 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588130 588130 0 0.0
.app_xip_area 464716 464716 0 0.0
.bss 65832 65832 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) 592170 592170 0 0.0
.app_xip_area 463460 463460 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) 543966 543966 0 0.0
.app_xip_area 425632 425632 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) 974060 974060 0 0.0
.bss 152276 152276 0 0.0
.data 2248 2248 0 0.0
.text 819516 819516 0 0.0
BRD4161A+rs911x (read/write) 1031208 1031208 0 0.0
.bss 186680 186680 0 0.0
.data 2092 2092 0 0.0
.text 842416 842416 0 0.0
BRD4187C (read/write) 1146116 1146116 0 0.0
.bss 138664 138664 0 0.0
.data 2596 2596 0 0.0
.text 980260 980260 0 0.0
lock-app BRD4161A+wf200 (read/write) 1157008 1157008 0 0.0
.bss 158208 158208 0 0.0
.data 2100 2100 0 0.0
.text 996680 996680 0 0.0
window-app BRD4187C (read/write) 1139336 1139336 0 0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972040 972040 0 0.0
k32w contact k32w0+release (read/write) 661268 661268 0 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563012 563012 0 0.0
light k32w0+release (read/write) 671480 671480 0 0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 591852 591852 0 0.0
lock k32w0+release (read/write) 633076 633076 0 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552668 552668 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10429556 10429556 0 0.0
(read/write) 706353 706353 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650632 650632 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 518148 518148 0 0.0
.text 8255844 8255844 0 0.0
thermostat-no-ble arm64 (read only) 2390620 2390620 0 0.0
(read/write) 143633 143633 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77256 77256 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 144452 144452 0 0.0
.text 2003264 2003264 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452168 2452168 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414812 1414812 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183627 1183627 0 0.0
bss 144457 144457 0 0.0
rodata 144396 144396 0 0.0
text 815888 815888 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162311 1162311 0 0.0
bss 143684 143684 0 0.0
rodata 135968 135968 0 0.0
text 803780 803780 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 0 0 0 0.0
(read only) 841952 841952 0 0.0
(read/write) 1745420 1745420 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188728 188728 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 1229571 1229573 2 0.0
.debug_aranges 111880 111880 0 0.0
.debug_frame 373556 373556 0 0.0
.debug_info 26837274 26837274 0 0.0
.debug_line 3673065 3673065 0 0.0
.debug_loc 3590247 3590247 0 0.0
.debug_ranges 339736 339736 0 0.0
.debug_str 3441330 3441330 0 0.0
.heap 841952 841952 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 569695 569695 0 0.0
.symtab 421232 421232 0 0.0
.text 1545640 1545640 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 0 0 0 0.0
(read only) 842688 842688 0 0.0
(read/write) 1688004 1688004 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187992 187992 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 1221370 1221372 2 0.0
.debug_aranges 111352 111352 0 0.0
.debug_frame 376636 376636 0 0.0
.debug_info 26574056 26574057 1 0.0
.debug_line 3693782 3693782 0 0.0
.debug_loc 3577884 3577884 0 0.0
.debug_ranges 338352 338352 0 0.0
.debug_str 3430343 3430343 0 0.0
.heap 842688 842688 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 533784 533784 0 0.0
.symtab 407664 407664 0 0.0
.text 1488960 1488960 0 0.0
.zero.table 8 8 0 0.0
light cy8ckit_062s2_43012 0 0 0 0.0
(read only) 850872 850872 0 0.0
(read/write) 1606572 1606572 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180016 180016 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 1055481 1055483 2 0.0
.debug_aranges 103560 103560 0 0.0
.debug_frame 346968 346968 0 0.0
.debug_info 22037778 22037779 1 0.0
.debug_line 3263706 3263706 0 0.0
.debug_loc 3275846 3275846 0 0.0
.debug_ranges 303656 303656 0 0.0
.debug_str 3235875 3235875 0 0.0
.heap 850872 850872 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 470161 470161 0 0.0
.symtab 376112 376112 0 0.0
.text 1415712 1415712 0 0.0
.zero.table 8 8 0 0.0
lock cy8ckit_062s2_43012 0 0 0 0.0
(read only) 845880 845880 0 0.0
(read/write) 1640260 1640260 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 1057420 1057422 2 0.0
.debug_aranges 103952 103952 0 0.0
.debug_frame 348824 348824 0 0.0
.debug_info 22271069 22271070 1 0.0
.debug_line 3260671 3260671 0 0.0
.debug_loc 3303427 3303427 0 0.0
.debug_ranges 305592 305592 0 0.0
.debug_str 3255273 3255273 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 472512 472512 0 0.0
.symtab 377728 377728 0 0.0
.text 1444408 1444408 0 0.0
.zero.table 8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148808 1148808 0 0.0
.bss 110580 110580 0 0.0
.data 832 832 0 0.0
.text 595908 595908 0 0.0
lock-app qpg6105+debug (read/write) 1113696 1113688 -8 -0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560792 560784 -8 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 790200 790200 0 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 553782 553782 0 0.0
lighting-app tlsr9518adk80d (read/write) 805432 805432 0 0.0
bss 73240 73240 0 0.0
noinit 43520 43520 0 0.0
text 565920 565922 2 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804316 804316 0 0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 564788 564788 0 0.0

@github-actions
Copy link

PR #23247: Size comparison from e4f60ce to 892e39a

Increases (2 builds for bl702)
platform target config section e4f60ce 892e39a change % change
bl702 lighting-app bl702 .debug_abbrev 1507059 1507061 2 0.0
bl702+rpc .debug_abbrev 1644604 1644606 2 0.0
.debug_info 41815370 41815371 1 0.0
Decreases (1 build for bl702)
platform target config section e4f60ce 892e39a change % change
bl702 lighting-app bl702 .text 957310 957308 -2 -0.0
Full report (8 builds for bl702, k32w, mbed, qpg)
platform target config section e4f60ce 892e39a change % change
bl702 lighting-app bl702 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1188947 1188947 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67118 67118 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1507059 1507061 2 0.0
.debug_aranges 133144 133144 0 0.0
.debug_frame 486648 486648 0 0.0
.debug_info 37908755 37908755 0 0.0
.debug_line 5257407 5257407 0 0.0
.debug_loc 3367638 3367638 0 0.0
.debug_ranges 359456 359456 0 0.0
.debug_str 3457927 3457927 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 116744 116744 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565127 565127 0 0.0
.symtab 171680 171680 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 957310 957308 -2 -0.0
bl702+rpc 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1284627 1284627 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644604 1644606 2 0.0
.debug_aranges 140648 140648 0 0.0
.debug_frame 512020 512020 0 0.0
.debug_info 41815370 41815371 1 0.0
.debug_line 5631938 5631938 0 0.0
.debug_loc 3560285 3560285 0 0.0
.debug_ranges 381912 381912 0 0.0
.debug_str 3853897 3853897 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 130136 130136 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624300 624300 0 0.0
.symtab 189488 189488 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 1030756 1030756 0 0.0
k32w contact k32w0+release (read/write) 661268 661268 0 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563012 563012 0 0.0
light k32w0+release (read/write) 671480 671480 0 0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 591852 591852 0 0.0
lock k32w0+release (read/write) 633076 633076 0 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552668 552668 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452168 2452168 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414812 1414812 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148808 1148808 0 0.0
.bss 110580 110580 0 0.0
.data 832 832 0 0.0
.text 595908 595908 0 0.0
lock-app qpg6105+debug (read/write) 1113696 1113696 0 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560792 560792 0 0.0

@github-actions
Copy link

github-actions bot commented Oct 20, 2022

PR #23247: Size comparison from e4f60ce to ae38dc4

Increases (35 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section e4f60ce ae38dc4 change % change
bl602 lighting-app bl602 (read/write) 1389982 1390246 264 0.0
.text 1069372 1069636 264 0.0
bl602+rpc (read/write) 1435198 1435470 272 0.0
.text 1100718 1100986 268 0.0
bl702 lighting-app bl702 (read/write) 1188947 1189219 272 0.0
.debug_aranges 133144 133168 24 0.0
.debug_frame 486648 486752 104 0.0
.debug_info 37908755 37909063 308 0.0
.debug_line 5257407 5257986 579 0.0
.debug_loc 3367638 3367729 91 0.0
.debug_ranges 359456 359568 112 0.0
.debug_str 3457927 3458100 173 0.0
.strtab 565127 565314 187 0.0
.symtab 171680 171728 48 0.0
.text 957310 957576 266 0.0
bl702+rpc (read/write) 1284627 1284883 256 0.0
.debug_aranges 140648 140672 24 0.0
.debug_frame 512020 512124 104 0.0
.debug_info 41815370 41815677 307 0.0
.debug_line 5631938 5632517 579 0.0
.debug_loc 3560285 3560376 91 0.0
.debug_ranges 381912 382024 112 0.0
.debug_str 3853897 3854070 173 0.0
.strtab 624300 624487 187 0.0
.symtab 189488 189536 48 0.0
.text 1030756 1031022 266 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677351 677359 8 0.0
.text 587248 587256 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641599 641607 8 0.0
.text 562352 562360 8 0.0
lock-mtd LP_CC2652R7 (read only) 659607 659615 8 0.0
.text 555992 556000 8 0.0
pump-app LP_CC2652R7 (read only) 688091 688131 40 0.0
.rodata 90731 90763 32 0.0
.text 596876 596884 8 0.0
pump-controller-app LP_CC2652R7 (read only) 672415 672455 40 0.0
.rodata 86287 86319 32 0.0
.text 585648 585656 8 0.0
shell LP_CC2652R7 (read only) 668374 668382 8 0.0
.text 581556 581564 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588130 588138 8 0.0
.app_xip_area 464716 464724 8 0.0
lock cyw930739m2evb_01 (read/write) 592170 592178 8 0.0
.app_xip_area 463460 463468 8 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543966 543998 32 0.0
.app_xip_area 425632 425664 32 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 974060 974092 32 0.0
.text 819516 819548 32 0.0
BRD4161A+rs911x (read/write) 1031208 1031448 240 0.0
.text 842416 842656 240 0.0
BRD4187C (read/write) 1146116 1146348 232 0.0
.text 980260 980492 232 0.0
lock-app BRD4161A+wf200 (read/write) 1157008 1157056 48 0.0
.text 996680 996728 48 0.0
window-app BRD4187C (read/write) 1139336 1139568 232 0.0
.text 972040 972272 232 0.0
esp32 all-clusters-app c3devkit (read only) 1223546 1223650 104 0.0
(read/write) 1788318 1788342 24 0.0
.flash.rodata 257872 257896 24 0.0
.flash.text 1223546 1223650 104 0.0
m5stack (read only) 1233623 1233699 76 0.0
(read/write) 564228 564252 24 0.0
.flash.rodata 314928 314952 24 0.0
.flash.text 1228239 1228315 76 0.0
k32w contact k32w0+release (read/write) 661268 661284 16 0.0
.text 563012 563028 16 0.0
light k32w0+release (read/write) 671480 671528 48 0.0
.text 591852 591900 48 0.0
lock k32w0+release (read/write) 633076 633092 16 0.0
.text 552668 552684 16 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452168 2452200 32 0.0
.text 1414812 1414844 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183627 1183659 32 0.0
rodata 144396 144428 32 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162311 1162343 32 0.0
rodata 135968 136000 32 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1745420 1745644 224 0.0
.debug_aranges 111880 111904 24 0.0
.debug_frame 373556 373628 72 0.0
.debug_info 26837274 26837502 228 0.0
.debug_line 3673065 3673331 266 0.0
.debug_loc 3590247 3590250 3 0.0
.debug_str 3441330 3441503 173 0.0
.strtab 569695 569882 187 0.0
.symtab 421232 421328 96 0.0
.text 1545640 1545864 224 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1688004 1688244 240 0.0
.debug_aranges 111352 111376 24 0.0
.debug_frame 376636 376708 72 0.0
.debug_info 26574056 26574284 228 0.0
.debug_line 3693782 3694048 266 0.0
.debug_loc 3577884 3577887 3 0.0
.debug_str 3430343 3430516 173 0.0
.strtab 533784 533971 187 0.0
.symtab 407664 407760 96 0.0
.text 1488960 1489200 240 0.0
light cy8ckit_062s2_43012 (read/write) 1606572 1606788 216 0.0
.debug_aranges 103560 103584 24 0.0
.debug_frame 346968 347040 72 0.0
.debug_info 22037778 22038007 229 0.0
.debug_line 3263706 3263972 266 0.0
.debug_loc 3275846 3275848 2 0.0
.debug_str 3235875 3236048 173 0.0
.strtab 470161 470348 187 0.0
.symtab 376112 376208 96 0.0
.text 1415712 1415928 216 0.0
lock cy8ckit_062s2_43012 (read/write) 1640260 1640492 232 0.0
.debug_aranges 103952 103976 24 0.0
.debug_frame 348824 348896 72 0.0
.debug_info 22271069 22271297 228 0.0
.debug_line 3260671 3260937 266 0.0
.debug_loc 3303427 3303430 3 0.0
.debug_str 3255273 3255446 173 0.0
.strtab 472512 472699 187 0.0
.symtab 377728 377824 96 0.0
.text 1444408 1444640 232 0.0
qpg lighting-app qpg6105+debug (read/write) 1148808 1148824 16 0.0
.text 595908 595924 16 0.0
lock-app qpg6105+debug (read/write) 1113696 1113712 16 0.0
.text 560792 560808 16 0.0
telink light-switch-app tlsr9518adk80d (read/write) 790200 790300 100 0.0
text 553782 553856 74 0.0
lighting-app tlsr9518adk80d (read/write) 805432 805532 100 0.0
text 565920 565994 74 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804316 804416 100 0.0
text 564788 564864 76 0.0
Decreases (12 builds for bl702, cc13x2_26x2, nrfconnect, psoc6)
platform target config section e4f60ce ae38dc4 change % change
bl702 lighting-app bl702 .debug_abbrev 1507059 1506980 -79 -0.0
bl702+rpc .debug_abbrev 1644604 1644525 -79 -0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 174208 174200 -8 -0.0
lock-mtd LP_CC2652R7 (read/write) 184776 184768 -8 -0.0
pump-app LP_CC2652R7 (read/write) 161340 161300 -40 -0.0
pump-controller-app LP_CC2652R7 (read/write) 177112 177072 -40 -0.0
shell LP_CC2652R7 (read/write) 185504 185496 -8 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 815888 815884 -4 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1229571 1229489 -82 -0.0
.debug_ranges 339736 339704 -32 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1221370 1221288 -82 -0.0
.debug_ranges 338352 338320 -32 -0.0
light cy8ckit_062s2_43012 .debug_abbrev 1055481 1055399 -82 -0.0
.debug_ranges 303656 303624 -32 -0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1057420 1057338 -82 -0.0
.debug_ranges 305592 305560 -32 -0.0
Full report (36 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section e4f60ce ae38dc4 change % change
bl602 lighting-app bl602 (read/write) 1389982 1390246 264 0.0
.bss 90745 90745 0 0.0
.data 9928 9928 0 0.0
.text 1069372 1069636 264 0.0
bl602+rpc (read/write) 1435198 1435470 272 0.0
.bss 98177 98177 0 0.0
.data 10312 10312 0 0.0
.text 1100718 1100986 268 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188947 1189219 272 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67118 67118 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1507059 1506980 -79 -0.0
.debug_aranges 133144 133168 24 0.0
.debug_frame 486648 486752 104 0.0
.debug_info 37908755 37909063 308 0.0
.debug_line 5257407 5257986 579 0.0
.debug_loc 3367638 3367729 91 0.0
.debug_ranges 359456 359568 112 0.0
.debug_str 3457927 3458100 173 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 116744 116744 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565127 565314 187 0.0
.symtab 171680 171728 48 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957310 957576 266 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284627 1284883 256 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644604 1644525 -79 -0.0
.debug_aranges 140648 140672 24 0.0
.debug_frame 512020 512124 104 0.0
.debug_info 41815370 41815677 307 0.0
.debug_line 5631938 5632517 579 0.0
.debug_loc 3560285 3560376 91 0.0
.debug_ranges 381912 382024 112 0.0
.debug_str 3853897 3854070 173 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 130136 130136 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624300 624487 187 0.0
.symtab 189488 189536 48 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030756 1031022 266 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677351 677359 8 0.0
(read/write) 174208 174200 -8 -0.0
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89791 89791 0 0.0
.text 587248 587256 8 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641599 641607 8 0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 78927 78927 0 0.0
.text 562352 562360 8 0.0
lock-ftd LP_CC2652R7 (read only) 675851 675851 0 0.0
(read/write) 172844 172844 0 0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77315 77315 0 0.0
.text 598056 598056 0 0.0
lock-mtd LP_CC2652R7 (read only) 659607 659615 8 0.0
(read/write) 184776 184768 -8 -0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103135 103135 0 0.0
.text 555992 556000 8 0.0
pump-app LP_CC2652R7 (read only) 688091 688131 40 0.0
(read/write) 161340 161300 -40 -0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90731 90763 32 0.0
.text 596876 596884 8 0.0
pump-controller-app LP_CC2652R7 (read only) 672415 672455 40 0.0
(read/write) 177112 177072 -40 -0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86287 86319 32 0.0
.text 585648 585656 8 0.0
shell LP_CC2652R7 (read only) 668374 668382 8 0.0
(read/write) 185504 185496 -8 -0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86502 86502 0 0.0
.text 581556 581564 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588130 588138 8 0.0
.app_xip_area 464716 464724 8 0.0
.bss 65832 65832 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) 592170 592178 8 0.0
.app_xip_area 463460 463468 8 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) 543966 543998 32 0.0
.app_xip_area 425632 425664 32 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) 974060 974092 32 0.0
.bss 152276 152276 0 0.0
.data 2248 2248 0 0.0
.text 819516 819548 32 0.0
BRD4161A+rs911x (read/write) 1031208 1031448 240 0.0
.bss 186680 186680 0 0.0
.data 2092 2092 0 0.0
.text 842416 842656 240 0.0
BRD4187C (read/write) 1146116 1146348 232 0.0
.bss 138664 138664 0 0.0
.data 2596 2596 0 0.0
.text 980260 980492 232 0.0
lock-app BRD4161A+wf200 (read/write) 1157008 1157056 48 0.0
.bss 158208 158208 0 0.0
.data 2100 2100 0 0.0
.text 996680 996728 48 0.0
window-app BRD4187C (read/write) 1139336 1139568 232 0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972040 972272 232 0.0
esp32 all-clusters-app c3devkit (read only) 1223546 1223650 104 0.0
(read/write) 1788318 1788342 24 0.0
.dram0.bss 76960 76960 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 257872 257896 24 0.0
.flash.text 1223546 1223650 104 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1233623 1233699 76 0.0
(read/write) 564228 564252 24 0.0
.dram0.bss 82336 82336 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 314928 314952 24 0.0
.flash.text 1228239 1228315 76 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 661268 661284 16 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563012 563028 16 0.0
light k32w0+release (read/write) 671480 671528 48 0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 591852 591900 48 0.0
lock k32w0+release (read/write) 633076 633092 16 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552668 552684 16 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452168 2452200 32 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414812 1414844 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183627 1183659 32 0.0
bss 144457 144457 0 0.0
rodata 144396 144428 32 0.0
text 815888 815884 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162311 1162343 32 0.0
bss 143684 143684 0 0.0
rodata 135968 136000 32 0.0
text 803780 803780 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841952 841952 0 0.0
(read/write) 1745420 1745644 224 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188728 188728 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 1229571 1229489 -82 -0.0
.debug_aranges 111880 111904 24 0.0
.debug_frame 373556 373628 72 0.0
.debug_info 26837274 26837502 228 0.0
.debug_line 3673065 3673331 266 0.0
.debug_loc 3590247 3590250 3 0.0
.debug_ranges 339736 339704 -32 -0.0
.debug_str 3441330 3441503 173 0.0
.heap 841952 841952 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 569695 569882 187 0.0
.symtab 421232 421328 96 0.0
.text 1545640 1545864 224 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842688 842688 0 0.0
(read/write) 1688004 1688244 240 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187992 187992 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 1221370 1221288 -82 -0.0
.debug_aranges 111352 111376 24 0.0
.debug_frame 376636 376708 72 0.0
.debug_info 26574056 26574284 228 0.0
.debug_line 3693782 3694048 266 0.0
.debug_loc 3577884 3577887 3 0.0
.debug_ranges 338352 338320 -32 -0.0
.debug_str 3430343 3430516 173 0.0
.heap 842688 842688 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 533784 533971 187 0.0
.symtab 407664 407760 96 0.0
.text 1488960 1489200 240 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850872 850872 0 0.0
(read/write) 1606572 1606788 216 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180016 180016 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 1055481 1055399 -82 -0.0
.debug_aranges 103560 103584 24 0.0
.debug_frame 346968 347040 72 0.0
.debug_info 22037778 22038007 229 0.0
.debug_line 3263706 3263972 266 0.0
.debug_loc 3275846 3275848 2 0.0
.debug_ranges 303656 303624 -32 -0.0
.debug_str 3235875 3236048 173 0.0
.heap 850872 850872 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 470161 470348 187 0.0
.symtab 376112 376208 96 0.0
.text 1415712 1415928 216 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) 1640260 1640492 232 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 1057420 1057338 -82 -0.0
.debug_aranges 103952 103976 24 0.0
.debug_frame 348824 348896 72 0.0
.debug_info 22271069 22271297 228 0.0
.debug_line 3260671 3260937 266 0.0
.debug_loc 3303427 3303430 3 0.0
.debug_ranges 305592 305560 -32 -0.0
.debug_str 3255273 3255446 173 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 472512 472699 187 0.0
.symtab 377728 377824 96 0.0
.text 1444408 1444640 232 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148808 1148824 16 0.0
.bss 110580 110580 0 0.0
.data 832 832 0 0.0
.text 595908 595924 16 0.0
lock-app qpg6105+debug (read/write) 1113696 1113712 16 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560792 560808 16 0.0
telink light-switch-app tlsr9518adk80d (read/write) 790200 790300 100 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 553782 553856 74 0.0
lighting-app tlsr9518adk80d (read/write) 805432 805532 100 0.0
bss 73240 73240 0 0.0
noinit 43520 43520 0 0.0
text 565920 565994 74 0.0
ota-requestor-app tlsr9518adk80d (read/write) 804316 804416 100 0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 564788 564864 76 0.0

@github-actions
Copy link

github-actions bot commented Oct 20, 2022

PR #23247: Size comparison from e4f60ce to a730f6e

Increases (3 builds for mbed, nrfconnect)
platform target config section e4f60ce a730f6e change % change
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2452168 2452200 32 0.0
.text 1414812 1414844 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183627 1183659 32 0.0
rodata 144396 144428 32 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162311 1162343 32 0.0
rodata 135968 136000 32 0.0
text 803780 803784 4 0.0
Full report (3 builds for mbed, nrfconnect)
platform target config section e4f60ce a730f6e change % change
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452168 2452200 32 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414812 1414844 32 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183627 1183659 32 0.0
bss 144457 144457 0 0.0
rodata 144396 144428 32 0.0
text 815888 815888 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162311 1162343 32 0.0
bss 143684 143684 0 0.0
rodata 135968 136000 32 0.0
text 803780 803784 4 0.0

@github-actions
Copy link

github-actions bot commented Oct 21, 2022

PR #23247: Size comparison from a35ee1b to 1198775

Increases (4 builds for bl702, k32w, qpg)
platform target config section a35ee1b 1198775 change % change
bl702 lighting-app bl702 .debug_abbrev 1506978 1506980 2 0.0
.debug_info 37909062 37909064 2 0.0
.text 957576 957578 2 0.0
bl702+rpc .debug_abbrev 1644523 1644525 2 0.0
.debug_info 41815677 41815678 1 0.0
k32w lock k32w0+release (read/write) 633076 633092 16 0.0
.text 552668 552684 16 0.0
qpg lighting-app qpg6105+debug (read/write) 1148816 1148824 8 0.0
.text 595916 595924 8 0.0
Decreases (3 builds for qpg, telink)
platform target config section a35ee1b 1198775 change % change
qpg lock-app qpg6105+debug (read/write) 1113712 1113704 -8 -0.0
.text 560808 560800 -8 -0.0
telink light-switch-app tlsr9518adk80d text 553858 553856 -2 -0.0
lighting-app tlsr9518adk80d text 565994 565992 -2 -0.0
Full report (21 builds for bl602, bl702, cc13x2_26x2, k32w, linux, qpg, telink)
platform target config section a35ee1b 1198775 change % change
bl602 lighting-app bl602 (read/write) 1390246 1390246 0 0.0
.bss 90745 90745 0 0.0
.data 9928 9928 0 0.0
.text 1069636 1069636 0 0.0
bl602+rpc (read/write) 1435470 1435470 0 0.0
.bss 98177 98177 0 0.0
.data 10312 10312 0 0.0
.text 1100986 1100986 0 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1189219 1189219 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67118 67118 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1506978 1506980 2 0.0
.debug_aranges 133168 133168 0 0.0
.debug_frame 486752 486752 0 0.0
.debug_info 37909062 37909064 2 0.0
.debug_line 5257986 5257986 0 0.0
.debug_loc 3367729 3367729 0 0.0
.debug_ranges 359568 359568 0 0.0
.debug_str 3458100 3458100 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 116744 116744 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565314 565314 0 0.0
.symtab 171728 171728 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957576 957578 2 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284883 1284883 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75166 75166 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644523 1644525 2 0.0
.debug_aranges 140672 140672 0 0.0
.debug_frame 512124 512124 0 0.0
.debug_info 41815677 41815678 1 0.0
.debug_line 5632517 5632517 0 0.0
.debug_loc 3560376 3560376 0 0.0
.debug_ranges 382024 382024 0 0.0
.debug_str 3854070 3854070 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 130136 130136 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624487 624487 0 0.0
.symtab 189536 189536 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1031024 1031024 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 677359 677359 0 0.0
(read/write) 174200 174200 0 0.0
.bss 81252 81252 0 0.0
.data 3380 3380 0 0.0
.rodata 89791 89791 0 0.0
.text 587256 587256 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 641607 641607 0 0.0
(read/write) 158020 158020 0 0.0
.bss 80524 80524 0 0.0
.data 3380 3380 0 0.0
.rodata 78927 78927 0 0.0
.text 562360 562360 0 0.0
lock-ftd LP_CC2652R7 (read only) 675851 675851 0 0.0
(read/write) 172844 172844 0 0.0
.bss 78476 78476 0 0.0
.data 3304 3304 0 0.0
.rodata 77315 77315 0 0.0
.text 598056 598056 0 0.0
lock-mtd LP_CC2652R7 (read only) 659615 659615 0 0.0
(read/write) 184768 184768 0 0.0
.bss 74164 74164 0 0.0
.data 3304 3304 0 0.0
.rodata 103135 103135 0 0.0
.text 556000 556000 0 0.0
pump-app LP_CC2652R7 (read only) 688131 688131 0 0.0
(read/write) 161300 161300 0 0.0
.bss 78444 78444 0 0.0
.data 3296 3296 0 0.0
.rodata 90763 90763 0 0.0
.text 596884 596884 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672455 672455 0 0.0
(read/write) 177072 177072 0 0.0
.bss 78540 78540 0 0.0
.data 3292 3292 0 0.0
.rodata 86319 86319 0 0.0
.text 585656 585656 0 0.0
shell LP_CC2652R7 (read only) 668382 668382 0 0.0
(read/write) 185496 185496 0 0.0
.bss 83572 83572 0 0.0
.data 3376 3376 0 0.0
.rodata 86502 86502 0 0.0
.text 581564 581564 0 0.0
k32w contact k32w0+release (read/write) 661284 661284 0 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563028 563028 0 0.0
light k32w0+release (read/write) 671528 671528 0 0.0
.bss 74840 74840 0 0.0
.data 2060 2060 0 0.0
.text 591900 591900 0 0.0
lock k32w0+release (read/write) 633076 633092 16 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552668 552684 16 0.0
linux chip-tool-ipv6only arm64 (read only) 10429700 10429700 0 0.0
(read/write) 706353 706353 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650632 650632 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 518148 518148 0 0.0
.text 8255988 8255988 0 0.0
thermostat-no-ble arm64 (read only) 2390796 2390796 0 0.0
(read/write) 143633 143633 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77256 77256 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 144484 144484 0 0.0
.text 2003408 2003408 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148816 1148824 8 0.0
.bss 110580 110580 0 0.0
.data 832 832 0 0.0
.text 595916 595924 8 0.0
lock-app qpg6105+debug (read/write) 1113712 1113704 -8 -0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560808 560800 -8 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 790300 790300 0 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 553858 553856 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 805532 805532 0 0.0
bss 73240 73240 0 0.0
noinit 43520 43520 0 0.0
text 565994 565992 -2 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 804416 804416 0 0.0
bss 74052 74052 0 0.0
noinit 43520 43520 0 0.0
text 564862 564862 0 0.0

@andy31415 andy31415 merged commit 559c7d5 into project-chip:master Oct 21, 2022
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…s (plus one sample codegen moved) (project-chip#23247)

* Compile time code generation.

Picked PluginApplicationCallbacks because it is simple and added
it to a compile-time generated list.

The main exercise for this is to make sure we can inject the
appropriate calls to compile time generation to all examples.
It is not yet perfect as it only involves include directories,
however it does a "if it compiles it works, otherwise it fails
to compile" approach.

Uses codegen.py rather than ZAP for this particular file. For
other files, we may chose to use ZAP however for that we have
to:
  - ensure it is stand-alone runnable (likely as an installable app)
  - figure out any multi-processing conflicts as cmake/gn WILL run
    build steps in parallel and zap shares a common DB.

* Remove PluginApplicationCallbacks.zapt

* Restyle

* Add idl to build instructions

* Disable pylint for now. It looks like pylint is a lot more strict than expected and this was triggered only if we have dependencies

* Ensure we run codegen so sanitizer can find generated files

* Revert telink changes after master merge: no need for separate codegen anymore as telink now uses standard data model methods

* Ensure all needed codegen is done (for clang tidy at least). Tested in linux, may need to adjust darwin

* Code review comment: centralize the generator/string for known generators

* Undo undesired file creation

* Adjust the run_codegen_targets a bit

* Undo shellharden: it breaks the script

* Add exception on shellharden on run_codegen_targets

* Fix clang tidy location for darwin: it uses out/default not out/sanitizers

* Add a server cluster to the several_clusters unit test, to validate that we generate server callbacks to

* Make bridge generate ONLY client clusters as it reuses the same name of generation

* Separate client and server headers for bridge codegen

* Resolve bridge: clients have default names, Server headers are separate. This is until we figure out real names

* Fix build rules

* Do not lint test matter files for spec compliance

* Github runners do not use bash by default. Make the conditionals different for lint skipping

* Fix operator for lint exception check

* Undo typo
adbridge pushed a commit to ARM-software/connectedhomeip that referenced this pull request Nov 18, 2022
…s (plus one sample codegen moved) (project-chip#23247)

* Compile time code generation.

Picked PluginApplicationCallbacks because it is simple and added
it to a compile-time generated list.

The main exercise for this is to make sure we can inject the
appropriate calls to compile time generation to all examples.
It is not yet perfect as it only involves include directories,
however it does a "if it compiles it works, otherwise it fails
to compile" approach.

Uses codegen.py rather than ZAP for this particular file. For
other files, we may chose to use ZAP however for that we have
to:
  - ensure it is stand-alone runnable (likely as an installable app)
  - figure out any multi-processing conflicts as cmake/gn WILL run
    build steps in parallel and zap shares a common DB.

* Remove PluginApplicationCallbacks.zapt

* Restyle

* Add idl to build instructions

* Disable pylint for now. It looks like pylint is a lot more strict than expected and this was triggered only if we have dependencies

* Ensure we run codegen so sanitizer can find generated files

* Revert telink changes after master merge: no need for separate codegen anymore as telink now uses standard data model methods

* Ensure all needed codegen is done (for clang tidy at least). Tested in linux, may need to adjust darwin

* Code review comment: centralize the generator/string for known generators

* Undo undesired file creation

* Adjust the run_codegen_targets a bit

* Undo shellharden: it breaks the script

* Add exception on shellharden on run_codegen_targets

* Fix clang tidy location for darwin: it uses out/default not out/sanitizers

* Add a server cluster to the several_clusters unit test, to validate that we generate server callbacks to

* Make bridge generate ONLY client clusters as it reuses the same name of generation

* Separate client and server headers for bridge codegen

* Resolve bridge: clients have default names, Server headers are separate. This is until we figure out real names

* Fix build rules

* Do not lint test matter files for spec compliance

* Github runners do not use bash by default. Make the conditionals different for lint skipping

* Fix operator for lint exception check

* Undo typo
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.

4 participants