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

[Silabs][SiWx917] Factory data provider for SiWx917 #24747

Merged

Conversation

chirag-silabs
Copy link
Contributor

Factory data provider for SiWx917
This is a temp fix, the user can write the details in the DeviceConfig.h (Discriminator, passcode and all) and then build the project with siwx917_commissionable_data=true and then the device properties will be flashed in the nvm section of the SiWx917 board.

@github-actions
Copy link

github-actions bot commented Jan 31, 2023

PR #24747: Size comparison from 210ae33 to fd28ca4

Increases (4 builds for bl602, esp32, psoc6)
platform target config section 210ae33 fd28ca4 change % change
bl602 lighting-app bl602 .text 1022524 1022526 2 0.0
bl602+rpc .text 1053458 1053460 2 0.0
esp32 all-clusters-app m5stack (read/write) 497823 497827 4 0.0
.flash.rodata 248900 248904 4 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 27506003 27506004 1 0.0
Decreases (5 builds for nrfconnect, psoc6, telink)
platform target config section 210ae33 fd28ca4 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1160672 1160656 -16 -0.0
text 803808 803804 -4 -0.0
psoc6 all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27063756 27063755 -1 -0.0
telink contact-sensor-app tlsr9518adk80d text 578780 578778 -2 -0.0
light-switch-app tlsr9518adk80d text 592906 592902 -4 -0.0
lighting-app tlsr9518adk80d (read/write) 950492 950484 -8 -0.0
text 658302 658300 -2 -0.0
Full report (54 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 210ae33 fd28ca4 change % change
bl602 lighting-app bl602 (read/write) 1345490 1345490 0 0.0
.bss 94858 94858 0 0.0
.data 9736 9736 0 0.0
.text 1022524 1022526 2 0.0
bl602+rpc (read/write) 1390938 1390938 0 0.0
.bss 102906 102906 0 0.0
.data 10128 10128 0 0.0
.text 1053458 1053460 2 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1183467 1183467 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 69969 69969 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4056 4056 0 0.0
.debug_abbrev 1549875 1549875 0 0.0
.debug_aranges 134056 134056 0 0.0
.debug_frame 490964 490964 0 0.0
.debug_info 40197533 40197533 0 0.0
.debug_line 5265819 5265819 0 0.0
.debug_loc 3400392 3400392 0 0.0
.debug_ranges 371624 371624 0 0.0
.debug_str 3534818 3534818 0 0.0
.hbn 536 536 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 106752 106752 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 571683 571683 0 0.0
.symtab 173184 173184 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
951564 951564 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1276159 1276159 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 78017 78017 0 0.0
.bss_psram 30304 30304 0 0.0
.comment 48 48 0 0.0
.data 4608 4608 0 0.0
.debug_abbrev 1698271 1698271 0 0.0
.debug_aranges 142280 142280 0 0.0
.debug_frame 518668 518668 0 0.0
.debug_info 44594116 44594116 0 0.0
.debug_line 5664170 5664170 0 0.0
.debug_loc 3596502 3596502 0 0.0
.debug_ranges 395328 395328 0 0.0
.debug_str 3938127 3938127 0 0.0
.hbn 536 536 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 121296 121296 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 632280 632280 0 0.0
.symtab 191536 191536 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1028588 1028588 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 676771 676771 0 0.0
(read/write) 174476 174476 0 0.0
.bss 80940 80940 0 0.0
.data 3384 3384 0 0.0
.rodata 87515 87515 0 0.0
.text 588940 588940 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 640851 640851 0 0.0
(read/write) 157632 157632 0 0.0
.bss 80132 80132 0 0.0
.data 3384 3384 0 0.0
.rodata 77467 77467 0 0.0
.text 563064 563064 0 0.0
lock-ftd LP_CC2652R7 (read only) 673823 673823 0 0.0
(read/write) 174768 174768 0 0.0
.bss 78372 78372 0 0.0
.data 3312 3312 0 0.0
.rodata 76311 76311 0 0.0
.text 597032 597032 0 0.0
lock-mtd LP_CC2652R7 (read only) 660183 660183 0 0.0
(read/write) 183672 183672 0 0.0
.bss 73636 73636 0 0.0
.data 3312 3312 0 0.0
.rodata 102775 102775 0 0.0
.text 556928 556928 0 0.0
pump-app LP_CC2652R7 (read only) 686883 686883 0 0.0
(read/write) 162444 162444 0 0.0
.bss 78340 78340 0 0.0
.data 3276 3276 0 0.0
.rodata 90435 90435 0 0.0
.text 595968 595968 0 0.0
pump-controller-app LP_CC2652R7 (read only) 672315 672315 0 0.0
(read/write) 177124 177124 0 0.0
.bss 78452 78452 0 0.0
.data 3300 3300 0 0.0
.rodata 86515 86515 0 0.0
.text 585320 585320 0 0.0
shell LP_CC2652R7 (read only) 668022 668022 0 0.0
(read/write) 185296 185296 0 0.0
.bss 83012 83012 0 0.0
.data 3380 3380 0 0.0
.rodata 84254 84254 0 0.0
.text 583456 583456 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 583898 583898 0 0.0
.app_xip_area 460652 460652 0 0.0
.bss 65696 65696 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 587614 587614 0 0.0
.app_xip_area 459072 459072 0 0.0
.bss 70984 70984 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 549358 549358 0 0.0
.app_xip_area 431592 431592 0 0.0
.bss 60256 60256 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 972840 972840 0 0.0
.bss 146416 146416 0 0.0
.data 2196 2196 0 0.0
.text 824208 824208 0 0.0
BRD4161A+rs911x (read/write) 1037212 1037212 0 0.0
.bss 181632 181632 0 0.0
.data 2040 2040 0 0.0
.text 853520 853520 0 0.0
BRD4187C (read/write) 1149932 1149932 0 0.0
.bss 132916 132916 0 0.0
.data 2544 2544 0 0.0
.text 989876 989876 0 0.0
lock-app BRD4161A+wf200 (read/write) 1064836 1064836 0 0.0
.bss 153152 153152 0 0.0
.data 2048 2048 0 0.0
.text 909616 909616 0 0.0
window-app BRD4187C (read/write) 1144844 1144844 0 0.0
.bss 134428 134428 0 0.0
.data 2572 2572 0 0.0
.text 983248 983248 0 0.0
esp32 all-clusters-app c3devkit (read only) 1042098 1042098 0 0.0
(read/write) 1516178 1516178 0 0.0
.dram0.bss 76032 76032 0 0.0
.dram0.data 13792 13792 0 0.0
.flash.rodata 220136 220136 0 0.0
.flash.text 1042098 1042098 0 0.0
.iram0.text 72896 72896 0 0.0
m5stack (read only) 1094279 1094279 0 0.0
(read/write) 497823 497827 4 0.0
.dram0.bss 81080 81080 0 0.0
.dram0.data 34072 34072 0 0.0
.flash.rodata 248900 248904 4 0.0
.flash.text 1088895 1088895 0 0.0
.iram0.text 124855 124855 0 0.0
k32w contact k32w0+release (read/write) 659420 659420 0 0.0
.bss 76624 76624 0 0.0
.data 2112 2112 0 0.0
.text 561572 561572 0 0.0
light k32w0+release (read/write) 671420 671420 0 0.0
.bss 74408 74408 0 0.0
.data 2064 2064 0 0.0
.text 592220 592220 0 0.0
lock k32w0+release (read/write) 630800 630800 0 0.0
.bss 75176 75176 0 0.0
.data 2084 2084 0 0.0
.text 550812 550812 0 0.0
linux all-clusters-app debug (read only) 3154937 3154937 0 0.0
(read/write) 154864 154864 0 0.0
.bss 63744 63744 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 82248 82248 0 0.0
.dynamic 608 608 0 0.0
.got 4776 4776 0 0.0
.init 27 27 0 0.0
.init_array 1192 1192 0 0.0
.rodata 283659 283659 0 0.0
.text 2685858 2685858 0 0.0
all-clusters-minimal-app debug (read only) 2971209 2971209 0 0.0
(read/write) 148080 148080 0 0.0
.bss 62880 62880 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 76472 76472 0 0.0
.dynamic 608 608 0 0.0
.got 4688 4688 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 282379 282379 0 0.0
.text 2506738 2506738 0 0.0
bridge-app debug (read only) 2524825 2524825 0 0.0
(read/write) 132320 132320 0 0.0
.bss 53632 53632 0 0.0
.data 3632 3632 0 0.0
.data.rel.ro 68952 68952 0 0.0
.dynamic 608 608 0 0.0
.got 4616 4616 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 213920 213920 0 0.0
.text 2138514 2138514 0 0.0
chip-tool debug (read only) 11687793 11687793 0 0.0
(read/write) 655472 655472 0 0.0
.bss 26264 26264 0 0.0
.data 3042 3042 0 0.0
.data.rel.ro 619408 619408 0 0.0
.dynamic 608 608 0 0.0
.got 5352 5352 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 650341 650341 0 0.0
.text 9514436 9514436 0 0.0
chip-tool-ipv6only arm64 (read only) 11062220 11062220 0 0.0
(read/write) 704776 704776 0 0.0
.bss 34248 34248 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 648200 648200 0 0.0
.dynamic 560 560 0 0.0
.got 14120 14120 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 576284 576284 0 0.0
.text 8812980 8812980 0 0.0
lighting-app debug+rpc (read only) 2692257 2692257 0 0.0
(read/write) 131688 131688 0 0.0
.bss 51104 51104 0 0.0
.data 2288 2288 0 0.0
.data.rel.ro 72088 72088 0 0.0
.dynamic 608 608 0 0.0
.got 4648 4648 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 229856 229856 0 0.0
.text 2285042 2285042 0 0.0
lock-app debug (read only) 2655033 2655033 0 0.0
(read/write) 126736 126736 0 0.0
.bss 49536 49536 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 69064 69064 0 0.0
.dynamic 608 608 0 0.0
.got 4680 4680 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 246088 246088 0 0.0
.text 2236434 2236434 0 0.0
ota-provider-app debug (read only) 2225057 2225057 0 0.0
(read/write) 106480 106480 0 0.0
.bss 47712 47712 0 0.0
.data 2080 2080 0 0.0
.data.rel.ro 51560 51560 0 0.0
.dynamic 608 608 0 0.0
.got 3744 3744 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 197416 197416 0 0.0
.text 1887122 1887122 0 0.0
ota-requestor-app debug (read only) 2386569 2386569 0 0.0
(read/write) 114208 114208 0 0.0
.bss 50176 50176 0 0.0
.data 2480 2480 0 0.0
.data.rel.ro 56328 56328 0 0.0
.dynamic 608 608 0 0.0
.got 3744 3744 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 204400 204400 0 0.0
.text 2032626 2032626 0 0.0
shell debug (read only) 2684385 2684385 0 0.0
(read/write) 139360 139360 0 0.0
.bss 59144 59144 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 73128 73128 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 241746 241746 0 0.0
.text 2282194 2282194 0 0.0
thermostat-no-ble arm64 (read only) 2506620 2506620 0 0.0
(read/write) 144680 144680 0 0.0
.bss 56456 56456 0 0.0
.data 1824 1824 0 0.0
.data.rel.ro 76968 76968 0 0.0
.dynamic 560 560 0 0.0
.got 5392 5392 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 150856 150856 0 0.0
.text 2093936 2093936 0 0.0
tv-app debug (read only) 3314737 3314737 0 0.0
(read/write) 259568 259568 0 0.0
.bss 170872 170872 0 0.0
.data 3904 3904 0 0.0
.data.rel.ro 78096 78096 0 0.0
.dynamic 608 608 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 1072 1072 0 0.0
.rodata 270520 270520 0 0.0
.text 2849490 2849490 0 0.0
tv-casting-app debug (read only) 5699513 5699513 0 0.0
(read/write) 164568 164568 0 0.0
.bss 53496 53496 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 102520 102520 0 0.0
.dynamic 608 608 0 0.0
.got 4928 4928 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 365268 365268 0 0.0
.text 5048626 5048626 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2463256 2463256 0 0.0
.bss 215956 215956 0 0.0
.data 5880 5880 0 0.0
.text 1425900 1425900 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1160672 1160656 -16 -0.0
bss 143595 143595 0 0.0
rodata 133436 133436 0 0.0
text 803808 803804 -4 -0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1366012 1366012 0 0.0
bss 106054 106054 0 0.0
rodata 210876 210876 0 0.0
text 763564 763564 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1107048 1107048 0 0.0
bss 142751 142751 0 0.0
rodata 110580 110580 0 0.0
text 773880 773880 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 840808 840808 0 0.0
(read/write) 1755764 1755764 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189864 189864 0 0.0
.comment 200 200 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 2672 2672 0 0.0
.debug_abbrev 1251453 1251453 0 0.0
.debug_aranges 111280 111280 0 0.0
.debug_frame 373636 373636 0 0.0
.debug_info 27506003 27506004 1 0.0
.debug_line 3778996 3778996 0 0.0
.debug_loc 3673164 3673164 0 0.0
.debug_ranges 362248 362248 0 0.0
.debug_str 3485030 3485030 0 0.0
.heap 840808 840808 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 577246 577246 0 0.0
.symtab 424288 424288 0 0.0
.text 1554840 1554840 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 841624 841624 0 0.0
(read/write) 1697644 1697644 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189056 189056 0 0.0
.comment 200 200 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 1237164 1237164 0 0.0
.debug_aranges 110544 110544 0 0.0
.debug_frame 376080 376080 0 0.0
.debug_info 27063756 27063755 -1 -0.0
.debug_line 3787362 3787362 0 0.0
.debug_loc 3656895 3656895 0 0.0
.debug_ranges 360216 360216 0 0.0
.debug_str 3470783 3470783 0 0.0
.heap 841624 841624 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 538662 538662 0 0.0
.symtab 409728 409728 0 0.0
.text 1497536 1497536 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 849944 849944 0 0.0
(read/write) 1611196 1611196 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180936 180936 0 0.0
.comment 200 200 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 1072030 1072030 0 0.0
.debug_aranges 102800 102800 0 0.0
.debug_frame 346624 346624 0 0.0
.debug_info 22491179 22491179 0 0.0
.debug_line 3340167 3340167 0 0.0
.debug_loc 3336443 3336443 0 0.0
.debug_ranges 319440 319440 0 0.0
.debug_str 3274807 3274807 0 0.0
.heap 849944 849944 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 474072 474072 0 0.0
.symtab 377632 377632 0 0.0
.text 1419408 1419408 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 844960 844960 0 0.0
(read/write) 1645260 1645260 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 185912 185912 0 0.0
.comment 200 200 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 1073378 1073378 0 0.0
.debug_aranges 103184 103184 0 0.0
.debug_frame 348424 348424 0 0.0
.debug_info 22711838 22711838 0 0.0
.debug_line 3341897 3341897 0 0.0
.debug_loc 3358062 3358062 0 0.0
.debug_ranges 321296 321296 0 0.0
.debug_str 3291214 3291214 0 0.0
.heap 844960 844960 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 477007 477007 0 0.0
.symtab 379456 379456 0 0.0
.text 1448488 1448488 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1147688 1147688 0 0.0
.bss 99940 99940 0 0.0
.data 848 848 0 0.0
.text 594788 594788 0 0.0
lock-app qpg6105+debug (read/write) 1115408 1115408 0 0.0
.bss 96460 96460 0 0.0
.data 860 860 0 0.0
.text 562504 562504 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1015280 1015280 0 0.0
bss 98044 98044 0 0.0
text 685420 685420 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 951940 951940 0 0.0
bss 97092 97092 0 0.0
text 647800 647800 0 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 857388 857388 0 0.0
bss 89216 89216 0 0.0
text 578780 578778 -2 -0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 873168 873168 0 0.0
bss 89304 89304 0 0.0
text 592906 592902 -4 -0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 950492 950484 -8 -0.0
bss 97452 97452 0 0.0
text 658302 658300 -2 -0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 887328 887328 0 0.0
bss 90252 90252 0 0.0
text 604272 604272 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 877376 877376 0 0.0
bss 90692 90692 0 0.0
text 594478 594478 0 0.0

@pullapprove pullapprove bot requested a review from kcoppock February 13, 2023 14:36
@github-actions
Copy link

PR #24747: Size comparison from 36d2d4d to 03511e0

Increases (1 build for cc32xx)
platform target config section 36d2d4d 03511e0 change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20194443 20194444 1 0.0
Full report (1 build for cc32xx)
platform target config section 36d2d4d 03511e0 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 640233 640233 0 0.0
(read/write) 204084 204084 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197488 197488 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 928439 928439 0 0.0
.debug_aranges 87352 87352 0 0.0
.debug_frame 299840 299840 0 0.0
.debug_info 20194443 20194444 1 0.0
.debug_line 2649825 2649825 0 0.0
.debug_loc 2785969 2785969 0 0.0
.debug_ranges 280696 280696 0 0.0
.debug_str 3001474 3001474 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105585 105585 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375840 375840 0 0.0
.symtab 255856 255856 0 0.0
.text 532524 532524 0 0.0

@github-actions
Copy link

PR #24747: Size comparison from 36d2d4d to 7b31294

Increases (1 build for cc32xx)
platform target config section 36d2d4d 7b31294 change % change
cc32xx lock CC3235SF_LAUNCHXL (read only) 640233 640361 128 0.0
.debug_info 20194443 20194724 281 0.0
.debug_line 2649825 2649921 96 0.0
.debug_loc 2785969 2786017 48 0.0
.debug_ranges 280696 280728 32 0.0
.rodata 105585 105633 48 0.0
.text 532524 532604 80 0.0
Full report (1 build for cc32xx)
platform target config section 36d2d4d 7b31294 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 640233 640361 128 0.0
(read/write) 204084 204084 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197488 197488 0 0.0
.comment 194 194 0 0.0
.data 1476 1476 0 0.0
.debug_abbrev 928439 928439 0 0.0
.debug_aranges 87352 87352 0 0.0
.debug_frame 299840 299840 0 0.0
.debug_info 20194443 20194724 281 0.0
.debug_line 2649825 2649921 96 0.0
.debug_loc 2785969 2786017 48 0.0
.debug_ranges 280696 280728 32 0.0
.debug_str 3001474 3001474 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105585 105633 48 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 375840 375840 0 0.0
.symtab 255856 255856 0 0.0
.text 532524 532604 80 0.0

@pullapprove pullapprove bot requested a review from kkasperczyk-no February 16, 2023 15:26
@chirag-silabs chirag-silabs force-pushed the feature/siwx917_factory_data branch from 7b31294 to ee4b95d Compare February 20, 2023 12:56
@github-actions
Copy link

PR #24747: Size comparison from 04adc52 to 832132a

Decreases (1 build for cc32xx)
platform target config section 04adc52 832132a change % change
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20360287 20360286 -1 -0.0
Full report (4 builds for cc32xx, mbed, qpg)
platform target config section 04adc52 832132a change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642209 642209 0 0.0
(read/write) 203696 203696 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197096 197096 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 934242 934242 0 0.0
.debug_aranges 87448 87448 0 0.0
.debug_frame 300212 300212 0 0.0
.debug_info 20360287 20360286 -1 -0.0
.debug_line 2661052 2661052 0 0.0
.debug_loc 2797120 2797120 0 0.0
.debug_ranges 281744 281744 0 0.0
.debug_str 3019502 3019502 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105713 105713 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377379 377379 0 0.0
.symtab 256048 256048 0 0.0
.text 534376 534376 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2466552 2466552 0 0.0
.bss 215812 215812 0 0.0
.data 5880 5880 0 0.0
.text 1429196 1429196 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1150652 1150652 0 0.0
.bss 99820 99820 0 0.0
.data 852 852 0 0.0
.text 597748 597748 0 0.0
lock-app qpg6105+debug (read/write) 1118212 1118212 0 0.0
.bss 96316 96316 0 0.0
.data 864 864 0 0.0
.text 565312 565312 0 0.0

@chirag-silabs chirag-silabs force-pushed the feature/siwx917_factory_data branch from c4366bb to d5d73a6 Compare February 20, 2023 17:17
{
for (uint8_t i = 0; i < result1.size(); i++)
{
outBuf[i] = result1.at(i);
Copy link
Contributor

Choose a reason for hiding this comment

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

The lack of a length check here is pretty fragile, but ok.

Copy link
Contributor

Choose a reason for hiding this comment

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

Resolving to merge - platform owner approved this potential out of bounds access :/

Copy link
Contributor

Choose a reason for hiding this comment

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

Merged, now re-opening for visibility. The method should have taken a span as input to do bounds checking.

@github-actions
Copy link

PR #24747: Size comparison from e0e3225 to d5d73a6

Increases (3 builds for bl602, bl702)
platform target config section e0e3225 d5d73a6 change % change
bl602 lighting-app bl602 .text 1025598 1025600 2 0.0
bl702 lighting-app bl702 .debug_info 40596765 40596767 2 0.0
.text 954936 954940 4 0.0
bl702+rpc .debug_info 45009051 45009052 1 0.0
.text 1032346 1032348 2 0.0
Decreases (1 build for bl602)
platform target config section e0e3225 d5d73a6 change % change
bl602 lighting-app bl602+rpc .text 1056534 1056532 -2 -0.0
Full report (9 builds for bl602, bl702, cc32xx, linux, qpg)
platform target config section e0e3225 d5d73a6 change % change
bl602 lighting-app bl602 (read/write) 1349546 1349546 0 0.0
.bss 94682 94682 0 0.0
.data 9752 9752 0 0.0
.text 1025598 1025600 2 0.0
bl602+rpc (read/write) 1394986 1394986 0 0.0
.bss 102730 102730 0 0.0
.data 10144 10144 0 0.0
.text 1056534 1056532 -2 -0.0
bl702 lighting-app bl702 0 0 0 0.0
(read only) 3358 3358 0 0.0
(read/write) 1187891 1187891 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 69793 69793 0 0.0
.bss_psram 30064 30064 0 0.0
.comment 48 48 0 0.0
.data 4080 4080 0 0.0
.debug_abbrev 1552097 1552097 0 0.0
.debug_aranges 134352 134352 0 0.0
.debug_frame 492556 492556 0 0.0
.debug_info 40596765 40596767 2 0.0
.debug_line 5278717 5278717 0 0.0
.debug_loc 3417099 3417099 0 0.0
.debug_ranges 372040 372040 0 0.0
.debug_str 3575481 3575481 0 0.0
.hbn 536 536 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 107904 107904 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 573918 573918 0 0.0
.symtab 173568 173568 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 954936 954940 4 0.0
bl702+rpc 0 0 0 0.0
(read only) 3358 3358 0 0.0
(read/write) 1281023 1281023 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 292 292 0 0.0
.bss 77841 77841 0 0.0
.bss_psram 30320 30320 0 0.0
.comment 48 48 0 0.0
.data 4624 4624 0 0.0
.debug_abbrev 1700328 1700328 0 0.0
.debug_aranges 142592 142592 0 0.0
.debug_frame 520320 520320 0 0.0
.debug_info 45009051 45009052 1 0.0
.debug_line 5677651 5677651 0 0.0
.debug_loc 3614052 3614052 0 0.0
.debug_ranges 395816 395816 0 0.0
.debug_str 3979018 3979018 0 0.0
.hbn 536 536 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 122544 122544 0 0.0
.rsvd 2960 2960 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 634982 634982 0 0.0
.symtab 192032 192032 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3358 3358 0 0.0
.text 1032346 1032348 2 0.0
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642529 642529 0 0.0
(read/write) 203672 203672 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197072 197072 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930533 930533 0 0.0
.debug_aranges 87392 87392 0 0.0
.debug_frame 300100 300100 0 0.0
.debug_info 20256439 20256439 0 0.0
.debug_line 2656005 2656005 0 0.0
.debug_loc 2796891 2796891 0 0.0
.debug_ranges 281688 281688 0 0.0
.debug_str 3018892 3018892 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105817 105817 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377598 377598 0 0.0
.symtab 256144 256144 0 0.0
.text 534588 534588 0 0.0
linux chip-tool-ipv6only arm64 (read only) 12060932 12060932 0 0.0
(read/write) 729224 729224 0 0.0
.bss 34136 34136 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 671552 671552 0 0.0
.dynamic 560 560 0 0.0
.got 15328 15328 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 585780 585780 0 0.0
.text 9744596 9744596 0 0.0
thermostat-no-ble arm64 (read only) 2516460 2516460 0 0.0
(read/write) 145096 145096 0 0.0
.bss 56312 56312 0 0.0
.data 1832 1832 0 0.0
.data.rel.ro 77568 77568 0 0.0
.dynamic 560 560 0 0.0
.got 5336 5336 0 0.0
.init 24 24 0 0.0
.init_array 432 432 0 0.0
.rodata 151320 151320 0 0.0
.text 2102992 2102992 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1151348 1151348 0 0.0
.bss 99812 99812 0 0.0
.data 852 852 0 0.0
.text 598444 598444 0 0.0
lock-app qpg6105+debug (read/write) 1118348 1118348 0 0.0
.bss 96292 96292 0 0.0
.data 864 864 0 0.0
.text 565448 565448 0 0.0

@github-actions
Copy link

PR #24747: Size comparison from e0e3225 to 4ca4747

Increases (4 builds for cc32xx, mbed, qpg)
platform target config section e0e3225 4ca4747 change % change
cc32xx lock CC3235SF_LAUNCHXL (read only) 642529 642545 16 0.0
.debug_info 20256439 20256519 80 0.0
.debug_line 2656005 2656075 70 0.0
.debug_loc 2796891 2796964 73 0.0
.debug_ranges 281688 281712 24 0.0
.text 534588 534604 16 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read/write) 2466784 2466848 64 0.0
.text 1429428 1429492 64 0.0
qpg lighting-app qpg6105+debug (read/write) 1151348 1151356 8 0.0
.text 598444 598452 8 0.0
lock-app qpg6105+debug (read/write) 1118348 1118356 8 0.0
.text 565448 565456 8 0.0
Full report (4 builds for cc32xx, mbed, qpg)
platform target config section e0e3225 4ca4747 change % change
cc32xx lock CC3235SF_LAUNCHXL 0 0 0 0.0
(read only) 642529 642545 16 0.0
(read/write) 203672 203672 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197072 197072 0 0.0
.comment 194 194 0 0.0
.data 1480 1480 0 0.0
.debug_abbrev 930533 930533 0 0.0
.debug_aranges 87392 87392 0 0.0
.debug_frame 300100 300100 0 0.0
.debug_info 20256439 20256519 80 0.0
.debug_line 2656005 2656075 70 0.0
.debug_loc 2796891 2796964 73 0.0
.debug_ranges 281688 281712 24 0.0
.debug_str 3018892 3018892 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 105817 105817 0 0.0
.shstrtab 232 232 0 0.0
.stab 204 204 0 0.0
.stabstr 441 441 0 0.0
.stack 2048 2048 0 0.0
.strtab 377598 377598 0 0.0
.symtab 256144 256144 0 0.0
.text 534588 534604 16 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2466784 2466848 64 0.0
.bss 215788 215788 0 0.0
.data 5880 5880 0 0.0
.text 1429428 1429492 64 0.0
qpg lighting-app qpg6105+debug (read/write) 1151348 1151356 8 0.0
.bss 99812 99812 0 0.0
.data 852 852 0 0.0
.text 598444 598452 8 0.0
lock-app qpg6105+debug (read/write) 1118348 1118356 8 0.0
.bss 96292 96292 0 0.0
.data 864 864 0 0.0
.text 565448 565456 8 0.0

@andy31415 andy31415 merged commit 30188f5 into project-chip:master Feb 21, 2023
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
* Adding the temp logic for the factory device data provider for SiWx917

* Restyled by whitespace

* Added some comments

* restyling the PR

* Added the device config for other applications

* Restyled by clang-format

* Addressed review comments

* Setting the device config to default values and using static cast

* Restyled by whitespace

---------

Co-authored-by: Restyled.io <commits@restyled.io>
@rosahay-silabs rosahay-silabs deleted the feature/siwx917_factory_data branch May 15, 2023 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants