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 use of build targets for chip_data_model generated code #32357

Closed

Conversation

andy31415
Copy link
Contributor

@andy31415 andy31415 commented Feb 28, 2024

This builds on #32346.

Changes

  • make privilege-storage (which depends on access.h generated file) be a stand-alone target in CI
  • make sure applications define a chip_static_data_model_BACKEND that specifies what data model gets compiled into src/app models.
  • created a separate set of targets where the BACKEND points to by default which will always fail with a message. This both serves to quickly see what the problem is when compiling as well as to allow bootstrap to work as bootstrap resolves all dependencies and things in app depend on the backend.

The intent is to migrate away from implicit data_model including everything and instead to have bespoke targets. Started with privilege-storage since it seemed one of the simpler ones. main delta of this is to define chip_static_data_model_BACKEND everywhere.

@project-chip project-chip deleted a comment from github-actions bot Feb 28, 2024
@project-chip project-chip deleted a comment from github-actions bot Feb 28, 2024
@project-chip project-chip deleted a comment from github-actions bot Feb 28, 2024
@project-chip project-chip deleted a comment from github-actions bot Feb 28, 2024
@project-chip project-chip deleted a comment from github-actions bot Feb 28, 2024
@project-chip project-chip deleted a comment from github-actions bot Feb 28, 2024
@project-chip project-chip deleted a comment from github-actions bot Feb 28, 2024
@project-chip project-chip deleted a comment from github-actions bot Feb 28, 2024
@project-chip project-chip deleted a comment from github-actions bot Feb 28, 2024
@project-chip project-chip deleted a comment from github-actions bot Feb 28, 2024
Copy link

github-actions bot commented Feb 28, 2024

PR #32357: Size comparison from 355e2b4 to 5862d3b

Increases (19 builds for bl602, bl702, bl702l, cc13x4_26x4, k32w, linux)
platform target config section 355e2b4 5862d3b change % change
bl602 lighting-app bl602 (read/write) 1435890 1435978 88 0.0
.rodata 158324 158380 56 0.0
.text 1102094 1102128 34 0.0
bl602+mfd .rodata 157284 157340 56 0.0
bl602+rpc (read/write) 1483546 1483634 88 0.0
.rodata 165900 165956 56 0.0
.text 1133740 1133774 34 0.0
bl702 lighting-app bl702 (read/write) 1200703 1200775 72 0.0
.rodata 107680 107736 56 0.1
.text 971358 971376 18 0.0
bl702+mfd (read/write) 1211755 1211831 76 0.0
.rodata 106620 106676 56 0.1
.text 983368 983386 18 0.0
bl702+rpc (read/write) 1292431 1292503 72 0.0
.rodata 123052 123108 56 0.0
.text 1046310 1046328 18 0.0
bl706-eth (read/write) 1018277 1018341 64 0.0
.rodata 101012 101056 44 0.0
.text 762348 762366 18 0.0
bl706-wifi (read/write) 1252686 1252802 116 0.0
.rodata 122012 122068 56 0.0
.text 994012 994070 58 0.0
bl702l lighting-app bl702l (read/write) 1170048 1170140 92 0.0
.rodata 101684 101740 56 0.1
.text 964228 964262 34 0.0
bl702l+mfd (read/write) 1181456 1181544 88 0.0
.rodata 100624 100680 56 0.1
.text 976550 976584 34 0.0
cc13x4_26x4 lock-ftd LP_EM_CC1354P10_6 .text 713408 713416 8 0.0
k32w contact k32w0+release (read only) 605296 605424 128 0.0
.text 604760 604888 128 0.0
k32w1+release (read/write) 746700 746820 120 0.0
.text 625328 625448 120 0.0
light k32w0+release (read only) 609192 609320 128 0.0
.text 608656 608784 128 0.0
k32w1+release (read/write) 789560 789688 128 0.0
.text 667592 667720 128 0.0
lock k32w0+release (read only) 588864 589080 216 0.0
.text 588328 588544 216 0.0
linux all-clusters-app debug (read only) 5917641 5917673 32 0.0
.rodata 349264 349296 32 0.0
all-clusters-minimal-app debug (read only) 5198193 5198225 32 0.0
.rodata 288290 288322 32 0.0
lock-app debug (read only) 4660577 4660609 32 0.0
.rodata 254946 254978 32 0.0
Decreases (7 builds for bl602, cc13x4_26x4, cc32xx, linux)
platform target config section 355e2b4 5862d3b change % change
bl602 lighting-app bl602+mfd (read/write) 1450554 1450386 -168 -0.0
.text 1117668 1117446 -222 -0.0
cc13x4_26x4 lock-ftd LP_EM_CC1354P10_6 .rodata 75948 75940 -8 -0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 778260 778252 -8 -0.0
.rodata 102700 102692 -8 -0.0
cc32xx lock CC3235SF_LAUNCHXL (read only) 627386 627370 -16 -0.0
.text 518268 518252 -16 -0.0
linux air-purifier-app debug (read only) 2611381 2611349 -32 -0.0
.rodata 184240 184208 -32 -0.0
shell debug (read only) 2885625 2885113 -512 -0.0
.rodata 185152 184640 -512 -0.3
tv-app debug (read only) 5683665 5683633 -32 -0.0
.rodata 288034 288002 -32 -0.0
Full report (35 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, k32w, linux, stm32)
platform target config section 355e2b4 5862d3b change % change
bl602 lighting-app bl602 (read/write) 1435890 1435978 88 0.0
.bss 85328 85328 0 0.0
.data 9496 9496 0 0.0
.rodata 158324 158380 56 0.0
.text 1102094 1102128 34 0.0
bl602+mfd (read/write) 1450554 1450386 -168 -0.0
.bss 85488 85488 0 0.0
.data 9472 9472 0 0.0
.rodata 157284 157340 56 0.0
.text 1117668 1117446 -222 -0.0
bl602+rpc (read/write) 1483546 1483634 88 0.0
.bss 93360 93360 0 0.0
.data 9880 9880 0 0.0
.rodata 165900 165956 56 0.0
.text 1133740 1133774 34 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1200703 1200775 72 0.0
.bss 11117 11117 0 0.0
.data 3680 3680 0 0.0
.rodata 107680 107736 56 0.1
.text 971358 971376 18 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1211755 1211831 76 0.0
.bss 11293 11293 0 0.0
.data 3656 3656 0 0.0
.rodata 106620 106676 56 0.1
.text 983368 983386 18 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1292431 1292503 72 0.0
.bss 19581 19581 0 0.0
.data 4224 4224 0 0.0
.rodata 123052 123108 56 0.0
.text 1046310 1046328 18 0.0
bl706-eth (read/write) 1018277 1018341 64 0.0
.bss 23692 23692 0 0.0
.data 3256 3256 0 0.0
.rodata 101012 101056 44 0.0
.text 762348 762366 18 0.0
bl706-wifi (read/write) 1252686 1252802 116 0.0
.bss 10561 10561 0 0.0
.data 3696 3696 0 0.0
.rodata 122012 122068 56 0.0
.text 994012 994070 58 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1170048 1170140 92 0.0
.bss 16312 16312 0 0.0
.data 5040 5040 0 0.0
.rodata 101684 101740 56 0.1
.text 964228 964262 34 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1181456 1181544 88 0.0
.bss 16488 16488 0 0.0
.data 5024 5024 0 0.0
.rodata 100624 100680 56 0.1
.text 976550 976584 34 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 773084 773084 0 0.0
(read/write) 168600 168600 0 0.0
.bss 90604 90604 0 0.0
.data 3560 3560 0 0.0
.rodata 81700 81700 0 0.0
.text 691120 691120 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 789620 789620 0 0.0
(read/write) 178848 178848 0 0.0
.bss 100852 100852 0 0.0
.data 3560 3560 0 0.0
.rodata 75948 75940 -8 -0.0
.text 713408 713416 8 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 778260 778252 -8 -0.0
(read/write) 173288 173288 0 0.0
.bss 95292 95292 0 0.0
.data 3560 3560 0 0.0
.rodata 102700 102692 -8 -0.0
.text 675296 675296 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 730436 730436 0 0.0
(read/write) 167568 167568 0 0.0
.bss 89336 89336 0 0.0
.data 3552 3552 0 0.0
.rodata 77372 77372 0 0.0
.text 652800 652800 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 716060 716060 0 0.0
(read/write) 167776 167776 0 0.0
.bss 89560 89560 0 0.0
.data 3544 3544 0 0.0
.rodata 73212 73212 0 0.0
.text 642584 642584 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 582026 582026 0 0.0
(read/write) 207968 207968 0 0.0
.bss 201204 201204 0 0.0
.data 1640 1640 0 0.0
.rodata 86530 86530 0 0.0
.text 493372 493372 0 0.0
lock CC3235SF_LAUNCHXL (read only) 627386 627370 -16 -0.0
(read/write) 208312 208312 0 0.0
.bss 201696 201696 0 0.0
.data 1496 1496 0 0.0
.rodata 106994 106994 0 0.0
.text 518268 518252 -16 -0.0
k32w contact k32w0+release (read only) 605296 605424 128 0.0
(read/write) 79608 79608 0 0.0
.bss 67428 67428 0 0.0
.data 2196 2196 0 0.0
.text 604760 604888 128 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 746700 746820 120 0.0
.bss 79188 79188 0 0.0
.data 2816 2816 0 0.0
.text 625328 625448 120 0.0
light k32w0+release (read only) 609192 609320 128 0.0
(read/write) 79492 79492 0 0.0
.bss 67308 67308 0 0.0
.data 2200 2200 0 0.0
.text 608656 608784 128 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 789560 789688 128 0.0
.bss 80580 80580 0 0.0
.data 2032 2032 0 0.0
.text 667592 667720 128 0.0
lock k32w0+release (read only) 588864 589080 216 0.0
(read/write) 77480 77480 0 0.0
.bss 65348 65348 0 0.0
.data 2148 2148 0 0.0
.text 588328 588544 216 0.0
linux air-purifier-app debug (read only) 2611381 2611349 -32 -0.0
(read/write) 128832 128832 0 0.0
.bss 46448 46448 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 74216 74216 0 0.0
.dynamic 608 608 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 184240 184208 -32 -0.0
.text 2249797 2249797 0 0.0
all-clusters-app debug (read only) 5917641 5917673 32 0.0
(read/write) 480304 480304 0 0.0
.bss 134784 134784 0 0.0
.data 4496 4496 0 0.0
.data.rel.ro 333608 333608 0 0.0
.dynamic 624 624 0 0.0
.got 5360 5360 0 0.0
.init 27 27 0 0.0
.init_array 1384 1384 0 0.0
.rodata 349264 349296 32 0.0
.text 5135123 5135123 0 0.0
all-clusters-minimal-app debug (read only) 5198193 5198225 32 0.0
(read/write) 236224 236224 0 0.0
.bss 127584 127584 0 0.0
.data 4400 4400 0 0.0
.data.rel.ro 97176 97176 0 0.0
.dynamic 624 624 0 0.0
.got 5280 5280 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 288290 288322 32 0.0
.text 4675315 4675315 0 0.0
bridge-app debug (read only) 4592833 4592833 0 0.0
(read/write) 217104 217104 0 0.0
.bss 118112 118112 0 0.0
.data 6176 6176 0 0.0
.data.rel.ro 86112 86112 0 0.0
.dynamic 624 624 0 0.0
.got 5248 5248 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 228930 228930 0 0.0
.text 4143731 4143731 0 0.0
chip-tool debug (read only) 12028809 12028809 0 0.0
(read/write) 521448 521448 0 0.0
.bss 94392 94392 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 414712 414712 0 0.0
.dynamic 624 624 0 0.0
.got 5768 5768 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 448313 448313 0 0.0
.text 10874819 10874819 0 0.0
lighting-app debug+rpc+ui (read only) 5516209 5516209 0 0.0
(read/write) 225896 225896 0 0.0
.bss 119048 119048 0 0.0
.data 4832 4832 0 0.0
.data.rel.ro 94512 94512 0 0.0
.dynamic 672 672 0 0.0
.got 5888 5888 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 353972 353972 0 0.0
.text 4915683 4915683 0 0.0
lock-app debug (read only) 4660577 4660609 32 0.0
(read/write) 204720 204720 0 0.0
.bss 113536 113536 0 0.0
.data 4128 4128 0 0.0
.data.rel.ro 80360 80360 0 0.0
.dynamic 624 624 0 0.0
.got 5200 5200 0 0.0
.init 27 27 0 0.0
.init_array 840 840 0 0.0
.rodata 254946 254978 32 0.0
.text 4194099 4194099 0 0.0
ota-provider-app debug (read only) 4292409 4292409 0 0.0
(read/write) 193192 193192 0 0.0
.bss 113216 113216 0 0.0
.data 4336 4336 0 0.0
.data.rel.ro 69744 69744 0 0.0
.dynamic 624 624 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 704 704 0 0.0
.rodata 207490 207490 0 0.0
.text 3892067 3892067 0 0.0
ota-requestor-app debug (read only) 4421689 4421689 0 0.0
(read/write) 197592 197592 0 0.0
.bss 114112 114112 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 72864 72864 0 0.0
.dynamic 624 624 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 213634 213634 0 0.0
.text 4010659 4010659 0 0.0
shell debug (read only) 2885625 2885113 -512 -0.0
(read/write) 156256 156256 0 0.0
.bss 62672 62672 0 0.0
.data 1392 1392 0 0.0
.data.rel.ro 86432 86432 0 0.0
.dynamic 592 592 0 0.0
.got 4072 4072 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 185152 184640 -512 -0.3
.text 2527250 2527250 0 0.0
tv-app debug (read only) 5683665 5683633 -32 -0.0
(read/write) 351464 351464 0 0.0
.bss 243376 243376 0 0.0
.data 6496 6496 0 0.0
.data.rel.ro 94328 94328 0 0.0
.dynamic 624 624 0 0.0
.got 5496 5496 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 288034 288002 -32 -0.0
.text 5153811 5153811 0 0.0
tv-casting-app debug (read only) 9859329 9859329 0 0.0
(read/write) 340096 340096 0 0.0
.bss 156112 156112 0 0.0
.data 2944 2944 0 0.0
.data.rel.ro 174168 174168 0 0.0
.dynamic 624 624 0 0.0
.got 5072 5072 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 382640 382640 0 0.0
.text 9011091 9011091 0 0.0
stm32 light STM32WB5MM-DK (read/write) 600301 600301 0 0.0
.bss 128320 128320 0 0.0
.data 668 668 0 0.0
.rodata 79596 79596 0 0.0
.text 381992 381992 0 0.0

…ike for qpg lib and tests seem to maybe also want this
Copy link

github-actions bot commented Feb 29, 2024

PR #32357: Size comparison from 355e2b4 to 91142f4

Increases (29 builds for bl602, bl702, bl702l, cc13x4_26x4, k32w, linux, qpg)
platform target config section 355e2b4 91142f4 change % change
bl602 lighting-app bl602 (read/write) 1435890 1436050 160 0.0
.rodata 158324 158380 56 0.0
.text 1102094 1102196 102 0.0
bl602+mfd .rodata 157284 157340 56 0.0
bl602+rpc (read/write) 1483546 1483706 160 0.0
.rodata 165900 165956 56 0.0
.text 1133740 1133842 102 0.0
bl702 lighting-app bl702 (read/write) 1200703 1200843 140 0.0
.rodata 107680 107736 56 0.1
.text 971358 971444 86 0.0
bl702+mfd (read/write) 1211755 1211899 144 0.0
.rodata 106620 106676 56 0.1
.text 983368 983454 86 0.0
bl702+rpc (read/write) 1292431 1292571 140 0.0
.rodata 123052 123108 56 0.0
.text 1046310 1046396 86 0.0
bl706-eth (read/write) 1018277 1018409 132 0.0
.rodata 101012 101056 44 0.0
.text 762348 762434 86 0.0
bl706-wifi (read/write) 1252686 1252870 184 0.0
.rodata 122012 122068 56 0.0
.text 994012 994140 128 0.0
bl702l lighting-app bl702l (read/write) 1170048 1170208 160 0.0
.rodata 101684 101740 56 0.1
.text 964228 964330 102 0.0
bl702l+mfd (read/write) 1181456 1181612 156 0.0
.rodata 100624 100680 56 0.1
.text 976550 976652 102 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 773084 773124 40 0.0
.text 691120 691160 40 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 789620 789652 32 0.0
.text 713408 713448 40 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 778260 778292 32 0.0
.text 675296 675336 40 0.0
pump-app LP_EM_CC1354P10_6 (read only) 730436 730484 48 0.0
.text 652800 652848 48 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 716060 716108 48 0.0
.text 642584 642632 48 0.0
k32w contact k32w0+release (read only) 605296 605456 160 0.0
.text 604760 604920 160 0.0
k32w1+release (read/write) 746700 746860 160 0.0
.text 625328 625488 160 0.0
light k32w0+release (read only) 609192 609352 160 0.0
.text 608656 608816 160 0.0
k32w1+release (read/write) 789560 789736 176 0.0
.text 667592 667768 176 0.0
lock k32w0+release (read only) 588864 589080 216 0.0
.text 588328 588544 216 0.0
linux all-clusters-app debug (read only) 5917641 5917865 224 0.0
.rodata 349264 349296 32 0.0
.text 5135123 5135315 192 0.0
all-clusters-minimal-app debug (read only) 5198193 5198417 224 0.0
.rodata 288290 288322 32 0.0
.text 4675315 4675507 192 0.0
chip-tool debug (read only) 12028809 12029001 192 0.0
.text 10874819 10875011 192 0.0
lock-app debug (read only) 4660577 4660609 32 0.0
.rodata 254946 254978 32 0.0
ota-requestor-app debug (read only) 4421689 4421881 192 0.0
.text 4010659 4010851 192 0.0
tv-app debug (read only) 5683665 5683825 160 0.0
.text 5153811 5154003 192 0.0
tv-casting-app debug (read only) 9859329 9859521 192 0.0
.text 9011091 9011283 192 0.0
qpg lighting-app qpg6105+debug (read/write) 1129096 1129208 112 0.0
.text 641480 641592 112 0.0
lock-app qpg6105+debug (read/write) 1089192 1089328 136 0.0
.text 601572 601708 136 0.0
Decreases (7 builds for bl602, cc13x4_26x4, cc32xx, linux)
platform target config section 355e2b4 91142f4 change % change
bl602 lighting-app bl602+mfd (read/write) 1450554 1450458 -96 -0.0
.text 1117668 1117514 -154 -0.0
cc13x4_26x4 lock-ftd LP_EM_CC1354P10_6 .rodata 75948 75940 -8 -0.0
lock-mtd LP_EM_CC1354P10_6 .rodata 102700 102692 -8 -0.0
cc32xx lock CC3235SF_LAUNCHXL (read only) 627386 627370 -16 -0.0
.text 518268 518252 -16 -0.0
linux air-purifier-app debug (read only) 2611381 2611349 -32 -0.0
.rodata 184240 184208 -32 -0.0
shell debug (read only) 2885625 2885113 -512 -0.0
.rodata 185152 184640 -512 -0.3
tv-app debug .rodata 288034 288002 -32 -0.0
Full report (37 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, k32w, linux, qpg, stm32)
platform target config section 355e2b4 91142f4 change % change
bl602 lighting-app bl602 (read/write) 1435890 1436050 160 0.0
.bss 85328 85328 0 0.0
.data 9496 9496 0 0.0
.rodata 158324 158380 56 0.0
.text 1102094 1102196 102 0.0
bl602+mfd (read/write) 1450554 1450458 -96 -0.0
.bss 85488 85488 0 0.0
.data 9472 9472 0 0.0
.rodata 157284 157340 56 0.0
.text 1117668 1117514 -154 -0.0
bl602+rpc (read/write) 1483546 1483706 160 0.0
.bss 93360 93360 0 0.0
.data 9880 9880 0 0.0
.rodata 165900 165956 56 0.0
.text 1133740 1133842 102 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1200703 1200843 140 0.0
.bss 11117 11117 0 0.0
.data 3680 3680 0 0.0
.rodata 107680 107736 56 0.1
.text 971358 971444 86 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1211755 1211899 144 0.0
.bss 11293 11293 0 0.0
.data 3656 3656 0 0.0
.rodata 106620 106676 56 0.1
.text 983368 983454 86 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1292431 1292571 140 0.0
.bss 19581 19581 0 0.0
.data 4224 4224 0 0.0
.rodata 123052 123108 56 0.0
.text 1046310 1046396 86 0.0
bl706-eth (read/write) 1018277 1018409 132 0.0
.bss 23692 23692 0 0.0
.data 3256 3256 0 0.0
.rodata 101012 101056 44 0.0
.text 762348 762434 86 0.0
bl706-wifi (read/write) 1252686 1252870 184 0.0
.bss 10561 10561 0 0.0
.data 3696 3696 0 0.0
.rodata 122012 122068 56 0.0
.text 994012 994140 128 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1170048 1170208 160 0.0
.bss 16312 16312 0 0.0
.data 5040 5040 0 0.0
.rodata 101684 101740 56 0.1
.text 964228 964330 102 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1181456 1181612 156 0.0
.bss 16488 16488 0 0.0
.data 5024 5024 0 0.0
.rodata 100624 100680 56 0.1
.text 976550 976652 102 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 773084 773124 40 0.0
(read/write) 168600 168600 0 0.0
.bss 90604 90604 0 0.0
.data 3560 3560 0 0.0
.rodata 81700 81700 0 0.0
.text 691120 691160 40 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 789620 789652 32 0.0
(read/write) 178848 178848 0 0.0
.bss 100852 100852 0 0.0
.data 3560 3560 0 0.0
.rodata 75948 75940 -8 -0.0
.text 713408 713448 40 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 778260 778292 32 0.0
(read/write) 173288 173288 0 0.0
.bss 95292 95292 0 0.0
.data 3560 3560 0 0.0
.rodata 102700 102692 -8 -0.0
.text 675296 675336 40 0.0
pump-app LP_EM_CC1354P10_6 (read only) 730436 730484 48 0.0
(read/write) 167568 167568 0 0.0
.bss 89336 89336 0 0.0
.data 3552 3552 0 0.0
.rodata 77372 77372 0 0.0
.text 652800 652848 48 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 716060 716108 48 0.0
(read/write) 167776 167776 0 0.0
.bss 89560 89560 0 0.0
.data 3544 3544 0 0.0
.rodata 73212 73212 0 0.0
.text 642584 642632 48 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 582026 582026 0 0.0
(read/write) 207968 207968 0 0.0
.bss 201204 201204 0 0.0
.data 1640 1640 0 0.0
.rodata 86530 86530 0 0.0
.text 493372 493372 0 0.0
lock CC3235SF_LAUNCHXL (read only) 627386 627370 -16 -0.0
(read/write) 208312 208312 0 0.0
.bss 201696 201696 0 0.0
.data 1496 1496 0 0.0
.rodata 106994 106994 0 0.0
.text 518268 518252 -16 -0.0
k32w contact k32w0+release (read only) 605296 605456 160 0.0
(read/write) 79608 79608 0 0.0
.bss 67428 67428 0 0.0
.data 2196 2196 0 0.0
.text 604760 604920 160 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 746700 746860 160 0.0
.bss 79188 79188 0 0.0
.data 2816 2816 0 0.0
.text 625328 625488 160 0.0
light k32w0+release (read only) 609192 609352 160 0.0
(read/write) 79492 79492 0 0.0
.bss 67308 67308 0 0.0
.data 2200 2200 0 0.0
.text 608656 608816 160 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 789560 789736 176 0.0
.bss 80580 80580 0 0.0
.data 2032 2032 0 0.0
.text 667592 667768 176 0.0
lock k32w0+release (read only) 588864 589080 216 0.0
(read/write) 77480 77480 0 0.0
.bss 65348 65348 0 0.0
.data 2148 2148 0 0.0
.text 588328 588544 216 0.0
linux air-purifier-app debug (read only) 2611381 2611349 -32 -0.0
(read/write) 128832 128832 0 0.0
.bss 46448 46448 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 74216 74216 0 0.0
.dynamic 608 608 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 184240 184208 -32 -0.0
.text 2249797 2249797 0 0.0
all-clusters-app debug (read only) 5917641 5917865 224 0.0
(read/write) 480304 480304 0 0.0
.bss 134784 134784 0 0.0
.data 4496 4496 0 0.0
.data.rel.ro 333608 333608 0 0.0
.dynamic 624 624 0 0.0
.got 5360 5360 0 0.0
.init 27 27 0 0.0
.init_array 1384 1384 0 0.0
.rodata 349264 349296 32 0.0
.text 5135123 5135315 192 0.0
all-clusters-minimal-app debug (read only) 5198193 5198417 224 0.0
(read/write) 236224 236224 0 0.0
.bss 127584 127584 0 0.0
.data 4400 4400 0 0.0
.data.rel.ro 97176 97176 0 0.0
.dynamic 624 624 0 0.0
.got 5280 5280 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 288290 288322 32 0.0
.text 4675315 4675507 192 0.0
bridge-app debug (read only) 4592833 4592833 0 0.0
(read/write) 217104 217104 0 0.0
.bss 118112 118112 0 0.0
.data 6176 6176 0 0.0
.data.rel.ro 86112 86112 0 0.0
.dynamic 624 624 0 0.0
.got 5248 5248 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 228930 228930 0 0.0
.text 4143731 4143731 0 0.0
chip-tool debug (read only) 12028809 12029001 192 0.0
(read/write) 521448 521448 0 0.0
.bss 94392 94392 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 414712 414712 0 0.0
.dynamic 624 624 0 0.0
.got 5768 5768 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 448313 448313 0 0.0
.text 10874819 10875011 192 0.0
lighting-app debug+rpc+ui (read only) 5516209 5516209 0 0.0
(read/write) 225896 225896 0 0.0
.bss 119048 119048 0 0.0
.data 4832 4832 0 0.0
.data.rel.ro 94512 94512 0 0.0
.dynamic 672 672 0 0.0
.got 5888 5888 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 353972 353972 0 0.0
.text 4915683 4915683 0 0.0
lock-app debug (read only) 4660577 4660609 32 0.0
(read/write) 204720 204720 0 0.0
.bss 113536 113536 0 0.0
.data 4128 4128 0 0.0
.data.rel.ro 80360 80360 0 0.0
.dynamic 624 624 0 0.0
.got 5200 5200 0 0.0
.init 27 27 0 0.0
.init_array 840 840 0 0.0
.rodata 254946 254978 32 0.0
.text 4194099 4194099 0 0.0
ota-provider-app debug (read only) 4292409 4292409 0 0.0
(read/write) 193192 193192 0 0.0
.bss 113216 113216 0 0.0
.data 4336 4336 0 0.0
.data.rel.ro 69744 69744 0 0.0
.dynamic 624 624 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 704 704 0 0.0
.rodata 207490 207490 0 0.0
.text 3892067 3892067 0 0.0
ota-requestor-app debug (read only) 4421689 4421881 192 0.0
(read/write) 197592 197592 0 0.0
.bss 114112 114112 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 72864 72864 0 0.0
.dynamic 624 624 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 213634 213634 0 0.0
.text 4010659 4010851 192 0.0
shell debug (read only) 2885625 2885113 -512 -0.0
(read/write) 156256 156256 0 0.0
.bss 62672 62672 0 0.0
.data 1392 1392 0 0.0
.data.rel.ro 86432 86432 0 0.0
.dynamic 592 592 0 0.0
.got 4072 4072 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 185152 184640 -512 -0.3
.text 2527250 2527250 0 0.0
tv-app debug (read only) 5683665 5683825 160 0.0
(read/write) 351464 351464 0 0.0
.bss 243376 243376 0 0.0
.data 6496 6496 0 0.0
.data.rel.ro 94328 94328 0 0.0
.dynamic 624 624 0 0.0
.got 5496 5496 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 288034 288002 -32 -0.0
.text 5153811 5154003 192 0.0
tv-casting-app debug (read only) 9859329 9859521 192 0.0
(read/write) 340096 340096 0 0.0
.bss 156112 156112 0 0.0
.data 2944 2944 0 0.0
.data.rel.ro 174168 174168 0 0.0
.dynamic 624 624 0 0.0
.got 5072 5072 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 382640 382640 0 0.0
.text 9011091 9011283 192 0.0
qpg lighting-app qpg6105+debug (read/write) 1129096 1129208 112 0.0
.bss 102456 102456 0 0.0
.data 820 820 0 0.0
.text 641480 641592 112 0.0
lock-app qpg6105+debug (read/write) 1089192 1089328 136 0.0
.bss 97200 97200 0 0.0
.data 840 840 0 0.0
.text 601572 601708 136 0.0
stm32 light STM32WB5MM-DK (read/write) 600301 600301 0 0.0
.bss 128320 128320 0 0.0
.data 668 668 0 0.0
.rodata 79596 79596 0 0.0
.text 381992 381992 0 0.0

Copy link

PR #32357: Size comparison from 355e2b4 to c3448f2

Decreases (1 build for cc32xx)
platform target config section 355e2b4 c3448f2 change % change
cc32xx lock CC3235SF_LAUNCHXL (read only) 627386 627370 -16 -0.0
.text 518268 518252 -16 -0.0
Full report (3 builds for cc32xx, stm32)
platform target config section 355e2b4 c3448f2 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 582026 582026 0 0.0
(read/write) 207968 207968 0 0.0
.bss 201204 201204 0 0.0
.data 1640 1640 0 0.0
.rodata 86530 86530 0 0.0
.text 493372 493372 0 0.0
lock CC3235SF_LAUNCHXL (read only) 627386 627370 -16 -0.0
(read/write) 208312 208312 0 0.0
.bss 201696 201696 0 0.0
.data 1496 1496 0 0.0
.rodata 106994 106994 0 0.0
.text 518268 518252 -16 -0.0
stm32 light STM32WB5MM-DK (read/write) 600301 600301 0 0.0
.bss 128320 128320 0 0.0
.data 668 668 0 0.0
.rodata 79596 79596 0 0.0
.text 381992 381992 0 0.0

Copy link

github-actions bot commented Feb 29, 2024

PR #32357: Size comparison from 355e2b4 to f5bf1d0

Increases (2 builds for qpg)
platform target config section 355e2b4 f5bf1d0 change % change
qpg lighting-app qpg6105+debug (read/write) 1129096 1129208 112 0.0
.text 641480 641592 112 0.0
lock-app qpg6105+debug (read/write) 1089192 1089328 136 0.0
.text 601572 601708 136 0.0
Decreases (1 build for cc32xx)
platform target config section 355e2b4 f5bf1d0 change % change
cc32xx lock CC3235SF_LAUNCHXL (read only) 627386 627370 -16 -0.0
.text 518268 518252 -16 -0.0
Full report (6 builds for cc32xx, mbed, qpg, stm32)
platform target config section 355e2b4 f5bf1d0 change % change
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 582026 582026 0 0.0
(read/write) 207968 207968 0 0.0
.bss 201204 201204 0 0.0
.data 1640 1640 0 0.0
.rodata 86530 86530 0 0.0
.text 493372 493372 0 0.0
lock CC3235SF_LAUNCHXL (read only) 627386 627370 -16 -0.0
(read/write) 208312 208312 0 0.0
.bss 201696 201696 0 0.0
.data 1496 1496 0 0.0
.rodata 106994 106994 0 0.0
.text 518268 518252 -16 -0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2531528 2531528 0 0.0
.bss 220448 220448 0 0.0
.data 5200 5200 0 0.0
.text 1494212 1494212 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1129096 1129208 112 0.0
.bss 102456 102456 0 0.0
.data 820 820 0 0.0
.text 641480 641592 112 0.0
lock-app qpg6105+debug (read/write) 1089192 1089328 136 0.0
.bss 97200 97200 0 0.0
.data 840 840 0 0.0
.text 601572 601708 136 0.0
stm32 light STM32WB5MM-DK (read/write) 600301 600301 0 0.0
.bss 128320 128320 0 0.0
.data 668 668 0 0.0
.rodata 79596 79596 0 0.0
.text 381992 381992 0 0.0

Copy link

github-actions bot commented Feb 29, 2024

PR #32357: Size comparison from 355e2b4 to a6cc369

Increases (29 builds for bl602, bl702, bl702l, cc13x4_26x4, k32w, linux, qpg)
platform target config section 355e2b4 a6cc369 change % change
bl602 lighting-app bl602 (read/write) 1435890 1436050 160 0.0
.rodata 158324 158380 56 0.0
.text 1102094 1102196 102 0.0
bl602+mfd .rodata 157284 157340 56 0.0
bl602+rpc (read/write) 1483546 1483706 160 0.0
.rodata 165900 165956 56 0.0
.text 1133740 1133842 102 0.0
bl702 lighting-app bl702 (read/write) 1200703 1200843 140 0.0
.rodata 107680 107736 56 0.1
.text 971358 971444 86 0.0
bl702+mfd (read/write) 1211755 1211899 144 0.0
.rodata 106620 106676 56 0.1
.text 983368 983454 86 0.0
bl702+rpc (read/write) 1292431 1292571 140 0.0
.rodata 123052 123108 56 0.0
.text 1046310 1046396 86 0.0
bl706-eth (read/write) 1018277 1018409 132 0.0
.rodata 101012 101056 44 0.0
.text 762348 762434 86 0.0
bl706-wifi (read/write) 1252686 1252870 184 0.0
.rodata 122012 122068 56 0.0
.text 994012 994140 128 0.0
bl702l lighting-app bl702l (read/write) 1170048 1170208 160 0.0
.rodata 101684 101740 56 0.1
.text 964228 964330 102 0.0
bl702l+mfd (read/write) 1181456 1181612 156 0.0
.rodata 100624 100680 56 0.1
.text 976550 976652 102 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 773084 773124 40 0.0
.text 691120 691160 40 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 789620 789652 32 0.0
.text 713408 713448 40 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 778260 778292 32 0.0
.text 675296 675336 40 0.0
pump-app LP_EM_CC1354P10_6 (read only) 730436 730484 48 0.0
.text 652800 652848 48 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 716060 716108 48 0.0
.text 642584 642632 48 0.0
k32w contact k32w0+release (read only) 605296 605456 160 0.0
.text 604760 604920 160 0.0
k32w1+release (read/write) 746700 746860 160 0.0
.text 625328 625488 160 0.0
light k32w0+release (read only) 609192 609352 160 0.0
.text 608656 608816 160 0.0
k32w1+release (read/write) 789560 789736 176 0.0
.text 667592 667768 176 0.0
lock k32w0+release (read only) 588864 589080 216 0.0
.text 588328 588544 216 0.0
linux all-clusters-app debug (read only) 5917641 5917865 224 0.0
.rodata 349264 349296 32 0.0
.text 5135123 5135315 192 0.0
all-clusters-minimal-app debug (read only) 5198193 5198417 224 0.0
.rodata 288290 288322 32 0.0
.text 4675315 4675507 192 0.0
chip-tool debug (read only) 12028809 12029001 192 0.0
.text 10874819 10875011 192 0.0
lock-app debug (read only) 4660577 4660609 32 0.0
.rodata 254946 254978 32 0.0
ota-requestor-app debug (read only) 4421689 4421881 192 0.0
.text 4010659 4010851 192 0.0
tv-app debug (read only) 5683665 5683825 160 0.0
.text 5153811 5154003 192 0.0
tv-casting-app debug (read only) 9859329 9859521 192 0.0
.text 9011091 9011283 192 0.0
qpg lighting-app qpg6105+debug (read/write) 1129096 1129208 112 0.0
.text 641480 641592 112 0.0
lock-app qpg6105+debug (read/write) 1089192 1089328 136 0.0
.text 601572 601708 136 0.0
Decreases (7 builds for bl602, cc13x4_26x4, cc32xx, linux)
platform target config section 355e2b4 a6cc369 change % change
bl602 lighting-app bl602+mfd (read/write) 1450554 1450458 -96 -0.0
.text 1117668 1117514 -154 -0.0
cc13x4_26x4 lock-ftd LP_EM_CC1354P10_6 .rodata 75948 75940 -8 -0.0
lock-mtd LP_EM_CC1354P10_6 .rodata 102700 102692 -8 -0.0
cc32xx lock CC3235SF_LAUNCHXL (read only) 627386 627370 -16 -0.0
.text 518268 518252 -16 -0.0
linux air-purifier-app debug (read only) 2611381 2611349 -32 -0.0
.rodata 184240 184208 -32 -0.0
shell debug (read only) 2885625 2885113 -512 -0.0
.rodata 185152 184640 -512 -0.3
tv-app debug .rodata 288034 288002 -32 -0.0
Full report (38 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, k32w, linux, mbed, qpg, stm32)
platform target config section 355e2b4 a6cc369 change % change
bl602 lighting-app bl602 (read/write) 1435890 1436050 160 0.0
.bss 85328 85328 0 0.0
.data 9496 9496 0 0.0
.rodata 158324 158380 56 0.0
.text 1102094 1102196 102 0.0
bl602+mfd (read/write) 1450554 1450458 -96 -0.0
.bss 85488 85488 0 0.0
.data 9472 9472 0 0.0
.rodata 157284 157340 56 0.0
.text 1117668 1117514 -154 -0.0
bl602+rpc (read/write) 1483546 1483706 160 0.0
.bss 93360 93360 0 0.0
.data 9880 9880 0 0.0
.rodata 165900 165956 56 0.0
.text 1133740 1133842 102 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1200703 1200843 140 0.0
.bss 11117 11117 0 0.0
.data 3680 3680 0 0.0
.rodata 107680 107736 56 0.1
.text 971358 971444 86 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1211755 1211899 144 0.0
.bss 11293 11293 0 0.0
.data 3656 3656 0 0.0
.rodata 106620 106676 56 0.1
.text 983368 983454 86 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1292431 1292571 140 0.0
.bss 19581 19581 0 0.0
.data 4224 4224 0 0.0
.rodata 123052 123108 56 0.0
.text 1046310 1046396 86 0.0
bl706-eth (read/write) 1018277 1018409 132 0.0
.bss 23692 23692 0 0.0
.data 3256 3256 0 0.0
.rodata 101012 101056 44 0.0
.text 762348 762434 86 0.0
bl706-wifi (read/write) 1252686 1252870 184 0.0
.bss 10561 10561 0 0.0
.data 3696 3696 0 0.0
.rodata 122012 122068 56 0.0
.text 994012 994140 128 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1170048 1170208 160 0.0
.bss 16312 16312 0 0.0
.data 5040 5040 0 0.0
.rodata 101684 101740 56 0.1
.text 964228 964330 102 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1181456 1181612 156 0.0
.bss 16488 16488 0 0.0
.data 5024 5024 0 0.0
.rodata 100624 100680 56 0.1
.text 976550 976652 102 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 773084 773124 40 0.0
(read/write) 168600 168600 0 0.0
.bss 90604 90604 0 0.0
.data 3560 3560 0 0.0
.rodata 81700 81700 0 0.0
.text 691120 691160 40 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 789620 789652 32 0.0
(read/write) 178848 178848 0 0.0
.bss 100852 100852 0 0.0
.data 3560 3560 0 0.0
.rodata 75948 75940 -8 -0.0
.text 713408 713448 40 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 778260 778292 32 0.0
(read/write) 173288 173288 0 0.0
.bss 95292 95292 0 0.0
.data 3560 3560 0 0.0
.rodata 102700 102692 -8 -0.0
.text 675296 675336 40 0.0
pump-app LP_EM_CC1354P10_6 (read only) 730436 730484 48 0.0
(read/write) 167568 167568 0 0.0
.bss 89336 89336 0 0.0
.data 3552 3552 0 0.0
.rodata 77372 77372 0 0.0
.text 652800 652848 48 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 716060 716108 48 0.0
(read/write) 167776 167776 0 0.0
.bss 89560 89560 0 0.0
.data 3544 3544 0 0.0
.rodata 73212 73212 0 0.0
.text 642584 642632 48 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 582026 582026 0 0.0
(read/write) 207968 207968 0 0.0
.bss 201204 201204 0 0.0
.data 1640 1640 0 0.0
.rodata 86530 86530 0 0.0
.text 493372 493372 0 0.0
lock CC3235SF_LAUNCHXL (read only) 627386 627370 -16 -0.0
(read/write) 208312 208312 0 0.0
.bss 201696 201696 0 0.0
.data 1496 1496 0 0.0
.rodata 106994 106994 0 0.0
.text 518268 518252 -16 -0.0
k32w contact k32w0+release (read only) 605296 605456 160 0.0
(read/write) 79608 79608 0 0.0
.bss 67428 67428 0 0.0
.data 2196 2196 0 0.0
.text 604760 604920 160 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 746700 746860 160 0.0
.bss 79188 79188 0 0.0
.data 2816 2816 0 0.0
.text 625328 625488 160 0.0
light k32w0+release (read only) 609192 609352 160 0.0
(read/write) 79492 79492 0 0.0
.bss 67308 67308 0 0.0
.data 2200 2200 0 0.0
.text 608656 608816 160 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 789560 789736 176 0.0
.bss 80580 80580 0 0.0
.data 2032 2032 0 0.0
.text 667592 667768 176 0.0
lock k32w0+release (read only) 588864 589080 216 0.0
(read/write) 77480 77480 0 0.0
.bss 65348 65348 0 0.0
.data 2148 2148 0 0.0
.text 588328 588544 216 0.0
linux air-purifier-app debug (read only) 2611381 2611349 -32 -0.0
(read/write) 128832 128832 0 0.0
.bss 46448 46448 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 74216 74216 0 0.0
.dynamic 608 608 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 184240 184208 -32 -0.0
.text 2249797 2249797 0 0.0
all-clusters-app debug (read only) 5917641 5917865 224 0.0
(read/write) 480304 480304 0 0.0
.bss 134784 134784 0 0.0
.data 4496 4496 0 0.0
.data.rel.ro 333608 333608 0 0.0
.dynamic 624 624 0 0.0
.got 5360 5360 0 0.0
.init 27 27 0 0.0
.init_array 1384 1384 0 0.0
.rodata 349264 349296 32 0.0
.text 5135123 5135315 192 0.0
all-clusters-minimal-app debug (read only) 5198193 5198417 224 0.0
(read/write) 236224 236224 0 0.0
.bss 127584 127584 0 0.0
.data 4400 4400 0 0.0
.data.rel.ro 97176 97176 0 0.0
.dynamic 624 624 0 0.0
.got 5280 5280 0 0.0
.init 27 27 0 0.0
.init_array 1112 1112 0 0.0
.rodata 288290 288322 32 0.0
.text 4675315 4675507 192 0.0
bridge-app debug (read only) 4592833 4592833 0 0.0
(read/write) 217104 217104 0 0.0
.bss 118112 118112 0 0.0
.data 6176 6176 0 0.0
.data.rel.ro 86112 86112 0 0.0
.dynamic 624 624 0 0.0
.got 5248 5248 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 228930 228930 0 0.0
.text 4143731 4143731 0 0.0
chip-tool debug (read only) 12028809 12029001 192 0.0
(read/write) 521448 521448 0 0.0
.bss 94392 94392 0 0.0
.data 5122 5122 0 0.0
.data.rel.ro 414712 414712 0 0.0
.dynamic 624 624 0 0.0
.got 5768 5768 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 448313 448313 0 0.0
.text 10874819 10875011 192 0.0
lighting-app debug+rpc+ui (read only) 5516209 5516209 0 0.0
(read/write) 225896 225896 0 0.0
.bss 119048 119048 0 0.0
.data 4832 4832 0 0.0
.data.rel.ro 94512 94512 0 0.0
.dynamic 672 672 0 0.0
.got 5888 5888 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 353972 353972 0 0.0
.text 4915683 4915683 0 0.0
lock-app debug (read only) 4660577 4660609 32 0.0
(read/write) 204720 204720 0 0.0
.bss 113536 113536 0 0.0
.data 4128 4128 0 0.0
.data.rel.ro 80360 80360 0 0.0
.dynamic 624 624 0 0.0
.got 5200 5200 0 0.0
.init 27 27 0 0.0
.init_array 840 840 0 0.0
.rodata 254946 254978 32 0.0
.text 4194099 4194099 0 0.0
ota-provider-app debug (read only) 4292409 4292409 0 0.0
(read/write) 193192 193192 0 0.0
.bss 113216 113216 0 0.0
.data 4336 4336 0 0.0
.data.rel.ro 69744 69744 0 0.0
.dynamic 624 624 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 704 704 0 0.0
.rodata 207490 207490 0 0.0
.text 3892067 3892067 0 0.0
ota-requestor-app debug (read only) 4421689 4421881 192 0.0
(read/write) 197592 197592 0 0.0
.bss 114112 114112 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 72864 72864 0 0.0
.dynamic 624 624 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 213634 213634 0 0.0
.text 4010659 4010851 192 0.0
shell debug (read only) 2885625 2885113 -512 -0.0
(read/write) 156256 156256 0 0.0
.bss 62672 62672 0 0.0
.data 1392 1392 0 0.0
.data.rel.ro 86432 86432 0 0.0
.dynamic 592 592 0 0.0
.got 4072 4072 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 185152 184640 -512 -0.3
.text 2527250 2527250 0 0.0
tv-app debug (read only) 5683665 5683825 160 0.0
(read/write) 351464 351464 0 0.0
.bss 243376 243376 0 0.0
.data 6496 6496 0 0.0
.data.rel.ro 94328 94328 0 0.0
.dynamic 624 624 0 0.0
.got 5496 5496 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 288034 288002 -32 -0.0
.text 5153811 5154003 192 0.0
tv-casting-app debug (read only) 9859329 9859521 192 0.0
(read/write) 340096 340096 0 0.0
.bss 156112 156112 0 0.0
.data 2944 2944 0 0.0
.data.rel.ro 174168 174168 0 0.0
.dynamic 624 624 0 0.0
.got 5072 5072 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 382640 382640 0 0.0
.text 9011091 9011283 192 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2531528 2531528 0 0.0
.bss 220448 220448 0 0.0
.data 5200 5200 0 0.0
.text 1494212 1494212 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1129096 1129208 112 0.0
.bss 102456 102456 0 0.0
.data 820 820 0 0.0
.text 641480 641592 112 0.0
lock-app qpg6105+debug (read/write) 1089192 1089328 136 0.0
.bss 97200 97200 0 0.0
.data 840 840 0 0.0
.text 601572 601708 136 0.0
stm32 light STM32WB5MM-DK (read/write) 600301 600301 0 0.0
.bss 128320 128320 0 0.0
.data 668 668 0 0.0
.rodata 79596 79596 0 0.0
.text 381992 381992 0 0.0

@andy31415
Copy link
Contributor Author

After changing 100s of files for data model defaults, it looks to me that this has to be done incrementally - a one-change PR will not work. The dependencies are also very mixed:

  • chip_data_model includes .cpp files with ember-specific implementations
  • Expectation seems to be that src/app sources (e.g. interaction-model and app) use the forward-declared functions in headers (e.g. privilege-storage, attribute-storage) while the main app links the corresponding data model implementing things
  • as a result, having a single backend per build is currently not easily splittable:
    • some targets must have no backend set (e.g. qpg lib, integration tests provide their own)
    • gn_build.sh tries to build several targets at once with different models:
      • shell does not care, but needs something
      • chip-tool is unclear, however it probably needs something with OTA support.
      • im-initiator/responder/other require to provide their own

Closing this large PR for now and will look at incrementally adding support for dependencies. It looks like headers and sources must be split here as:

  • it seems impossible to have a "single backend per build" (even though that would be very much preferable...)
  • multi-backend support will need it's approach defined.

@andy31415 andy31415 closed this Feb 29, 2024
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.

2 participants