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

[Telink] Allow to erase entire NVS on factory reset by default; Fix IDM-7.1 test. #23676

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

s07641069
Copy link
Contributor

Problem

Commissioning Failed After Opening Multiple Commissioning Windows

Change overview

Allow to erase entire NVS on factory reset by default

Testing

Tested manually with chip-tool.
Steps:

  1. Use chip-tool to perform commissioning with operational dataset in Terminal 1 and ensure our Matter device joins the network.
    ./chip-tool pairing ble-thread 1 hex:${DATASET} ${PIN_CODE}

  2. In Terminal 1, use the following command to open a new ECM commissioning window:
    ./chip-tool pairing open-commissioning-window 1 1 400 2000 2001
    This command will also generate and print out a manual pairing code (16384853021). The code will be used in the next step.

  3. Open a new terminal 2. Perform commissioning and then open a new ECM Commissioning Window 2:
    ./chip-tool pairing code 2 16384853021 --commissioner-name beta
    ./chip-tool pairing open-commissioning-window 2 1 400 2000 2001 --commissioner-name beta
    It will generate a new manual pairing code (16260155555).

  4. Open a new terminal 3. Perform commissioning and then open a new ECM Commissioning Window 3:
    ./chip-tool pairing code 3 16260155555 --commissioner-name gamma
    ./chip-tool pairing open-commissioning-window 3 1 400 2000 2001 --commissioner-name gamma
    A new manual pairing code (15433908150).

  5. Open a new terminal 4. Perform commissioning and then open a new ECM Commissioning Window 4:
    ./chip-tool pairing code 4 15433908150 --commissioner-name 4
    ./chip-tool pairing open-commissioning-window 4 1 400 2000 2001 --commissioner-name 4
    A new manual pairing code (16322914702).

  6. Open a new terminal 5. Perform commissioning and then open a new ECM Commissioning Window 5:
    ./chip-tool pairing code 5 16322914702 --commissioner-name 5
    ./chip-tool pairing open-commissioning-window 5 1 400 2000 2001 --commissioner-name 5

  7. After opening 5 ECM commissioning windows, just press the key 1 to perform factory reset.

  8. Open a new terminal 6. Use chip-tool to perform commissioning with operational dataset in the new terminal.
    ./chip-tool pairing ble-thread 2 hex:${DATASET} ${PIN_CODE} 2001

@github-actions
Copy link

github-actions bot commented Nov 18, 2022

PR #23676: Size comparison from e241184 to 7ec2d54

Increases (8 builds for bl602, bl702, cc13x2_26x2, esp32, nrfconnect, psoc6)
platform target config section e241184 7ec2d54 change % change
bl602 lighting-app bl602 .text 1060700 1060702 2 0.0
bl602+rpc .text 1092196 1092198 2 0.0
bl702 lighting-app bl702 .debug_info 39174092 39174093 1 0.0
.text 956794 956796 2 0.0
bl702+rpc .debug_info 43445429 43445431 2 0.0
.text 1030796 1030800 4 0.0
cc13x2_26x2 shell LP_CC2652R7 (read only) 670318 670326 8 0.0
.text 583404 583412 8 0.0
esp32 all-clusters-app m5stack (read/write) 562540 562548 8 0.0
.flash.rodata 313520 313528 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 text 817986 817990 4 0.0
psoc6 lock cy8ckit_062s2_43012 .debug_info 22470606 22470607 1 0.0
Decreases (8 builds for cc13x2_26x2, psoc6, telink)
platform target config section e241184 7ec2d54 change % change
cc13x2_26x2 shell LP_CC2652R7 (read/write) 183536 183528 -8 -0.0
psoc6 all-clusters-minimal cy8ckit_062s2_43012 .debug_info 26771773 26771771 -2 -0.0
light cy8ckit_062s2_43012 .debug_info 22236982 22236981 -1 -0.0
telink all-clusters-app tlsr9518adk80d (read/write) 938400 938256 -144 -0.0
text 649686 649596 -90 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 876368 876232 -136 -0.0
text 613650 613562 -88 -0.0
light-switch-app tlsr9518adk80d (read/write) 791748 791604 -144 -0.0
text 555134 555044 -90 -0.0
lighting-app tlsr9518adk80d (read/write) 875972 875836 -136 -0.0
text 625098 625010 -88 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 806240 806096 -144 -0.0
text 566518 566424 -94 -0.0
Full report (51 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section e241184 7ec2d54 change % change
bl602 lighting-app bl602 (read/write) 1376890 1376890 0 0.0
.bss 90041 90041 0 0.0
.data 9984 9984 0 0.0
.text 1060700 1060702 2 0.0
bl602+rpc (read/write) 1422714 1422714 0 0.0
.bss 98081 98081 0 0.0
.data 10376 10376 0 0.0
.text 1092196 1092198 2 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1196535 1196535 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67166 67166 0 0.0
.bss_psram 30048 30048 0 0.0
.comment 48 48 0 0.0
.data 4048 4048 0 0.0
.debug_abbrev 1524418 1524418 0 0.0
.debug_aranges 132408 132408 0 0.0
.debug_frame 485636 485636 0 0.0
.debug_info 39174092 39174093 1 0.0
.debug_line 5275089 5275089 0 0.0
.debug_loc 3370197 3370197 0 0.0
.debug_ranges 360688 360688 0 0.0
.debug_str 3466584 3466584 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116616 116616 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 567670 567670 0 0.0
.symtab 172000 172000 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
956794 956796 2 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1285011 1285011 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75214 75214 0 0.0
.bss_psram 30320 30320 0 0.0
.comment 48 48 0 0.0
.data 4576 4576 0 0.0
.debug_abbrev 1668572 1668572 0 0.0
.debug_aranges 140504 140504 0 0.0
.debug_frame 512972 512972 0 0.0
.debug_info 43445429 43445431 2 0.0
.debug_line 5672098 5672098 0 0.0
.debug_loc 3564739 3564739 0 0.0
.debug_ranges 384112 384112 0 0.0
.debug_str 3864181 3864181 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130280 130280 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 627990 627990 0 0.0
.symtab 190160 190160 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030796 1030800 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 679091 679091 0 0.0
(read/write) 172444 172444 0 0.0
.bss 81228 81228 0 0.0
.data 3380 3380 0 0.0
.rodata 89851 89851 0 0.0
.text 588928 588928 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 643371 643371 0 0.0
(read/write) 157996 157996 0 0.0
.bss 80500 80500 0 0.0
.data 3380 3380 0 0.0
.rodata 78987 78987 0 0.0
.text 564064 564064 0 0.0
lock-ftd LP_CC2652R7 (read only) 677151 677151 0 0.0
(read/write) 171952 171952 0 0.0
.bss 78884 78884 0 0.0
.data 3304 3304 0 0.0
.rodata 77271 77271 0 0.0
.text 599400 599400 0 0.0
lock-mtd LP_CC2652R7 (read only) 661843 661843 0 0.0
(read/write) 182516 182516 0 0.0
.bss 74140 74140 0 0.0
.data 3304 3304 0 0.0
.rodata 103355 103355 0 0.0
.text 558008 558008 0 0.0
pump-app LP_CC2652R7 (read only) 689687 689687 0 0.0
(read/write) 160152 160152 0 0.0
.bss 78852 78852 0 0.0
.data 3296 3296 0 0.0
.rodata 90799 90799 0 0.0
.text 598404 598404 0 0.0
pump-controller-app LP_CC2652R7 (read only) 673963 673963 0 0.0
(read/write) 175972 175972 0 0.0
.bss 78948 78948 0 0.0
.data 3292 3292 0 0.0
.rodata 86347 86347 0 0.0
.text 587136 587136 0 0.0
shell LP_CC2652R7 (read only) 670318 670326 8 0.0
(read/write) 183536 183528 -8 -0.0
.bss 83548 83548 0 0.0
.data 3376 3376 0 0.0
.rodata 86598 86598 0 0.0
.text 583404 583412 8 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 588078 588078 0 0.0
.app_xip_area 464288 464288 0 0.0
.bss 66208 66208 0 0.0
.data 728 728 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592178 592178 0 0.0
.app_xip_area 463092 463092 0 0.0
.bss 71496 71496 0 0.0
.data 736 736 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 544650 544650 0 0.0
.app_xip_area 426380 426380 0 0.0
.bss 60736 60736 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rpc (read/write) 975204 975204 0 0.0
.bss 152260 152260 0 0.0
.data 2168 2168 0 0.0
.text 820756 820756 0 0.0
BRD4161A+rs911x (read/write) 1036088 1036088 0 0.0
.bss 186736 186736 0 0.0
.data 2012 2012 0 0.0
.text 847316 847316 0 0.0
BRD4187C (read/write) 1147912 1147912 0 0.0
.bss 138656 138656 0 0.0
.data 2516 2516 0 0.0
.text 982144 982144 0 0.0
lock-app BRD4161A+wf200 (read/write) 1161200 1161200 0 0.0
.bss 158264 158264 0 0.0
.data 2020 2020 0 0.0
.text 1000892 1000892 0 0.0
window-app BRD4187C (read/write) 1141132 1141132 0 0.0
.bss 140072 140072 0 0.0
.data 2540 2540 0 0.0
.text 973924 973924 0 0.0
esp32 all-clusters-app c3devkit (read only) 1214172 1214172 0 0.0
(read/write) 1786582 1786582 0 0.0
.dram0.bss 76680 76680 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 256408 256408 0 0.0
.flash.text 1214172 1214172 0 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1224991 1224991 0 0.0
(read/write) 562540 562548 8 0.0
.dram0.bss 82056 82056 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 313520 313528 8 0.0
.flash.text 1219607 1219607 0 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 662692 662692 0 0.0
.bss 77112 77112 0 0.0
.data 2104 2104 0 0.0
.text 564364 564364 0 0.0
light k32w0+release (read/write) 672768 672768 0 0.0
.bss 74912 74912 0 0.0
.data 2060 2060 0 0.0
.text 593068 593068 0 0.0
lock k32w0+release (read/write) 634252 634252 0 0.0
.bss 75672 75672 0 0.0
.data 2080 2080 0 0.0
.text 553772 553772 0 0.0
linux all-clusters-app debug (read only) 3080793 3080793 0 0.0
(read/write) 158472 158472 0 0.0
.bss 62464 62464 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 87144 87144 0 0.0
.dynamic 608 608 0 0.0
.got 4768 4768 0 0.0
.init 27 27 0 0.0
.init_array 1184 1184 0 0.0
.rodata 281355 281355 0 0.0
.text 2614946 2614946 0 0.0
all-clusters-minimal-app debug (read only) 2906441 2906441 0 0.0
(read/write) 149872 149872 0 0.0
.bss 61664 61664 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 79512 79512 0 0.0
.dynamic 608 608 0 0.0
.got 4680 4680 0 0.0
.init 27 27 0 0.0
.init_array 1160 1160 0 0.0
.rodata 280843 280843 0 0.0
.text 2444146 2444146 0 0.0
bridge-app debug+rpc (read only) 2403729 2403729 0 0.0
(read/write) 129608 129608 0 0.0
.bss 51008 51008 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 68776 68776 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 211008 211008 0 0.0
.text 2025362 2025362 0 0.0
chip-tool debug (read only) 11082273 11082273 0 0.0
(read/write) 659456 659456 0 0.0
.bss 25912 25912 0 0.0
.data 2754 2754 0 0.0
.data.rel.ro 624176 624176 0 0.0
.dynamic 608 608 0 0.0
.got 5184 5184 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 593061 593061 0 0.0
.text 8963204 8963204 0 0.0
chip-tool-ipv6only arm64 (read only) 10435084 10435084 0 0.0
(read/write) 707505 707505 0 0.0
.bss 33905 33905 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 651808 651808 0 0.0
.dynamic 560 560 0 0.0
.got 13936 13936 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 519244 519244 0 0.0
.text 8257716 8257716 0 0.0
lighting-app debug+rpc (read only) 2636625 2636625 0 0.0
(read/write) 132456 132456 0 0.0
.bss 49984 49984 0 0.0
.data 2288 2288 0 0.0
.data.rel.ro 73992 73992 0 0.0
.dynamic 608 608 0 0.0
.got 4632 4632 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 227936 227936 0 0.0
.text 2231986 2231986 0 0.0
lock-app debug (read only) 2595817 2595817 0 0.0
(read/write) 127376 127376 0 0.0
.bss 48416 48416 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 70840 70840 0 0.0
.dynamic 608 608 0 0.0
.got 4664 4664 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 244232 244232 0 0.0
.text 2179874 2179874 0 0.0
ota-provider-app debug (read only) 2390209 2390209 0 0.0
(read/write) 120904 120904 0 0.0
.bss 47936 47936 0 0.0
.data 2128 2128 0 0.0
.data.rel.ro 64760 64760 0 0.0
.dynamic 608 608 0 0.0
.got 4680 4680 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 216712 216712 0 0.0
.text 2004946 2004946 0 0.0
ota-requestor-app debug (read only) 2556993 2556993 0 0.0
(read/write) 129248 129248 0 0.0
.bss 50464 50464 0 0.0
.data 2496 2496 0 0.0
.data.rel.ro 70120 70120 0 0.0
.dynamic 608 608 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 856 856 0 0.0
.rodata 223760 223760 0 0.0
.text 2155586 2155586 0 0.0
shell debug (read only) 2616289 2616289 0 0.0
(read/write) 142968 142968 0 0.0
.bss 57864 57864 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 78040 78040 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 239602 239602 0 0.0
.text 2217170 2217170 0 0.0
thermostat-no-ble arm64 (read only) 2386932 2386932 0 0.0
(read/write) 143665 143665 0 0.0
.bss 55329 55329 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77256 77256 0 0.0
.dynamic 560 560 0 0.0
.got 5192 5192 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 145036 145036 0 0.0
.text 1998000 1998000 0 0.0
tv-app debug (read only) 3248209 3248209 0 0.0
(read/write) 261992 261992 0 0.0
.bss 170648 170648 0 0.0
.data 4256 4256 0 0.0
.data.rel.ro 80384 80384 0 0.0
.dynamic 608 608 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 268600 268600 0 0.0
.text 2785618 2785618 0 0.0
tv-casting-app debug (read only) 5574273 5574273 0 0.0
(read/write) 161880 161880 0 0.0
.bss 52120 52120 0 0.0
.data 1936 1936 0 0.0
.data.rel.ro 101216 101216 0 0.0
.dynamic 608 608 0 0.0
.got 4912 4912 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 355385 355385 0 0.0
.text 4943218 4943218 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2453456 2453456 0 0.0
.bss 215012 215012 0 0.0
.data 5872 5872 0 0.0
.text 1416100 1416100 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1189075 1189075 0 0.0
bss 145285 145285 0 0.0
rodata 144728 144728 0 0.0
text 817986 817990 4 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1168475 1168475 0 0.0
bss 144512 144512 0 0.0
rodata 136520 136520 0 0.0
text 806512 806512 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841968 841968 0 0.0
(read/write) 1747596 1747596 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188712 188712 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1235974 1235974 0 0.0
.debug_aranges 110768 110768 0 0.0
.debug_frame 371568 371568 0 0.0
.debug_info 27035141 27035141 0 0.0
.debug_line 3689322 3689322 0 0.0
.debug_loc 3609823 3609823 0 0.0
.debug_ranges 340456 340456 0 0.0
.debug_str 3435952 3435952 0 0.0
.heap 841968 841968 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 571307 571307 0 0.0
.symtab 421760 421760 0 0.0
.text 1547832 1547832 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842704 842704 0 0.0
(read/write) 1690108 1690108 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187976 187976 0 0.0
.comment 204 204 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2664 2664 0 0.0
.debug_abbrev 1227817 1227817 0 0.0
.debug_aranges 110240 110240 0 0.0
.debug_frame 374648 374648 0 0.0
.debug_info 26771773 26771771 -2 -0.0
.debug_line 3710314 3710314 0 0.0
.debug_loc 3597429 3597429 0 0.0
.debug_ranges 339072 339072 0 0.0
.debug_str 3424972 3424972 0 0.0
.heap 842704 842704 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 535396 535396 0 0.0
.symtab 408192 408192 0 0.0
.text 1491080 1491080 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850888 850888 0 0.0
(read/write) 1608284 1608284 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 180000 180000 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 1062278 1062278 0 0.0
.debug_aranges 102440 102440 0 0.0
.debug_frame 344960 344960 0 0.0
.debug_info 22236982 22236981 -1 -0.0
.debug_line 3279427 3279427 0 0.0
.debug_loc 3294884 3294884 0 0.0
.debug_ranges 304352 304352 0 0.0
.debug_str 3230550 3230550 0 0.0
.heap 850888 850888 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 471721 471721 0 0.0
.symtab 376560 376560 0 0.0
.text 1417440 1417440 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845896 845896 0 0.0
(read/write) 1642308 1642308 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184976 184976 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 1064253 1064253 0 0.0
.debug_aranges 102840 102840 0 0.0
.debug_frame 346836 346836 0 0.0
.debug_info 22470606 22470607 1 0.0
.debug_line 3276544 3276544 0 0.0
.debug_loc 3322752 3322752 0 0.0
.debug_ranges 306312 306312 0 0.0
.debug_str 3249907 3249907 0 0.0
.heap 845896 845896 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 474124 474124 0 0.0
.symtab 378256 378256 0 0.0
.text 1446472 1446472 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1151712 1151712 0 0.0
.bss 111116 111116 0 0.0
.data 848 848 0 0.0
.text 598812 598812 0 0.0
lock-app qpg6105+debug (read/write) 1117488 1117488 0 0.0
.bss 106564 106564 0 0.0
.data 836 836 0 0.0
.text 564584 564584 0 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 938400 938256 -144 -0.0
bss 81620 81620 0 0.0
noinit 43440 43440 0 0.0
text 649686 649596 -90 -0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 876368 876232 -136 -0.0
bss 80844 80844 0 0.0
noinit 43440 43440 0 0.0
text 613650 613562 -88 -0.0
light-switch-app tlsr9518adk80d (read/write) 791748 791604 -144 -0.0
bss 72468 72468 0 0.0
noinit 43520 43520 0 0.0
text 555134 555044 -90 -0.0
lighting-app tlsr9518adk80d (read/write) 875972 875836 -136 -0.0
bss 82232 82232 0 0.0
noinit 43520 43520 0 0.0
text 625098 625010 -88 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 806240 806096 -144 -0.0
bss 74040 74040 0 0.0
noinit 43520 43520 0 0.0
text 566518 566424 -94 -0.0

@andy31415 andy31415 merged commit 565f629 into project-chip:master Nov 23, 2022
@s07641069 s07641069 deleted the telink_erase_entire_NVS_FR branch November 24, 2022 08:45
andy31415 pushed a commit that referenced this pull request Nov 24, 2022
…DM-7.1 test. (Cherry-pick #23434 & #23676) (#23677)

* [Zephyr] Allow to erase entire NVS on factory reset (#23434)

* [Zephyr] Allow to erase entire NVS on factory reset

Currently, the default factory reset implementation simply
removes Matter (and OpenThread) settings instead of
formatting the non-volatile storage partition. The latter
approach may be advisable in the cases where no settings
need to survive a factory reset, as it is expected to work
properly regardless of the state of the storage partition.
Additionally, it will regain the original storage
performance if it has been loaded with a lot of stale data.

Signed-off-by: Damian Krolik <[email protected]>

* [Telink] Allow to erase entire NVS on factory reset by default; Fix IDM-7.1 test.

Signed-off-by: Damian Krolik <[email protected]>
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.

3 participants