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

[ESP32] cmake option to set software version and software version string #22229

Merged
merged 4 commits into from
Aug 31, 2022

Conversation

shubhamdp
Copy link
Contributor

ESP-IDF lets user set software version string by two ways: Project's
CMakeLists.txt file or configuration option. It depends on
CONFIG_APP_PROJECT_VER_FROM_CONFIG option so making the same provision
for software version number.

Also, Reading the software version string from the app description
which is set using any one of above method.

Setting the default software version as per spec i.e. 0.

Setting PROJECT_VER and PROJECT_VER_NUMBER in all the examples

Problem

  • Not using already present cmake option for setting/getting software version string
  • Also, default software version is set to incorrect value, 1, should be 0.

Change overview

Please see above

Testing

  • Set software version and software version string using cmake options and config option then made sure they match when read using basic cluster.
  • Also verified that it error out when none of the one is set

@github-actions
Copy link

github-actions bot commented Aug 29, 2022

PR #22229: Size comparison from 16edce7 to 2d6c25f

Decreases (5 builds for k32w, nrfconnect, telink)
platform target config section 16edce7 2d6c25f change % change
k32w light k32w0+release (read/write) 646564 646548 -16 -0.0
.text 571368 571352 -16 -0.0
lock k32w0+release (read/write) 704076 704060 -16 -0.0
.text 628408 628392 -16 -0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 814648 814644 -4 -0.0
telink light-switch-app tlsr9518adk80d (read/write) 808540 808532 -8 -0.0
text 571160 571156 -4 -0.0
lighting-app tlsr9518adk80d (read/write) 830424 830416 -8 -0.0
text 589254 589252 -2 -0.0
Full report (11 builds for bl602, k32w, linux, mbed, nrfconnect, telink)
platform target config section 16edce7 2d6c25f change % change
bl602 lighting-app bl602 (read/write) 1383746 1383746 0 0.0
.bss 120266 120266 0 0.0
.data 4480 4480 0 0.0
.text 1050912 1050912 0 0.0
bl602+rpc (read/write) 1429658 1429658 0 0.0
.bss 127706 127706 0 0.0
.data 4600 4600 0 0.0
.text 1082928 1082928 0 0.0
k32w light k32w0+release (read/write) 646564 646548 -16 -0.0
.bss 70400 70400 0 0.0
.data 2068 2068 0 0.0
.text 571368 571352 -16 -0.0
lock k32w0+release (read/write) 704076 704060 -16 -0.0
.bss 70864 70864 0 0.0
.data 2076 2076 0 0.0
.text 628408 628392 -16 -0.0
linux chip-tool-ipv6only arm64 (read only) 10281364 10281364 0 0.0
(read/write) 705073 705073 0 0.0
.bss 33297 33297 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 649704 649704 0 0.0
.dynamic 560 560 0 0.0
.got 13832 13832 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 493556 493556 0 0.0
.text 8135684 8135684 0 0.0
thermostat-no-ble arm64 (read only) 2357812 2357812 0 0.0
(read/write) 141681 141681 0 0.0
.bss 55217 55217 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75984 75984 0 0.0
.dynamic 560 560 0 0.0
.got 5040 5040 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 140636 140636 0 0.0
.text 1979472 1979472 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454408 2454408 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1417052 1417052 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180591 1180591 0 0.0
bss 143641 143641 0 0.0
rodata 143360 143360 0 0.0
text 814648 814644 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159787 1159787 0 0.0
bss 142868 142868 0 0.0
rodata 134948 134948 0 0.0
text 803056 803056 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808540 808532 -8 -0.0
bss 71344 71344 0 0.0
noinit 43488 43488 0 0.0
text 571160 571156 -4 -0.0
lighting-app tlsr9518adk80d (read/write) 830424 830416 -8 -0.0
bss 72200 72200 0 0.0
noinit 43488 43488 0 0.0
text 589254 589252 -2 -0.0

@github-actions
Copy link

github-actions bot commented Aug 29, 2022

PR #22229: Size comparison from 16edce7 to 6366f44

Increases (1 build for psoc6)
platform target config section 16edce7 6366f44 change % change
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 26654691 26654692 1 0.0
Decreases (3 builds for nrfconnect, psoc6, telink)
platform target config section 16edce7 6366f44 change % change
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 803056 803052 -4 -0.0
psoc6 light cy8ckit_062s2_43012 .debug_info 21854898 21854897 -1 -0.0
telink light-switch-app tlsr9518adk80d text 571160 571158 -2 -0.0
Full report (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, psoc6, telink)
platform target config section 16edce7 6366f44 change % change
bl602 lighting-app bl602 (read/write) 1383746 1383746 0 0.0
.bss 120266 120266 0 0.0
.data 4480 4480 0 0.0
.text 1050912 1050912 0 0.0
bl602+rpc (read/write) 1429658 1429658 0 0.0
.bss 127706 127706 0 0.0
.data 4600 4600 0 0.0
.text 1082928 1082928 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 672939 672939 0 0.0
(read/write) 178452 178452 0 0.0
.bss 74284 74284 0 0.0
.data 3372 3372 0 0.0
.rodata 88835 88835 0 0.0
.text 583788 583788 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637659 637659 0 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77979 77979 0 0.0
.text 559356 559356 0 0.0
lock-ftd LP_CC2652R7 (read only) 673991 673991 0 0.0
(read/write) 167712 167712 0 0.0
.bss 71484 71484 0 0.0
.data 3296 3296 0 0.0
.rodata 76671 76671 0 0.0
.text 596840 596840 0 0.0
lock-mtd LP_CC2652R7 (read only) 656743 656743 0 0.0
(read/write) 180648 180648 0 0.0
.bss 67172 67172 0 0.0
.data 3296 3296 0 0.0
.rodata 101767 101767 0 0.0
.text 554496 554496 0 0.0
pump-app LP_CC2652R7 (read only) 684655 684655 0 0.0
(read/write) 157752 157752 0 0.0
.bss 71420 71420 0 0.0
.data 3296 3296 0 0.0
.rodata 89927 89927 0 0.0
.text 594244 594244 0 0.0
pump-controller-app LP_CC2652R7 (read only) 669147 669147 0 0.0
(read/write) 173372 173372 0 0.0
.bss 71532 71532 0 0.0
.data 3292 3292 0 0.0
.rodata 85483 85483 0 0.0
.text 583184 583184 0 0.0
shell LP_CC2652R7 (read only) 665630 665630 0 0.0
(read/write) 181280 181280 0 0.0
.bss 76604 76604 0 0.0
.data 3376 3376 0 0.0
.rodata 85782 85782 0 0.0
.text 579532 579532 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586642 586642 0 0.0
.app_xip_area 463300 463300 0 0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592410 592410 0 0.0
.app_xip_area 464284 464284 0 0.0
.bss 70560 70560 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 599538 599538 0 0.0
.app_xip_area 476916 476916 0 0.0
.bss 65088 65088 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 (read/write) 1107372 1107372 0 0.0
.bss 136332 136332 0 0.0
.data 2072 2072 0 0.0
.text 968948 968948 0 0.0
BRD4161A+rpc (read/write) 971476 971476 0 0.0
.bss 150844 150844 0 0.0
.data 2252 2252 0 0.0
.text 818356 818356 0 0.0
BRD4161A+rs911x (read/write) 999976 999976 0 0.0
.bss 169088 169088 0 0.0
.data 2056 2056 0 0.0
.text 828812 828812 0 0.0
lock-app BRD4161A+wf200 (read/write) 1149260 1149260 0 0.0
.bss 152168 152168 0 0.0
.data 2064 2064 0 0.0
.text 995008 995008 0 0.0
window-app BRD4161A (read/write) 1098644 1098644 0 0.0
.bss 137772 137772 0 0.0
.data 2096 2096 0 0.0
.text 958756 958756 0 0.0
k32w light k32w0+release (read/write) 646564 646564 0 0.0
.bss 70400 70400 0 0.0
.data 2068 2068 0 0.0
.text 571368 571368 0 0.0
lock k32w0+release (read/write) 704076 704076 0 0.0
.bss 70864 70864 0 0.0
.data 2076 2076 0 0.0
.text 628408 628408 0 0.0
linux all-clusters-app debug (read only) 3039097 3039097 0 0.0
(read/write) 155896 155896 0 0.0
.bss 61792 61792 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85624 85624 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 274699 274699 0 0.0
.text 2585250 2585250 0 0.0
all-clusters-minimal-app debug (read only) 2874945 2874945 0 0.0
(read/write) 147496 147496 0 0.0
.bss 61024 61024 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78120 78120 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 274891 274891 0 0.0
.text 2423682 2423682 0 0.0
bridge-app debug+rpc (read only) 2373145 2373145 0 0.0
(read/write) 127584 127584 0 0.0
.bss 50656 50656 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67464 67464 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 203528 203528 0 0.0
.text 2006994 2006994 0 0.0
chip-tool debug (read only) 10898753 10898753 0 0.0
(read/write) 657184 657184 0 0.0
.bss 25240 25240 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 622168 622168 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 562901 562901 0 0.0
.text 8815300 8815300 0 0.0
chip-tool-ipv6only arm64 (read only) 10281364 10281364 0 0.0
(read/write) 705073 705073 0 0.0
.bss 33297 33297 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 649704 649704 0 0.0
.dynamic 560 560 0 0.0
.got 13832 13832 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 493556 493556 0 0.0
.text 8135684 8135684 0 0.0
lighting-app debug+rpc (read only) 2598089 2598089 0 0.0
(read/write) 130304 130304 0 0.0
.bss 49760 49760 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72488 72488 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 220432 220432 0 0.0
.text 2206754 2206754 0 0.0
lock-app debug (read only) 2581089 2581089 0 0.0
(read/write) 125512 125512 0 0.0
.bss 48288 48288 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69512 69512 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 896 896 0 0.0
.rodata 237392 237392 0 0.0
.text 2177042 2177042 0 0.0
ota-provider-app debug (read only) 2358249 2358249 0 0.0
(read/write) 118976 118976 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63336 63336 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 209368 209368 0 0.0
.text 1985410 1985410 0 0.0
ota-requestor-app debug (read only) 2523721 2523721 0 0.0
(read/write) 127384 127384 0 0.0
.bss 50368 50368 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68744 68744 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 216160 216160 0 0.0
.text 2134946 2134946 0 0.0
shell debug (read only) 2607385 2607385 0 0.0
(read/write) 142016 142016 0 0.0
.bss 57704 57704 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77224 77224 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 234802 234802 0 0.0
.text 2214162 2214162 0 0.0
thermostat-no-ble arm64 (read only) 2357812 2357812 0 0.0
(read/write) 141681 141681 0 0.0
.bss 55217 55217 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75984 75984 0 0.0
.dynamic 560 560 0 0.0
.got 5040 5040 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 140636 140636 0 0.0
.text 1979472 1979472 0 0.0
tv-app debug (read only) 3183881 3183881 0 0.0
(read/write) 257840 257840 0 0.0
.bss 167352 167352 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 79184 79184 0 0.0
.dynamic 608 608 0 0.0
.got 4856 4856 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 259144 259144 0 0.0
.text 2734994 2734994 0 0.0
tv-casting-app debug (read only) 5504641 5504641 0 0.0
(read/write) 160336 160336 0 0.0
.bss 51352 51352 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 100120 100120 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1040 1040 0 0.0
.rodata 344305 344305 0 0.0
.text 4888722 4888722 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454408 2454408 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1417052 1417052 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180591 1180591 0 0.0
bss 143641 143641 0 0.0
rodata 143360 143360 0 0.0
text 814648 814648 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159787 1159787 0 0.0
bss 142868 142868 0 0.0
rodata 134948 134948 0 0.0
text 803056 803052 -4 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842224 842224 0 0.0
(read/write) 1740428 1740428 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188464 188464 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 2656 2656 0 0.0
.debug_abbrev 1217456 1217456 0 0.0
.debug_aranges 111552 111552 0 0.0
.debug_frame 372464 372464 0 0.0
.debug_info 26654691 26654692 1 0.0
.debug_line 3648656 3648656 0 0.0
.debug_loc 3565182 3565182 0 0.0
.debug_ranges 337376 337376 0 0.0
.debug_str 3404479 3404479 0 0.0
.heap 842224 842224 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 569432 569432 0 0.0
.symtab 420608 420608 0 0.0
.text 1540920 1540920 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842960 842960 0 0.0
(read/write) 1683620 1683620 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187728 187728 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 2656 2656 0 0.0
.debug_abbrev 1209295 1209295 0 0.0
.debug_aranges 111024 111024 0 0.0
.debug_frame 375544 375544 0 0.0
.debug_info 26391386 26391386 0 0.0
.debug_line 3669060 3669060 0 0.0
.debug_loc 3552819 3552819 0 0.0
.debug_ranges 335992 335992 0 0.0
.debug_str 3393468 3393468 0 0.0
.heap 842960 842960 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 533906 533906 0 0.0
.symtab 407200 407200 0 0.0
.text 1484848 1484848 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 851200 851200 0 0.0
(read/write) 1600892 1600892 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179696 179696 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 2448 2448 0 0.0
.debug_abbrev 1044114 1044114 0 0.0
.debug_aranges 103200 103200 0 0.0
.debug_frame 345812 345812 0 0.0
.debug_info 21854898 21854897 -1 -0.0
.debug_line 3239693 3239693 0 0.0
.debug_loc 3251125 3251125 0 0.0
.debug_ranges 301464 301464 0 0.0
.debug_str 3198712 3198712 0 0.0
.heap 851200 851200 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 467205 467205 0 0.0
.symtab 374288 374288 0 0.0
.text 1410360 1410360 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 846168 846168 0 0.0
(read/write) 1638604 1638604 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184712 184712 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 2464 2464 0 0.0
.debug_abbrev 1051549 1051549 0 0.0
.debug_aranges 103872 103872 0 0.0
.debug_frame 348640 348640 0 0.0
.debug_info 22234629 22234629 0 0.0
.debug_line 3248587 3248587 0 0.0
.debug_loc 3290963 3290963 0 0.0
.debug_ranges 304808 304808 0 0.0
.debug_str 3226195 3226195 0 0.0
.heap 846168 846168 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 473420 473420 0 0.0
.symtab 377472 377472 0 0.0
.text 1443040 1443040 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808540 808540 0 0.0
bss 71344 71344 0 0.0
noinit 43488 43488 0 0.0
text 571160 571158 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 830424 830424 0 0.0
bss 72200 72200 0 0.0
noinit 43488 43488 0 0.0
text 589254 589254 0 0.0

@github-actions
Copy link

github-actions bot commented Aug 30, 2022

PR #22229: Size comparison from 708685f to 8e6b224

Increases (1 build for telink)
platform target config section 708685f 8e6b224 change % change
telink lighting-app tlsr9518adk80d text 589314 589316 2 0.0
Decreases (2 builds for psoc6)
platform target config section 708685f 8e6b224 change % change
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 26696029 26696028 -1 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_info 26432725 26432723 -2 -0.0
Full report (41 builds for bl602, cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, psoc6, telink)
platform target config section 708685f 8e6b224 change % change
bl602 lighting-app bl602 (read/write) 1385062 1385062 0 0.0
.bss 120274 120274 0 0.0
.data 4488 4488 0 0.0
.text 1051464 1051464 0 0.0
bl602+rpc (read/write) 1430958 1430958 0 0.0
.bss 127706 127706 0 0.0
.data 4600 4600 0 0.0
.text 1083480 1083480 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 672979 672979 0 0.0
(read/write) 178412 178412 0 0.0
.bss 74284 74284 0 0.0
.data 3372 3372 0 0.0
.rodata 88835 88835 0 0.0
.text 583828 583828 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637683 637683 0 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77979 77979 0 0.0
.text 559380 559380 0 0.0
lock-ftd LP_CC2652R7 (read only) 674023 674023 0 0.0
(read/write) 167680 167680 0 0.0
.bss 71484 71484 0 0.0
.data 3296 3296 0 0.0
.rodata 76671 76671 0 0.0
.text 596872 596872 0 0.0
lock-mtd LP_CC2652R7 (read only) 656955 656955 0 0.0
(read/write) 180436 180436 0 0.0
.bss 67172 67172 0 0.0
.data 3296 3296 0 0.0
.rodata 101883 101883 0 0.0
.text 554592 554592 0 0.0
pump-app LP_CC2652R7 (read only) 684739 684739 0 0.0
(read/write) 157668 157668 0 0.0
.bss 71420 71420 0 0.0
.data 3296 3296 0 0.0
.rodata 89947 89947 0 0.0
.text 594308 594308 0 0.0
pump-controller-app LP_CC2652R7 (read only) 669239 669239 0 0.0
(read/write) 173280 173280 0 0.0
.bss 71532 71532 0 0.0
.data 3292 3292 0 0.0
.rodata 85503 85503 0 0.0
.text 583256 583256 0 0.0
shell LP_CC2652R7 (read only) 665686 665686 0 0.0
(read/write) 181224 181224 0 0.0
.bss 76604 76604 0 0.0
.data 3376 3376 0 0.0
.rodata 85782 85782 0 0.0
.text 579588 579588 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586690 586690 0 0.0
.app_xip_area 463348 463348 0 0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592442 592442 0 0.0
.app_xip_area 464316 464316 0 0.0
.bss 70560 70560 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 599434 599434 0 0.0
.app_xip_area 476812 476812 0 0.0
.bss 65088 65088 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 (read/write) 1107504 1107504 0 0.0
.bss 136332 136332 0 0.0
.data 2072 2072 0 0.0
.text 969080 969080 0 0.0
BRD4161A+rpc (read/write) 971556 971556 0 0.0
.bss 150844 150844 0 0.0
.data 2252 2252 0 0.0
.text 818440 818440 0 0.0
BRD4161A+rs911x (read/write) 1001224 1001224 0 0.0
.bss 169088 169088 0 0.0
.data 2064 2064 0 0.0
.text 830052 830052 0 0.0
lock-app BRD4161A+wf200 (read/write) 1149716 1149716 0 0.0
.bss 152168 152168 0 0.0
.data 2072 2072 0 0.0
.text 995456 995456 0 0.0
window-app BRD4161A (read/write) 1098744 1098744 0 0.0
.bss 137772 137772 0 0.0
.data 2096 2096 0 0.0
.text 958856 958856 0 0.0
k32w light k32w0+release (read/write) 647292 647292 0 0.0
.bss 70424 70424 0 0.0
.data 2068 2068 0 0.0
.text 572072 572072 0 0.0
lock k32w0+release (read/write) 704288 704288 0 0.0
.bss 70864 70864 0 0.0
.data 2076 2076 0 0.0
.text 628620 628620 0 0.0
linux all-clusters-app debug (read only) 3043401 3043401 0 0.0
(read/write) 156032 156032 0 0.0
.bss 61792 61792 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85768 85768 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1176 1176 0 0.0
.rodata 275307 275307 0 0.0
.text 2588658 2588658 0 0.0
all-clusters-minimal-app debug (read only) 2879185 2879185 0 0.0
(read/write) 147632 147632 0 0.0
.bss 61024 61024 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78264 78264 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 275467 275467 0 0.0
.text 2427058 2427058 0 0.0
bridge-app debug+rpc (read only) 2377449 2377449 0 0.0
(read/write) 127752 127752 0 0.0
.bss 50656 50656 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67640 67640 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 204168 204168 0 0.0
.text 2010370 2010370 0 0.0
chip-tool debug (read only) 10908833 10908833 0 0.0
(read/write) 657384 657384 0 0.0
.bss 25240 25240 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 622352 622352 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 564213 564213 0 0.0
.text 8823780 8823780 0 0.0
chip-tool-ipv6only arm64 (read only) 10289668 10289668 0 0.0
(read/write) 705233 705233 0 0.0
.bss 33297 33297 0 0.0
.data 3280 3280 0 0.0
.data.rel.ro 649832 649832 0 0.0
.dynamic 560 560 0 0.0
.got 13848 13848 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 494660 494660 0 0.0
.text 8142548 8142548 0 0.0
lighting-app debug+rpc (read only) 2602377 2602377 0 0.0
(read/write) 130536 130536 0 0.0
.bss 49792 49792 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72680 72680 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 221008 221008 0 0.0
.text 2210178 2210178 0 0.0
lock-app debug (read only) 2585361 2585361 0 0.0
(read/write) 125712 125712 0 0.0
.bss 48288 48288 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69688 69688 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 238000 238000 0 0.0
.text 2180418 2180418 0 0.0
ota-provider-app debug (read only) 2362601 2362601 0 0.0
(read/write) 119144 119144 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63512 63512 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 209976 209976 0 0.0
.text 1988866 1988866 0 0.0
ota-requestor-app debug (read only) 2527929 2527929 0 0.0
(read/write) 127552 127552 0 0.0
.bss 50368 50368 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68920 68920 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 216704 216704 0 0.0
.text 2138322 2138322 0 0.0
shell debug (read only) 2611689 2611689 0 0.0
(read/write) 142184 142184 0 0.0
.bss 57704 57704 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77376 77376 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 235410 235410 0 0.0
.text 2217570 2217570 0 0.0
thermostat-no-ble arm64 (read only) 2361556 2361556 0 0.0
(read/write) 141857 141857 0 0.0
.bss 55233 55233 0 0.0
.data 1680 1680 0 0.0
.data.rel.ro 76112 76112 0 0.0
.dynamic 560 560 0 0.0
.got 5056 5056 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 141276 141276 0 0.0
.text 1982240 1982240 0 0.0
tv-app debug (read only) 3188281 3188281 0 0.0
(read/write) 258040 258040 0 0.0
.bss 167352 167352 0 0.0
.data 4752 4752 0 0.0
.data.rel.ro 79368 79368 0 0.0
.dynamic 608 608 0 0.0
.got 4856 4856 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 259784 259784 0 0.0
.text 2738466 2738466 0 0.0
tv-casting-app debug (read only) 5508945 5508945 0 0.0
(read/write) 160536 160536 0 0.0
.bss 51352 51352 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 100304 100304 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 344945 344945 0 0.0
.text 4892098 4892098 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454872 2454872 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1417516 1417516 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180691 1180691 0 0.0
bss 143641 143641 0 0.0
rodata 143380 143380 0 0.0
text 814724 814724 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159871 1159871 0 0.0
bss 142868 142868 0 0.0
rodata 134968 134968 0 0.0
text 803116 803116 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842216 842216 0 0.0
(read/write) 1741700 1741700 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188464 188464 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 1221325 1221325 0 0.0
.debug_aranges 111696 111696 0 0.0
.debug_frame 372812 372812 0 0.0
.debug_info 26696029 26696028 -1 -0.0
.debug_line 3655093 3655093 0 0.0
.debug_loc 3568177 3568177 0 0.0
.debug_ranges 337560 337560 0 0.0
.debug_str 3426632 3426632 0 0.0
.heap 842216 842216 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 570457 570457 0 0.0
.symtab 421424 421424 0 0.0
.text 1542184 1542184 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842952 842952 0 0.0
(read/write) 1684868 1684868 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187728 187728 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 1213164 1213164 0 0.0
.debug_aranges 111168 111168 0 0.0
.debug_frame 375892 375892 0 0.0
.debug_info 26432725 26432723 -2 -0.0
.debug_line 3675609 3675609 0 0.0
.debug_loc 3555814 3555814 0 0.0
.debug_ranges 336176 336176 0 0.0
.debug_str 3415637 3415637 0 0.0
.heap 842952 842952 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 534931 534931 0 0.0
.symtab 408016 408016 0 0.0
.text 1486088 1486088 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 851184 851184 0 0.0
(read/write) 1602172 1602172 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179704 179704 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 1047983 1047983 0 0.0
.debug_aranges 103344 103344 0 0.0
.debug_frame 346160 346160 0 0.0
.debug_info 21896230 21896230 0 0.0
.debug_line 3246078 3246078 0 0.0
.debug_loc 3254196 3254196 0 0.0
.debug_ranges 301648 301648 0 0.0
.debug_str 3220857 3220857 0 0.0
.heap 851184 851184 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 468230 468230 0 0.0
.symtab 375104 375104 0 0.0
.text 1411624 1411624 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 846152 846152 0 0.0
(read/write) 1639844 1639844 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184720 184720 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 1055418 1055418 0 0.0
.debug_aranges 104016 104016 0 0.0
.debug_frame 348988 348988 0 0.0
.debug_info 22275869 22275869 0 0.0
.debug_line 3254895 3254895 0 0.0
.debug_loc 3293990 3293990 0 0.0
.debug_ranges 304992 304992 0 0.0
.debug_str 3248278 3248278 0 0.0
.heap 846152 846152 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 474445 474445 0 0.0
.symtab 378288 378288 0 0.0
.text 1444264 1444264 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808600 808600 0 0.0
bss 71344 71344 0 0.0
noinit 43488 43488 0 0.0
text 571204 571204 0 0.0
lighting-app tlsr9518adk80d (read/write) 830500 830500 0 0.0
bss 72200 72200 0 0.0
noinit 43488 43488 0 0.0
text 589314 589316 2 0.0

ESP-IDF lets user set software version string by two ways: Project's
CMakeLists.txt file or configuration option. It depends on
CONFIG_APP_PROJECT_VER_FROM_CONFIG option so making the same provision
for software version number.

Also, Reading the software version string from the app description
which is set using any one of above method.

Setting the default software version as per spec i.e. 0.

Setting PROJECT_VER and PROJECT_VER_NUMBER in all the examples
@github-actions
Copy link

github-actions bot commented Aug 30, 2022

PR #22229: Size comparison from 9bde9e3 to f85e859

Increases (5 builds for cc13x2_26x2, esp32, telink)
platform target config section 9bde9e3 f85e859 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 167616 167624 8 0.0
pump-controller-app LP_CC2652R7 (read/write) 173208 173216 8 0.0
esp32 all-clusters-app c3devkit (read only) 1033554 1033580 26 0.0
.flash.text 1033554 1033580 26 0.0
m5stack (read only) 1085891 1085907 16 0.0
.flash.text 1080507 1080523 16 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808656 808664 8 0.0
text 571260 571262 2 0.0
Decreases (5 builds for cc13x2_26x2, esp32, psoc6)
platform target config section 9bde9e3 f85e859 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 674087 674079 -8 -0.0
.text 596936 596928 -8 -0.0
pump-controller-app LP_CC2652R7 (read only) 669311 669303 -8 -0.0
.text 583328 583320 -8 -0.0
esp32 all-clusters-app c3devkit (read/write) 1493486 1493478 -8 -0.0
.flash.rodata 218032 218024 -8 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 26701651 26701650 -1 -0.0
light cy8ckit_062s2_43012 .debug_info 21900555 21900554 -1 -0.0
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, telink)
platform target config section 9bde9e3 f85e859 change % change
bl602 lighting-app bl602 (read/write) 1385118 1385118 0 0.0
.bss 120274 120274 0 0.0
.data 4488 4488 0 0.0
.text 1051520 1051520 0 0.0
bl602+rpc (read/write) 1431006 1431006 0 0.0
.bss 127706 127706 0 0.0
.data 4600 4600 0 0.0
.text 1083532 1083532 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 673051 673051 0 0.0
(read/write) 178340 178340 0 0.0
.bss 74284 74284 0 0.0
.data 3372 3372 0 0.0
.rodata 88835 88835 0 0.0
.text 583900 583900 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 637747 637747 0 0.0
(read/write) 157844 157844 0 0.0
.bss 73556 73556 0 0.0
.data 3372 3372 0 0.0
.rodata 77979 77979 0 0.0
.text 559444 559444 0 0.0
lock-ftd LP_CC2652R7 (read only) 674087 674079 -8 -0.0
(read/write) 167616 167624 8 0.0
.bss 71484 71484 0 0.0
.data 3296 3296 0 0.0
.rodata 76671 76671 0 0.0
.text 596936 596928 -8 -0.0
lock-mtd LP_CC2652R7 (read only) 657027 657027 0 0.0
(read/write) 180364 180364 0 0.0
.bss 67172 67172 0 0.0
.data 3296 3296 0 0.0
.rodata 101883 101883 0 0.0
.text 554664 554664 0 0.0
pump-app LP_CC2652R7 (read only) 684811 684811 0 0.0
(read/write) 157596 157596 0 0.0
.bss 71420 71420 0 0.0
.data 3296 3296 0 0.0
.rodata 89947 89947 0 0.0
.text 594380 594380 0 0.0
pump-controller-app LP_CC2652R7 (read only) 669311 669303 -8 -0.0
(read/write) 173208 173216 8 0.0
.bss 71532 71532 0 0.0
.data 3292 3292 0 0.0
.rodata 85503 85503 0 0.0
.text 583328 583320 -8 -0.0
shell LP_CC2652R7 (read only) 665758 665758 0 0.0
(read/write) 181152 181152 0 0.0
.bss 76604 76604 0 0.0
.data 3376 3376 0 0.0
.rodata 85782 85782 0 0.0
.text 579660 579660 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 586754 586754 0 0.0
.app_xip_area 463412 463412 0 0.0
.bss 65776 65776 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592506 592506 0 0.0
.app_xip_area 464380 464380 0 0.0
.bss 70560 70560 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 599498 599498 0 0.0
.app_xip_area 476876 476876 0 0.0
.bss 65088 65088 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 (read/write) 1107616 1107616 0 0.0
.bss 136332 136332 0 0.0
.data 2072 2072 0 0.0
.text 969192 969192 0 0.0
BRD4161A+rpc (read/write) 971636 971636 0 0.0
.bss 150844 150844 0 0.0
.data 2252 2252 0 0.0
.text 818520 818520 0 0.0
BRD4161A+rs911x (read/write) 1001352 1001352 0 0.0
.bss 169088 169088 0 0.0
.data 2064 2064 0 0.0
.text 830180 830180 0 0.0
lock-app BRD4161A+wf200 (read/write) 1149796 1149796 0 0.0
.bss 152168 152168 0 0.0
.data 2072 2072 0 0.0
.text 995536 995536 0 0.0
window-app BRD4161A (read/write) 1098872 1098872 0 0.0
.bss 137772 137772 0 0.0
.data 2096 2096 0 0.0
.text 958984 958984 0 0.0
esp32 all-clusters-app c3devkit (read only) 1033554 1033580 26 0.0
(read/write) 1493486 1493478 -8 -0.0
.dram0.bss 71088 71088 0 0.0
.dram0.data 13696 13696 0 0.0
.flash.rodata 218032 218024 -8 -0.0
.flash.text 1033554 1033580 26 0.0
.iram0.text 65160 65160 0 0.0
m5stack (read only) 1085891 1085907 16 0.0
(read/write) 490772 490772 0 0.0
.dram0.bss 76608 76608 0 0.0
.dram0.data 34152 34152 0 0.0
.flash.rodata 247344 247344 0 0.0
.flash.text 1080507 1080523 16 0.0
.iram0.text 123939 123939 0 0.0
k32w light k32w0+release (read/write) 647356 647356 0 0.0
.bss 70424 70424 0 0.0
.data 2068 2068 0 0.0
.text 572136 572136 0 0.0
lock k32w0+release (read/write) 704352 704352 0 0.0
.bss 70864 70864 0 0.0
.data 2076 2076 0 0.0
.text 628684 628684 0 0.0
linux all-clusters-app debug (read only) 3043833 3043833 0 0.0
(read/write) 156032 156032 0 0.0
.bss 61792 61792 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 85768 85768 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1176 1176 0 0.0
.rodata 275307 275307 0 0.0
.text 2589090 2589090 0 0.0
all-clusters-minimal-app debug (read only) 2879633 2879633 0 0.0
(read/write) 147632 147632 0 0.0
.bss 61024 61024 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 78264 78264 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 275467 275467 0 0.0
.text 2427506 2427506 0 0.0
bridge-app debug+rpc (read only) 2377897 2377897 0 0.0
(read/write) 127752 127752 0 0.0
.bss 50656 50656 0 0.0
.data 3600 3600 0 0.0
.data.rel.ro 67640 67640 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 204168 204168 0 0.0
.text 2010818 2010818 0 0.0
chip-tool debug (read only) 10909393 10909393 0 0.0
(read/write) 657384 657384 0 0.0
.bss 25240 25240 0 0.0
.data 3266 3266 0 0.0
.data.rel.ro 622352 622352 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 564213 564213 0 0.0
.text 8824340 8824340 0 0.0
chip-tool-ipv6only arm64 (read only) 10290068 10290068 0 0.0
(read/write) 705233 705233 0 0.0
.bss 33297 33297 0 0.0
.data 3280 3280 0 0.0
.data.rel.ro 649832 649832 0 0.0
.dynamic 560 560 0 0.0
.got 13848 13848 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 494660 494660 0 0.0
.text 8142948 8142948 0 0.0
lighting-app debug+rpc (read only) 2602825 2602825 0 0.0
(read/write) 130536 130536 0 0.0
.bss 49792 49792 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72680 72680 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 221008 221008 0 0.0
.text 2210626 2210626 0 0.0
lock-app debug (read only) 2585793 2585793 0 0.0
(read/write) 125712 125712 0 0.0
.bss 48288 48288 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69688 69688 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 238000 238000 0 0.0
.text 2180850 2180850 0 0.0
ota-provider-app debug (read only) 2363049 2363049 0 0.0
(read/write) 119144 119144 0 0.0
.bss 47808 47808 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 63512 63512 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 209976 209976 0 0.0
.text 1989314 1989314 0 0.0
ota-requestor-app debug (read only) 2528377 2528377 0 0.0
(read/write) 127552 127552 0 0.0
.bss 50368 50368 0 0.0
.data 2304 2304 0 0.0
.data.rel.ro 68920 68920 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 216704 216704 0 0.0
.text 2138770 2138770 0 0.0
shell debug (read only) 2612137 2612137 0 0.0
(read/write) 142184 142184 0 0.0
.bss 57704 57704 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 77376 77376 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 235410 235410 0 0.0
.text 2218018 2218018 0 0.0
thermostat-no-ble arm64 (read only) 2361844 2361844 0 0.0
(read/write) 141857 141857 0 0.0
.bss 55233 55233 0 0.0
.data 1680 1680 0 0.0
.data.rel.ro 76112 76112 0 0.0
.dynamic 560 560 0 0.0
.got 5056 5056 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 141276 141276 0 0.0
.text 1982528 1982528 0 0.0
tv-app debug (read only) 3188841 3188841 0 0.0
(read/write) 258040 258040 0 0.0
.bss 167352 167352 0 0.0
.data 4752 4752 0 0.0
.data.rel.ro 79368 79368 0 0.0
.dynamic 608 608 0 0.0
.got 4856 4856 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 259784 259784 0 0.0
.text 2739026 2739026 0 0.0
tv-casting-app debug (read only) 5509393 5509393 0 0.0
(read/write) 160536 160536 0 0.0
.bss 51352 51352 0 0.0
.data 2432 2432 0 0.0
.data.rel.ro 100304 100304 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 344945 344945 0 0.0
.text 4892546 4892546 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454936 2454936 0 0.0
.bss 215044 215044 0 0.0
.data 5872 5872 0 0.0
.text 1417580 1417580 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180755 1180755 0 0.0
bss 143641 143641 0 0.0
rodata 143380 143380 0 0.0
text 814792 814792 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1159935 1159935 0 0.0
bss 142868 142868 0 0.0
rodata 134968 134968 0 0.0
text 803184 803184 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842216 842216 0 0.0
(read/write) 1741812 1741812 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188464 188464 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 1221363 1221363 0 0.0
.debug_aranges 111704 111704 0 0.0
.debug_frame 372868 372868 0 0.0
.debug_info 26701651 26701650 -1 -0.0
.debug_line 3655208 3655208 0 0.0
.debug_loc 3568779 3568779 0 0.0
.debug_ranges 337568 337568 0 0.0
.debug_str 3426748 3426748 0 0.0
.heap 842216 842216 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 570503 570503 0 0.0
.symtab 421456 421456 0 0.0
.text 1542296 1542296 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842952 842952 0 0.0
(read/write) 1684980 1684980 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187728 187728 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 1213202 1213202 0 0.0
.debug_aranges 111176 111176 0 0.0
.debug_frame 375948 375948 0 0.0
.debug_info 26438273 26438273 0 0.0
.debug_line 3675724 3675724 0 0.0
.debug_loc 3556416 3556416 0 0.0
.debug_ranges 336184 336184 0 0.0
.debug_str 3415753 3415753 0 0.0
.heap 842952 842952 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 534977 534977 0 0.0
.symtab 408048 408048 0 0.0
.text 1486200 1486200 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 851184 851184 0 0.0
(read/write) 1602284 1602284 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179704 179704 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 1048021 1048021 0 0.0
.debug_aranges 103352 103352 0 0.0
.debug_frame 346216 346216 0 0.0
.debug_info 21900555 21900554 -1 -0.0
.debug_line 3246189 3246189 0 0.0
.debug_loc 3254757 3254757 0 0.0
.debug_ranges 301656 301656 0 0.0
.debug_str 3220973 3220973 0 0.0
.heap 851184 851184 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 468276 468276 0 0.0
.symtab 375136 375136 0 0.0
.text 1411736 1411736 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 846152 846152 0 0.0
(read/write) 1639956 1639956 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184720 184720 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 1055456 1055456 0 0.0
.debug_aranges 104024 104024 0 0.0
.debug_frame 349044 349044 0 0.0
.debug_info 22280302 22280302 0 0.0
.debug_line 3255010 3255010 0 0.0
.debug_loc 3294625 3294625 0 0.0
.debug_ranges 305000 305000 0 0.0
.debug_str 3248394 3248394 0 0.0
.heap 846152 846152 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 474491 474491 0 0.0
.symtab 378320 378320 0 0.0
.text 1444376 1444376 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808656 808664 8 0.0
bss 71344 71344 0 0.0
noinit 43488 43488 0 0.0
text 571260 571262 2 0.0
lighting-app tlsr9518adk80d (read/write) 830564 830564 0 0.0
bss 72200 72200 0 0.0
noinit 43488 43488 0 0.0
text 589374 589374 0 0.0

@andy31415
Copy link
Contributor

1.0 accepted: platform-specific change, platform owners are gatekeepers here.

@andy31415 andy31415 merged commit dcd8931 into project-chip:master Aug 31, 2022
@shubhamdp shubhamdp deleted the esp32_version branch September 1, 2022 00:30
isiu-apple pushed a commit to isiu-apple/connectedhomeip that referenced this pull request Sep 16, 2022
…ing (project-chip#22229)

* [ESP32] cmake option to set software version and software version string

ESP-IDF lets user set software version string by two ways: Project's
CMakeLists.txt file or configuration option. It depends on
CONFIG_APP_PROJECT_VER_FROM_CONFIG option so making the same provision
for software version number.

Also, Reading the software version string from the app description
which is set using any one of above method.

Setting the default software version as per spec i.e. 0.

Setting PROJECT_VER and PROJECT_VER_NUMBER in all the examples

* Fix the QEMU tests

* Set software version to 0 if not set using cmake or config option

* Override GetSoftwareVersion in configuration manager
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