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

[Mbed] Fix WiFi provisioning #11982

Merged
merged 3 commits into from
Nov 22, 2021

Conversation

ATmobica
Copy link
Contributor

Problem

The WiFi provisioning with the device controller stops working for Mbed examples. After checking some internal improvements were needed.

Change overview

Update mbed-os-posix-socket lib
Improve get default network interface in ConfigurationManagerImpl and ConnectivityManagerImpl
Increase session establishment timeout in CHIPDeviceController to 40s - for Mbed examples it takes more time to establish a new session.

Testing

Build and run lock-app and lighting-app examples manually. Provisioning WiFi using Python device controller app

@github-actions
Copy link

github-actions bot commented Nov 18, 2021

PR #11982: Size comparison from ef6455d to 5d38fc1

Increases (4 builds for mbed)
platform target config section ef6455d 5d38fc1 change % change
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2287616 2287624 8 0.0
.bss 179284 179292 8 0.0
.text 1250216 1250224 8 0.0
lighting-app CY8CPROTO_062_4343W+release .bss 172148 172156 8 0.0
lock-app CY8CPROTO_062_4343W+release .bss 171036 171044 8 0.0
shell CY8CPROTO_062_4343W+release .bss 156224 156232 8 0.0
Decreases (4 builds for mbed)
platform target config section ef6455d 5d38fc1 change % change
mbed all-clusters-app CY8CPROTO_062_4343W+release .heap 851944 851936 -8 -0.0
lighting-app CY8CPROTO_062_4343W+release .heap 858720 858712 -8 -0.0
lock-app CY8CPROTO_062_4343W+release .heap 859840 859832 -8 -0.0
shell CY8CPROTO_062_4343W+release (read/write) 2050480 2050416 -64 -0.0
.heap 875256 875248 -8 -0.0
.text 1013080 1013016 -64 -0.0
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section ef6455d 5d38fc1 change % change
efr32 lighting-app BRD4161A (read only) 749928 749928 0 0.0
(read/write) 115540 115540 0 0.0
.bss 113740 113740 0 0.0
.data 1800 1800 0 0.0
.text 749920 749920 0 0.0
BRD4161A+rpc (read only) 737468 737468 0 0.0
(read/write) 132168 132168 0 0.0
.bss 130244 130244 0 0.0
.data 1924 1924 0 0.0
.text 737460 737460 0 0.0
lock-app BRD4161A (read only) 726984 726984 0 0.0
(read/write) 113324 113324 0 0.0
.bss 111564 111564 0 0.0
.data 1756 1756 0 0.0
.text 726976 726976 0 0.0
window-app BRD4161A (read only) 727968 727968 0 0.0
(read/write) 113644 113644 0 0.0
.bss 111884 111884 0 0.0
.data 1760 1760 0 0.0
.text 727960 727960 0 0.0
esp32 all-clusters-app c3devkit (read only) 828536 828536 0 0.0
(read/write) 1220178 1220178 0 0.0
.dram0.bss 56688 56688 0 0.0
.dram0.data 14084 14084 0 0.0
.flash.rodata 164152 164152 0 0.0
.flash.text 828536 828536 0 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 899555 899555 0 0.0
(read/write) 419492 419492 0 0.0
.dram0.bss 62040 62040 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 192116 192116 0 0.0
.flash.text 894171 894171 0 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 706840 706840 0 0.0
.bss 77164 77164 0 0.0
.data 1912 1912 0 0.0
.text 621964 621964 0 0.0
lock-app k32w061+debug (read/write) 598280 598280 0 0.0
.bss 67676 67676 0 0.0
.data 1880 1880 0 0.0
.text 522924 522924 0 0.0
shell k32w061+debug (read/write) 663624 663624 0 0.0
.bss 78804 78804 0 0.0
.data 1848 1848 0 0.0
.text 577172 577172 0 0.0
linux all-clusters-app debug (read only) 1726009 1726009 0 0.0
(read/write) 126816 126816 0 0.0
.bss 57392 57392 0 0.0
.data 1042 1042 0 0.0
.data.rel.ro 63088 63088 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 136661 136661 0 0.0
.text 1455394 1455394 0 0.0
bridge-app debug+rpc (read only) 1321037 1321037 0 0.0
(read/write) 77008 77008 0 0.0
.bss 42096 42096 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 28352 28352 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 111932 111932 0 0.0
.text 1111701 1111701 0 0.0
chip-tool debug (read only) 4985917 4985917 0 0.0
(read/write) 166888 166888 0 0.0
.bss 40456 40456 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 118672 118672 0 0.0
.dynamic 592 592 0 0.0
.got 4416 4416 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 268458 268458 0 0.0
.text 4406949 4406949 0 0.0
lighting-app debug+rpc (read only) 1590161 1590161 0 0.0
(read/write) 110224 110224 0 0.0
.bss 47760 47760 0 0.0
.data 1234 1234 0 0.0
.data.rel.ro 55920 55920 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 129553 129553 0 0.0
.text 1325602 1325602 0 0.0
ota-provider-app debug (read only) 1268601 1268601 0 0.0
(read/write) 75656 75656 0 0.0
.bss 44704 44704 0 0.0
.data 784 784 0 0.0
.data.rel.ro 25080 25080 0 0.0
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 113951 113951 0 0.0
.text 1057058 1057058 0 0.0
ota-requestor-app debug (read only) 1354337 1354337 0 0.0
(read/write) 79392 79392 0 0.0
.bss 47168 47168 0 0.0
.data 848 848 0 0.0
.data.rel.ro 26280 26280 0 0.0
.dynamic 592 592 0 0.0
.got 3992 3992 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 124968 124968 0 0.0
.text 1129394 1129394 0 0.0
shell debug (read only) 798801 798801 0 0.0
(read/write) 66440 66440 0 0.0
.bss 23944 23944 0 0.0
.data 242 242 0 0.0
.data.rel.ro 37752 37752 0 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 78703 78703 0 0.0
.text 616082 616082 0 0.0
tv-app debug (read only) 1872657 1872657 0 0.0
(read/write) 318968 318968 0 0.0
.bss 250376 250376 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 60144 60144 0 0.0
.dynamic 592 592 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 157893 157893 0 0.0
.text 1569634 1569634 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2287616 2287624 8 0.0
.bss 179284 179292 8 0.0
.data 5216 5216 0 0.0
.heap 851944 851936 -8 -0.0
.text 1250216 1250224 8 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2273552 2273552 0 0.0
.bss 172148 172156 8 0.0
.data 5576 5576 0 0.0
.heap 858720 858712 -8 -0.0
.text 1236152 1236152 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2249392 2249392 0 0.0
.bss 171036 171044 8 0.0
.data 5568 5568 0 0.0
.heap 859840 859832 -8 -0.0
.text 1211992 1211992 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2050480 2050416 -64 -0.0
.bss 156224 156232 8 0.0
.data 4968 4968 0 0.0
.heap 875256 875248 -8 -0.0
.text 1013080 1013016 -64 -0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 864563 864563 0 0.0
bss 110560 110560 0 0.0
rodata 95828 95828 0 0.0
text 582568 582568 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 826963 826963 0 0.0
bss 106916 106916 0 0.0
rodata 87012 87012 0 0.0
text 556736 556736 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 789618 789618 0 0.0
bss 111936 111936 0 0.0
rodata 91084 91084 0 0.0
text 512040 512040 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 839995 839995 0 0.0
bss 109584 109584 0 0.0
rodata 92300 92300 0 0.0
text 562660 562660 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765282 765282 0 0.0
bss 110996 110996 0 0.0
rodata 87604 87604 0 0.0
text 492224 492224 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497327 497327 0 0.0
bss 51824 51824 0 0.0
rodata 45780 45780 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 846103 846103 0 0.0
bss 109724 109724 0 0.0
rodata 94008 94008 0 0.0
text 566844 566844 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 839695 839695 0 0.0
bss 109620 109620 0 0.0
rodata 92256 92256 0 0.0
text 562280 562280 0 0.0
shell nrf52840dk_nrf52840 (read/write) 777971 777971 0 0.0
bss 109068 109068 0 0.0
rodata 73064 73064 0 0.0
text 521236 521236 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 693026 693026 0 0.0
bss 110052 110052 0 0.0
rodata 67708 67708 0 0.0
text 441848 441848 0 0.0
p6 all-clusters-app default (read/write) 2297936 2297936 0 0.0
.bss 112272 112272 0 0.0
.data 2520 2520 0 0.0
.heap 918552 918552 0 0.0
.text 1256200 1256200 0 0.0
lock-app default (read/write) 2215424 2215424 0 0.0
.bss 100896 100896 0 0.0
.data 2400 2400 0 0.0
.heap 930048 930048 0 0.0
.text 1173688 1173688 0 0.0
qpg lighting-app qpg6100+debug (read only) 493688 493688 0 0.0
(read/write) 114144 114144 0 0.0
.bss 50208 50208 0 0.0
.data 1008 1008 0 0.0
.text 488368 488368 0 0.0
lock-app qpg6100+debug (read only) 468652 468652 0 0.0
(read/write) 114140 114140 0 0.0
.bss 49152 49152 0 0.0
.data 964 964 0 0.0
.text 463332 463332 0 0.0
persistent-storage-app qpg6100+debug (read only) 105408 105408 0 0.0
(read/write) 114142 114142 0 0.0
.bss 8978 8978 0 0.0
.data 272 272 0 0.0
.text 100088 100088 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 767986 767986 0 0.0
bss 79072 79072 0 0.0
noinit 37160 37160 0 0.0
text 533170 533170 0 0.0

@github-actions
Copy link

github-actions bot commented Nov 19, 2021

PR #11982: Size comparison from ebadd33 to 924dcf9

Increases (4 builds for mbed)
platform target config section ebadd33 924dcf9 change % change
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2287616 2287624 8 0.0
.bss 179284 179292 8 0.0
.text 1250216 1250224 8 0.0
lighting-app CY8CPROTO_062_4343W+release .bss 172148 172156 8 0.0
lock-app CY8CPROTO_062_4343W+release .bss 171036 171044 8 0.0
shell CY8CPROTO_062_4343W+release .bss 156224 156232 8 0.0
Decreases (4 builds for mbed)
platform target config section ebadd33 924dcf9 change % change
mbed all-clusters-app CY8CPROTO_062_4343W+release .heap 851944 851936 -8 -0.0
lighting-app CY8CPROTO_062_4343W+release .heap 858720 858712 -8 -0.0
lock-app CY8CPROTO_062_4343W+release .heap 859840 859832 -8 -0.0
shell CY8CPROTO_062_4343W+release (read/write) 2050480 2050416 -64 -0.0
.heap 875256 875248 -8 -0.0
.text 1013080 1013016 -64 -0.0
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section ebadd33 924dcf9 change % change
efr32 lighting-app BRD4161A (read only) 749960 749960 0 0.0
(read/write) 115540 115540 0 0.0
.bss 113740 113740 0 0.0
.data 1800 1800 0 0.0
.text 749952 749952 0 0.0
BRD4161A+rpc (read only) 737484 737484 0 0.0
(read/write) 132168 132168 0 0.0
.bss 130244 130244 0 0.0
.data 1924 1924 0 0.0
.text 737476 737476 0 0.0
lock-app BRD4161A (read only) 727016 727016 0 0.0
(read/write) 113324 113324 0 0.0
.bss 111564 111564 0 0.0
.data 1756 1756 0 0.0
.text 727008 727008 0 0.0
window-app BRD4161A (read only) 728000 728000 0 0.0
(read/write) 113644 113644 0 0.0
.bss 111884 111884 0 0.0
.data 1760 1760 0 0.0
.text 727992 727992 0 0.0
esp32 all-clusters-app c3devkit (read only) 828538 828538 0 0.0
(read/write) 1220178 1220178 0 0.0
.dram0.bss 56688 56688 0 0.0
.dram0.data 14084 14084 0 0.0
.flash.rodata 164152 164152 0 0.0
.flash.text 828538 828538 0 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 899595 899595 0 0.0
(read/write) 419492 419492 0 0.0
.dram0.bss 62040 62040 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 192116 192116 0 0.0
.flash.text 894211 894211 0 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 706872 706872 0 0.0
.bss 77164 77164 0 0.0
.data 1912 1912 0 0.0
.text 621996 621996 0 0.0
lock-app k32w061+debug (read/write) 598312 598312 0 0.0
.bss 67676 67676 0 0.0
.data 1880 1880 0 0.0
.text 522956 522956 0 0.0
shell k32w061+debug (read/write) 663656 663656 0 0.0
.bss 78804 78804 0 0.0
.data 1848 1848 0 0.0
.text 577204 577204 0 0.0
linux all-clusters-app debug (read only) 1726153 1726153 0 0.0
(read/write) 126816 126816 0 0.0
.bss 57392 57392 0 0.0
.data 1042 1042 0 0.0
.data.rel.ro 63088 63088 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 136661 136661 0 0.0
.text 1455538 1455538 0 0.0
bridge-app debug+rpc (read only) 1321181 1321181 0 0.0
(read/write) 77008 77008 0 0.0
.bss 42096 42096 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 28352 28352 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 111932 111932 0 0.0
.text 1111845 1111845 0 0.0
chip-tool debug (read only) 4986061 4986061 0 0.0
(read/write) 166888 166888 0 0.0
.bss 40456 40456 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 118672 118672 0 0.0
.dynamic 592 592 0 0.0
.got 4416 4416 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 268458 268458 0 0.0
.text 4407093 4407093 0 0.0
lighting-app debug+rpc (read only) 1590289 1590289 0 0.0
(read/write) 110224 110224 0 0.0
.bss 47760 47760 0 0.0
.data 1234 1234 0 0.0
.data.rel.ro 55920 55920 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 129553 129553 0 0.0
.text 1325730 1325730 0 0.0
ota-provider-app debug (read only) 1268729 1268729 0 0.0
(read/write) 75656 75656 0 0.0
.bss 44704 44704 0 0.0
.data 784 784 0 0.0
.data.rel.ro 25080 25080 0 0.0
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 113951 113951 0 0.0
.text 1057186 1057186 0 0.0
ota-requestor-app debug (read only) 1354465 1354465 0 0.0
(read/write) 79392 79392 0 0.0
.bss 47168 47168 0 0.0
.data 848 848 0 0.0
.data.rel.ro 26280 26280 0 0.0
.dynamic 592 592 0 0.0
.got 3992 3992 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 124968 124968 0 0.0
.text 1129522 1129522 0 0.0
shell debug (read only) 798801 798801 0 0.0
(read/write) 66440 66440 0 0.0
.bss 23944 23944 0 0.0
.data 242 242 0 0.0
.data.rel.ro 37752 37752 0 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 78703 78703 0 0.0
.text 616082 616082 0 0.0
tv-app debug (read only) 1872785 1872785 0 0.0
(read/write) 318968 318968 0 0.0
.bss 250376 250376 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 60144 60144 0 0.0
.dynamic 592 592 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 157893 157893 0 0.0
.text 1569762 1569762 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2287616 2287624 8 0.0
.bss 179284 179292 8 0.0
.data 5216 5216 0 0.0
.heap 851944 851936 -8 -0.0
.text 1250216 1250224 8 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2273552 2273552 0 0.0
.bss 172148 172156 8 0.0
.data 5576 5576 0 0.0
.heap 858720 858712 -8 -0.0
.text 1236152 1236152 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2249456 2249456 0 0.0
.bss 171036 171044 8 0.0
.data 5568 5568 0 0.0
.heap 859840 859832 -8 -0.0
.text 1212056 1212056 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2050480 2050416 -64 -0.0
.bss 156224 156232 8 0.0
.data 4968 4968 0 0.0
.heap 875256 875248 -8 -0.0
.text 1013080 1013016 -64 -0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 864595 864595 0 0.0
bss 110560 110560 0 0.0
rodata 95828 95828 0 0.0
text 582604 582604 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 826995 826995 0 0.0
bss 106916 106916 0 0.0
rodata 87012 87012 0 0.0
text 556772 556772 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 789650 789650 0 0.0
bss 111936 111936 0 0.0
rodata 91084 91084 0 0.0
text 512076 512076 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840027 840027 0 0.0
bss 109584 109584 0 0.0
rodata 92300 92300 0 0.0
text 562696 562696 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765330 765330 0 0.0
bss 110996 110996 0 0.0
rodata 87604 87604 0 0.0
text 492260 492260 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497327 497327 0 0.0
bss 51824 51824 0 0.0
rodata 45780 45780 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 846135 846135 0 0.0
bss 109724 109724 0 0.0
rodata 94008 94008 0 0.0
text 566880 566880 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 839727 839727 0 0.0
bss 109620 109620 0 0.0
rodata 92256 92256 0 0.0
text 562316 562316 0 0.0
shell nrf52840dk_nrf52840 (read/write) 777971 777971 0 0.0
bss 109068 109068 0 0.0
rodata 73064 73064 0 0.0
text 521236 521236 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 693026 693026 0 0.0
bss 110052 110052 0 0.0
rodata 67708 67708 0 0.0
text 441848 441848 0 0.0
p6 all-clusters-app default (read/write) 2297968 2297968 0 0.0
.bss 112272 112272 0 0.0
.data 2520 2520 0 0.0
.heap 918552 918552 0 0.0
.text 1256232 1256232 0 0.0
lock-app default (read/write) 2215456 2215456 0 0.0
.bss 100896 100896 0 0.0
.data 2400 2400 0 0.0
.heap 930048 930048 0 0.0
.text 1173720 1173720 0 0.0
qpg lighting-app qpg6100+debug (read only) 493688 493688 0 0.0
(read/write) 114144 114144 0 0.0
.bss 50208 50208 0 0.0
.data 1008 1008 0 0.0
.text 488368 488368 0 0.0
lock-app qpg6100+debug (read only) 468652 468652 0 0.0
(read/write) 114140 114140 0 0.0
.bss 49152 49152 0 0.0
.data 964 964 0 0.0
.text 463332 463332 0 0.0
persistent-storage-app qpg6100+debug (read only) 105408 105408 0 0.0
(read/write) 114142 114142 0 0.0
.bss 8978 8978 0 0.0
.data 272 272 0 0.0
.text 100088 100088 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 768010 768010 0 0.0
bss 79072 79072 0 0.0
noinit 37160 37160 0 0.0
text 533194 533194 0 0.0

@github-actions
Copy link

github-actions bot commented Nov 19, 2021

PR #11982: Size comparison from dcca930 to 66b2eb0

Increases (4 builds for mbed)
platform target config section dcca930 66b2eb0 change % change
mbed all-clusters-app CY8CPROTO_062_4343W+release (read/write) 2288000 2288072 72 0.0
.bss 179284 179292 8 0.0
.text 1250600 1250672 72 0.0
lighting-app CY8CPROTO_062_4343W+release (read/write) 2273936 2274000 64 0.0
.bss 172148 172156 8 0.0
.text 1236536 1236600 64 0.0
lock-app CY8CPROTO_062_4343W+release (read/write) 2249840 2249904 64 0.0
.bss 171036 171044 8 0.0
.text 1212440 1212504 64 0.0
shell CY8CPROTO_062_4343W+release (read/write) 2050480 2050544 64 0.0
.bss 156224 156232 8 0.0
.text 1013080 1013144 64 0.0
Decreases (4 builds for mbed)
platform target config section dcca930 66b2eb0 change % change
mbed all-clusters-app CY8CPROTO_062_4343W+release .heap 851944 851936 -8 -0.0
lighting-app CY8CPROTO_062_4343W+release .heap 858720 858712 -8 -0.0
lock-app CY8CPROTO_062_4343W+release .heap 859840 859832 -8 -0.0
shell CY8CPROTO_062_4343W+release .heap 875256 875248 -8 -0.0
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section dcca930 66b2eb0 change % change
efr32 lighting-app BRD4161A (read only) 750408 750408 0 0.0
(read/write) 119644 119644 0 0.0
.bss 117844 117844 0 0.0
.data 1800 1800 0 0.0
.text 750400 750400 0 0.0
BRD4161A+rpc (read only) 737948 737948 0 0.0
(read/write) 136272 136272 0 0.0
.bss 134348 134348 0 0.0
.data 1924 1924 0 0.0
.text 737940 737940 0 0.0
lock-app BRD4161A (read only) 727464 727464 0 0.0
(read/write) 113332 113332 0 0.0
.bss 111572 111572 0 0.0
.data 1756 1756 0 0.0
.text 727456 727456 0 0.0
window-app BRD4161A (read only) 728448 728448 0 0.0
(read/write) 113652 113652 0 0.0
.bss 111892 111892 0 0.0
.data 1760 1760 0 0.0
.text 728440 728440 0 0.0
esp32 all-clusters-app c3devkit (read only) 828870 828870 0 0.0
(read/write) 1220178 1220178 0 0.0
.dram0.bss 56688 56688 0 0.0
.dram0.data 14084 14084 0 0.0
.flash.rodata 164152 164152 0 0.0
.flash.text 828870 828870 0 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 899875 899875 0 0.0
(read/write) 419492 419492 0 0.0
.dram0.bss 62040 62040 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 192116 192116 0 0.0
.flash.text 894491 894491 0 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 707240 707240 0 0.0
.bss 77164 77164 0 0.0
.data 1912 1912 0 0.0
.text 622364 622364 0 0.0
lock-app k32w061+debug (read/write) 598680 598680 0 0.0
.bss 67676 67676 0 0.0
.data 1880 1880 0 0.0
.text 523324 523324 0 0.0
shell k32w061+debug (read/write) 664024 664024 0 0.0
.bss 78804 78804 0 0.0
.data 1848 1848 0 0.0
.text 577572 577572 0 0.0
linux all-clusters-app debug (read only) 1729401 1729401 0 0.0
(read/write) 126816 126816 0 0.0
.bss 57392 57392 0 0.0
.data 1042 1042 0 0.0
.data.rel.ro 63088 63088 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 136757 136757 0 0.0
.text 1458690 1458690 0 0.0
bridge-app debug+rpc (read only) 1324429 1324429 0 0.0
(read/write) 77008 77008 0 0.0
.bss 42096 42096 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 28352 28352 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 112028 112028 0 0.0
.text 1114997 1114997 0 0.0
chip-tool debug (read only) 4985837 4985837 0 0.0
(read/write) 166888 166888 0 0.0
.bss 40456 40456 0 0.0
.data 2272 2272 0 0.0
.data.rel.ro 118672 118672 0 0.0
.dynamic 592 592 0 0.0
.got 4416 4416 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 268458 268458 0 0.0
.text 4406869 4406869 0 0.0
lighting-app debug+rpc (read only) 1593521 1593521 0 0.0
(read/write) 110224 110224 0 0.0
.bss 47760 47760 0 0.0
.data 1234 1234 0 0.0
.data.rel.ro 55920 55920 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 129617 129617 0 0.0
.text 1328898 1328898 0 0.0
ota-provider-app debug (read only) 1271993 1271993 0 0.0
(read/write) 75656 75656 0 0.0
.bss 44704 44704 0 0.0
.data 784 784 0 0.0
.data.rel.ro 25080 25080 0 0.0
.dynamic 592 592 0 0.0
.got 4016 4016 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 114047 114047 0 0.0
.text 1060354 1060354 0 0.0
ota-requestor-app debug (read only) 1357729 1357729 0 0.0
(read/write) 79392 79392 0 0.0
.bss 47168 47168 0 0.0
.data 848 848 0 0.0
.data.rel.ro 26280 26280 0 0.0
.dynamic 592 592 0 0.0
.got 3992 3992 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 125064 125064 0 0.0
.text 1132690 1132690 0 0.0
shell debug (read only) 798801 798801 0 0.0
(read/write) 66440 66440 0 0.0
.bss 23944 23944 0 0.0
.data 242 242 0 0.0
.data.rel.ro 37752 37752 0 0.0
.dynamic 592 592 0 0.0
.got 3528 3528 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 78703 78703 0 0.0
.text 616082 616082 0 0.0
tv-app debug (read only) 1875841 1875841 0 0.0
(read/write) 318968 318968 0 0.0
.bss 250376 250376 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 60144 60144 0 0.0
.dynamic 592 592 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 157989 157989 0 0.0
.text 1572722 1572722 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2288000 2288072 72 0.0
.bss 179284 179292 8 0.0
.data 5216 5216 0 0.0
.heap 851944 851936 -8 -0.0
.text 1250600 1250672 72 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2273936 2274000 64 0.0
.bss 172148 172156 8 0.0
.data 5576 5576 0 0.0
.heap 858720 858712 -8 -0.0
.text 1236536 1236600 64 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2249840 2249904 64 0.0
.bss 171036 171044 8 0.0
.data 5568 5568 0 0.0
.heap 859840 859832 -8 -0.0
.text 1212440 1212504 64 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139744 1139744 0 0.0
.bss 11752 11752 0 0.0
.data 4368 4368 0 0.0
.heap 1020328 1020328 0 0.0
.text 103128 103128 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2050480 2050544 64 0.0
.bss 156224 156232 8 0.0
.data 4968 4968 0 0.0
.heap 875256 875248 -8 -0.0
.text 1013080 1013144 64 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 864963 864963 0 0.0
bss 110560 110560 0 0.0
rodata 95828 95828 0 0.0
text 582960 582960 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 827363 827363 0 0.0
bss 106916 106916 0 0.0
rodata 87012 87012 0 0.0
text 557128 557128 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 790002 790002 0 0.0
bss 111936 111936 0 0.0
rodata 91084 91084 0 0.0
text 512432 512432 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 840379 840379 0 0.0
bss 109584 109584 0 0.0
rodata 92300 92300 0 0.0
text 563056 563056 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 765682 765682 0 0.0
bss 110996 110996 0 0.0
rodata 87604 87604 0 0.0
text 492620 492620 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497327 497327 0 0.0
bss 51824 51824 0 0.0
rodata 45780 45780 0 0.0
text 339436 339436 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 846487 846487 0 0.0
bss 109724 109724 0 0.0
rodata 94008 94008 0 0.0
text 567236 567236 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 840079 840079 0 0.0
bss 109620 109620 0 0.0
rodata 92256 92256 0 0.0
text 562676 562676 0 0.0
shell nrf52840dk_nrf52840 (read/write) 777971 777971 0 0.0
bss 109068 109068 0 0.0
rodata 73064 73064 0 0.0
text 521236 521236 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 693026 693026 0 0.0
bss 110052 110052 0 0.0
rodata 67708 67708 0 0.0
text 441848 441848 0 0.0
p6 all-clusters-app default (read/write) 2298416 2298416 0 0.0
.bss 112272 112272 0 0.0
.data 2520 2520 0 0.0
.heap 918552 918552 0 0.0
.text 1256680 1256680 0 0.0
lock-app default (read/write) 2215904 2215904 0 0.0
.bss 100896 100896 0 0.0
.data 2400 2400 0 0.0
.heap 930048 930048 0 0.0
.text 1174168 1174168 0 0.0
qpg lighting-app qpg6100+debug (read only) 494072 494072 0 0.0
(read/write) 114144 114144 0 0.0
.bss 50208 50208 0 0.0
.data 1008 1008 0 0.0
.text 488752 488752 0 0.0
lock-app qpg6100+debug (read only) 469036 469036 0 0.0
(read/write) 114140 114140 0 0.0
.bss 49152 49152 0 0.0
.data 964 964 0 0.0
.text 463716 463716 0 0.0
persistent-storage-app qpg6100+debug (read only) 105408 105408 0 0.0
(read/write) 114142 114142 0 0.0
.bss 8978 8978 0 0.0
.data 272 272 0 0.0
.text 100088 100088 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 768346 768346 0 0.0
bss 79072 79072 0 0.0
noinit 37160 37160 0 0.0
text 533530 533530 0 0.0

@andy31415 andy31415 merged commit 942d445 into project-chip:master Nov 22, 2021
@ATmobica ATmobica deleted the mbed-fix-wifi-provisioning branch November 23, 2021 09:05
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.

None yet

4 participants