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

[nrfconnect] Added Lighting-Switch-App example #16668

Merged
merged 4 commits into from
Mar 28, 2022

Conversation

ArekBalysNordic
Copy link
Contributor

Problem

  • Add Lighting-Switch-App example for the nrfconnect boards.

Change overview

  • Added example of Light-Switch-App for nRF52DK and nRF53DK boards

  • Added documentation

Testing

  • Tested manually on nRF52DK and nRF53DK using the lighting-app example as a bound device.

@github-actions
Copy link

github-actions bot commented Mar 25, 2022

PR #16668: Size comparison from 197f65f to 6eed828

Increases (9 builds for nrfconnect)
platform target config section 197f65f 6eed828 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1140927 1142271 1344 0.1
bss 142500 142652 152 0.1
rodata 142040 142088 48 0.0
text 781512 782672 1160 0.1
lighting-app nrf52840dk_nrf52840 (read/write) 1126579 1127915 1336 0.1
bss 138956 139108 152 0.1
rodata 118764 118812 48 0.0
text 790324 791484 1160 0.1
nrf52840dk_nrf52840+rpc (read/write) 1090335 1091679 1344 0.1
bss 139192 139344 152 0.1
rodata 110008 110056 48 0.0
text 762144 763304 1160 0.2
nrf52840dongle_nrf52840 (read/write) 1140263 1141607 1344 0.1
bss 139940 140092 152 0.1
rodata 118436 118484 48 0.0
text 792392 793552 1160 0.1
nrf5340dk_nrf5340_cpuapp (read/write) 1035346 1036730 1384 0.1
bss 136020 136172 152 0.1
rodata 111960 112008 48 0.0
text 705504 706664 1160 0.2
lock-app nrf52840dk_nrf52840 (read/write) 1026939 1028291 1352 0.1
bss 128904 129056 152 0.1
rodata 111484 111532 48 0.0
text 708132 709292 1160 0.2
nrf5340dk_nrf5340_cpuapp (read/write) 935966 937350 1384 0.1
bss 126000 126152 152 0.1
rodata 104732 104780 48 0.0
text 623460 624620 1160 0.2
pump-app nrf52840dk_nrf52840 (read/write) 1044955 1046291 1336 0.1
bss 128816 128968 152 0.1
rodata 113420 113468 48 0.0
text 724208 725368 1160 0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 1028163 1029499 1336 0.1
bss 128564 128716 152 0.1
rodata 109988 110036 48 0.0
text 711108 712268 1160 0.2
Full report (35 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 197f65f 6eed828 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 604482 604482 0 0.0
.app_xip_area 511652 511652 0 0.0
.bss 75576 75576 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 562270 562270 0 0.0
.app_xip_area 470968 470968 0 0.0
.bss 74080 74080 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 574618 574618 0 0.0
.app_xip_area 473668 473668 0 0.0
.bss 83408 83408 0 0.0
.data 508 508 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 925488 925488 0 0.0
(read/write) 128688 128688 0 0.0
.bss 126688 126688 0 0.0
.data 1996 1996 0 0.0
.text 925480 925480 0 0.0
BRD4161A+rpc (read only) 954304 954304 0 0.0
(read/write) 144640 144640 0 0.0
.bss 142464 142464 0 0.0
.data 2176 2176 0 0.0
.text 954296 954296 0 0.0
window-app BRD4161A (read only) 854900 854900 0 0.0
(read/write) 126648 126648 0 0.0
.bss 124776 124776 0 0.0
.data 1872 1872 0 0.0
.text 854892 854892 0 0.0
esp32 all-clusters-app c3devkit (read only) 965630 965630 0 0.0
(read/write) 1394162 1394162 0 0.0
.dram0.bss 61992 61992 0 0.0
.dram0.data 14212 14212 0 0.0
.flash.rodata 199032 199032 0 0.0
.flash.text 965630 965630 0 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1022107 1022107 0 0.0
(read/write) 461908 461908 0 0.0
.dram0.bss 67520 67520 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 228528 228528 0 0.0
.flash.text 1016723 1016723 0 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 702984 702984 0 0.0
.bss 77568 77568 0 0.0
.data 1876 1876 0 0.0
.text 617740 617740 0 0.0
lock k32w061+release (read/write) 702068 702068 0 0.0
.bss 77544 77544 0 0.0
.data 1916 1916 0 0.0
.text 616808 616808 0 0.0
linux all-clusters-app debug (read only) 2487873 2487873 0 0.0
(read/write) 143344 143344 0 0.0
.bss 57408 57408 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 78920 78920 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 212229 212229 0 0.0
.text 2111922 2111922 0 0.0
bridge-app debug+rpc (read only) 1760133 1760133 0 0.0
(read/write) 89552 89552 0 0.0
.bss 44552 44552 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 37936 37936 0 0.0
.dynamic 592 592 0 0.0
.got 3920 3920 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 144268 144268 0 0.0
.text 1500629 1500629 0 0.0
chip-tool debug (read only) 10195021 10195021 0 0.0
(read/write) 355720 355720 0 0.0
.bss 22496 22496 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 326056 326056 0 0.0
.dynamic 608 608 0 0.0
.got 4816 4816 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 518901 518901 0 0.0
.text 8891589 8891589 0 0.0
chip-tool-ipv6only arm64 (read only) 9817484 9817484 0 0.0
(read/write) 473921 473921 0 0.0
.bss 40769 40769 0 0.0
.data 1144 1144 0 0.0
.data.rel.ro 372712 372712 0 0.0
.dynamic 560 560 0 0.0
.got 55488 55488 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 494116 494116 0 0.0
.text 8269668 8269668 0 0.0
door-lock-app debug (read only) 2012145 2012145 0 0.0
(read/write) 116896 116896 0 0.0
.bss 47680 47680 0 0.0
.data 992 992 0 0.0
.data.rel.ro 62840 62840 0 0.0
.dynamic 592 592 0 0.0
.got 4120 4120 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 180956 180956 0 0.0
.text 1681506 1681506 0 0.0
lighting-app debug+rpc (read only) 2185993 2185993 0 0.0
(read/write) 123888 123888 0 0.0
.bss 48960 48960 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 67928 67928 0 0.0
.dynamic 608 608 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 174972 174972 0 0.0
.text 1851954 1851954 0 0.0
ota-provider-app debug (read only) 1953337 1953337 0 0.0
(read/write) 112688 112688 0 0.0
.bss 47616 47616 0 0.0
.data 1256 1256 0 0.0
.data.rel.ro 58184 58184 0 0.0
.dynamic 608 608 0 0.0
.got 4376 4376 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 166699 166699 0 0.0
.text 1634898 1634898 0 0.0
ota-requestor-app debug (read only) 1980929 1980929 0 0.0
(read/write) 115912 115912 0 0.0
.bss 48544 48544 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 60440 60440 0 0.0
.dynamic 592 592 0 0.0
.got 4184 4184 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 162820 162820 0 0.0
.text 1665362 1665362 0 0.0
shell debug (read only) 2436633 2436633 0 0.0
(read/write) 147400 147400 0 0.0
.bss 67336 67336 0 0.0
.data 800 800 0 0.0
.data.rel.ro 73568 73568 0 0.0
.dynamic 592 592 0 0.0
.got 4152 4152 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 209682 209682 0 0.0
.text 2070082 2070082 0 0.0
thermostat-no-ble arm64 (read only) 2269668 2269668 0 0.0
(read/write) 148385 148385 0 0.0
.bss 62833 62833 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 77000 77000 0 0.0
.dynamic 560 560 0 0.0
.got 4504 4504 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 139716 139716 0 0.0
.text 1906544 1906544 0 0.0
tv-app debug (read only) 2682961 2682961 0 0.0
(read/write) 247552 247552 0 0.0
.bss 164320 164320 0 0.0
.data 3136 3136 0 0.0
.data.rel.ro 74048 74048 0 0.0
.dynamic 592 592 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 205611 205611 0 0.0
.text 2302722 2302722 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2354708 2354708 0 0.0
.bss 184572 184572 0 0.0
.data 5760 5760 0 0.0
.text 1317308 1317308 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1140927 1142271 1344 0.1
bss 142500 142652 152 0.1
rodata 142040 142088 48 0.0
text 781512 782672 1160 0.1
lighting-app nrf52840dk_nrf52840 (read/write) 1126579 1127915 1336 0.1
bss 138956 139108 152 0.1
rodata 118764 118812 48 0.0
text 790324 791484 1160 0.1
nrf52840dk_nrf52840+rpc (read/write) 1090335 1091679 1344 0.1
bss 139192 139344 152 0.1
rodata 110008 110056 48 0.0
text 762144 763304 1160 0.2
nrf52840dongle_nrf52840 (read/write) 1140263 1141607 1344 0.1
bss 139940 140092 152 0.1
rodata 118436 118484 48 0.0
text 792392 793552 1160 0.1
nrf5340dk_nrf5340_cpuapp (read/write) 1035346 1036730 1384 0.1
bss 136020 136172 152 0.1
rodata 111960 112008 48 0.0
text 705504 706664 1160 0.2
lock-app nrf52840dk_nrf52840 (read/write) 1026939 1028291 1352 0.1
bss 128904 129056 152 0.1
rodata 111484 111532 48 0.0
text 708132 709292 1160 0.2
nrf5340dk_nrf5340_cpuapp (read/write) 935966 937350 1384 0.1
bss 126000 126152 152 0.1
rodata 104732 104780 48 0.0
text 623460 624620 1160 0.2
pump-app nrf52840dk_nrf52840 (read/write) 1044955 1046291 1336 0.1
bss 128816 128968 152 0.1
rodata 113420 113468 48 0.0
text 724208 725368 1160 0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 1028163 1029499 1336 0.1
bss 128564 128716 152 0.1
rodata 109988 110036 48 0.0
text 711108 712268 1160 0.2
p6 all-clusters-app default (read/write) 2496728 2496728 0 0.0
.bss 117992 117992 0 0.0
.data 2640 2640 0 0.0
.text 1454992 1454992 0 0.0
light-app default (read/write) 2399104 2399104 0 0.0
.bss 111464 111464 0 0.0
.data 2496 2496 0 0.0
.text 1357368 1357368 0 0.0
lock-app default (read/write) 2362632 2362632 0 0.0
.bss 111208 111208 0 0.0
.data 2456 2456 0 0.0
.text 1320896 1320896 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 897470 897470 0 0.0
bss 87356 87356 0 0.0
noinit 37160 37160 0 0.0
text 634874 634874 0 0.0

@github-actions
Copy link

github-actions bot commented Mar 25, 2022

PR #16668: Size comparison from 197f65f to 33c1996

Increases (9 builds for nrfconnect)
platform target config section 197f65f 33c1996 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1140927 1142247 1320 0.1
bss 142500 142652 152 0.1
rodata 142040 142064 24 0.0
text 781512 782672 1160 0.1
lighting-app nrf52840dk_nrf52840 (read/write) 1126579 1127903 1324 0.1
bss 138956 139108 152 0.1
rodata 118764 118800 36 0.0
text 790324 791484 1160 0.1
nrf52840dk_nrf52840+rpc (read/write) 1090335 1091667 1332 0.1
bss 139192 139344 152 0.1
rodata 110008 110044 36 0.0
text 762144 763304 1160 0.2
nrf52840dongle_nrf52840 (read/write) 1140263 1141595 1332 0.1
bss 139940 140092 152 0.1
rodata 118436 118472 36 0.0
text 792392 793552 1160 0.1
nrf5340dk_nrf5340_cpuapp (read/write) 1035346 1036718 1372 0.1
bss 136020 136172 152 0.1
rodata 111960 111996 36 0.0
text 705504 706664 1160 0.2
lock-app nrf52840dk_nrf52840 (read/write) 1026939 1028291 1352 0.1
bss 128904 129056 152 0.1
rodata 111484 111532 48 0.0
text 708132 709292 1160 0.2
nrf5340dk_nrf5340_cpuapp (read/write) 935966 937350 1384 0.1
bss 126000 126152 152 0.1
rodata 104732 104780 48 0.0
text 623460 624620 1160 0.2
pump-app nrf52840dk_nrf52840 (read/write) 1044955 1046279 1324 0.1
bss 128816 128968 152 0.1
rodata 113420 113456 36 0.0
text 724208 725368 1160 0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 1028163 1029487 1324 0.1
bss 128564 128716 152 0.1
rodata 109988 110024 36 0.0
text 711108 712268 1160 0.2
Decreases (21 builds for cyw30739, efr32, esp32, linux, p6, telink)
platform target config section 197f65f 33c1996 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 604482 604474 -8 -0.0
.app_xip_area 511652 511644 -8 -0.0
efr32 lighting-app BRD4161A (read only) 925488 925416 -72 -0.0
.text 925480 925408 -72 -0.0
BRD4161A+rpc (read only) 954304 954240 -64 -0.0
.text 954296 954232 -64 -0.0
window-app BRD4161A (read only) 854900 854828 -72 -0.0
.text 854892 854820 -72 -0.0
esp32 all-clusters-app c3devkit (read only) 965630 965566 -64 -0.0
(read/write) 1394162 1394138 -24 -0.0
.flash.rodata 199032 199008 -24 -0.0
.flash.text 965630 965566 -64 -0.0
m5stack (read only) 1022107 1022039 -68 -0.0
(read/write) 461908 461884 -24 -0.0
.flash.rodata 228528 228504 -24 -0.0
.flash.text 1016723 1016655 -68 -0.0
linux all-clusters-app debug (read only) 2487873 2487249 -624 -0.0
.rodata 212229 212133 -96 -0.0
.text 2111922 2111442 -480 -0.0
bridge-app debug+rpc (read only) 1760133 1759653 -480 -0.0
.text 1500629 1500149 -480 -0.0
chip-tool debug (read only) 10195021 1017902 -15992 -0.2
(read/write) 355720 355688 -32 -0.0
.data.rel.ro 326056 326008 -48 -0.0
.rodata 518901 518517 -384 -0.1
.text 8891589 8876101 -15488 -0.2
chip-tool-ipv6only arm64 (read only) 9817484 9809852 -7632 -0.1
(read/write) 473921 473729 -192 -0.0
.data.rel.ro 372712 372656 -56 -0.0
.got 55488 55352 -136 -0.2
.rodata 494116 493908 -208 -0.0
.text 8269668 8262772 -6896 -0.1
door-lock-app debug (read only) 2012145 2011633 -512 -0.0
.rodata 180956 180924 -32 -0.0
.text 1681506 1681026 -480 -0.0
lighting-app debug+rpc (read only) 2185993 2185441 -552 -0.0
.rodata 174972 174908 -64 -0.0
.text 1851954 1851490 -464 -0.0
ota-provider-app debug (read only) 1953337 1952825 -512 -0.0
.rodata 166699 166667 -32 -0.0
.text 1634898 1634418 -480 -0.0
ota-requestor-app debug (read only) 1980929 1980417 -512 -0.0
.rodata 162820 162788 -32 -0.0
.text 1665362 1664882 -480 -0.0
shell debug (read only) 2436633 2436057 -576 -0.0
.rodata 209682 209618 -64 -0.0
.text 2070082 2069618 -464 -0.0
thermostat-no-ble arm64 (read only) 2269668 2269012 -656 -0.0
.rodata 139716 139652 -64 -0.0
.text 1906544 1906000 -544 -0.0
tv-app debug (read only) 2682961 2682449 -512 -0.0
.rodata 205611 205579 -32 -0.0
.text 2302722 2302242 -480 -0.0
p6 all-clusters-app default (read/write) 2496728 2496640 -88 -0.0
.text 1454992 1454904 -88 -0.0
light-app default (read/write) 2399104 2399032 -72 -0.0
.text 1357368 1357296 -72 -0.0
lock-app default (read/write) 2362632 2362568 -64 -0.0
.text 1320896 1320832 -64 -0.0
telink lighting-app tlsr9518adk80d (read/write) 897470 897458 -12 -0.0
Full report (35 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 197f65f 33c1996 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 604482 604474 -8 -0.0
.app_xip_area 511652 511644 -8 -0.0
.bss 75576 75576 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 562270 562270 0 0.0
.app_xip_area 470968 470968 0 0.0
.bss 74080 74080 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 574618 574618 0 0.0
.app_xip_area 473668 473668 0 0.0
.bss 83408 83408 0 0.0
.data 508 508 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 925488 925416 -72 -0.0
(read/write) 128688 128688 0 0.0
.bss 126688 126688 0 0.0
.data 1996 1996 0 0.0
.text 925480 925408 -72 -0.0
BRD4161A+rpc (read only) 954304 954240 -64 -0.0
(read/write) 144640 144640 0 0.0
.bss 142464 142464 0 0.0
.data 2176 2176 0 0.0
.text 954296 954232 -64 -0.0
window-app BRD4161A (read only) 854900 854828 -72 -0.0
(read/write) 126648 126648 0 0.0
.bss 124776 124776 0 0.0
.data 1872 1872 0 0.0
.text 854892 854820 -72 -0.0
esp32 all-clusters-app c3devkit (read only) 965630 965566 -64 -0.0
(read/write) 1394162 1394138 -24 -0.0
.dram0.bss 61992 61992 0 0.0
.dram0.data 14212 14212 0 0.0
.flash.rodata 199032 199008 -24 -0.0
.flash.text 965630 965566 -64 -0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1022107 1022039 -68 -0.0
(read/write) 461908 461884 -24 -0.0
.dram0.bss 67520 67520 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 228528 228504 -24 -0.0
.flash.text 1016723 1016655 -68 -0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 702984 702984 0 0.0
.bss 77568 77568 0 0.0
.data 1876 1876 0 0.0
.text 617740 617740 0 0.0
lock k32w061+release (read/write) 702068 702068 0 0.0
.bss 77544 77544 0 0.0
.data 1916 1916 0 0.0
.text 616808 616808 0 0.0
linux all-clusters-app debug (read only) 2487873 2487249 -624 -0.0
(read/write) 143344 143344 0 0.0
.bss 57408 57408 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 78920 78920 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 212229 212133 -96 -0.0
.text 2111922 2111442 -480 -0.0
bridge-app debug+rpc (read only) 1760133 1759653 -480 -0.0
(read/write) 89552 89552 0 0.0
.bss 44552 44552 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 37936 37936 0 0.0
.dynamic 592 592 0 0.0
.got 3920 3920 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 144268 144268 0 0.0
.text 1500629 1500149 -480 -0.0
chip-tool debug (read only) 10195021 1017902 -15992 -0.2
(read/write) 355720 355688 -32 -0.0
.bss 22496 22496 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 326056 326008 -48 -0.0
.dynamic 608 608 0 0.0
.got 4816 4816 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 518901 518517 -384 -0.1
.text 8891589 8876101 -15488 -0.2
chip-tool-ipv6only arm64 (read only) 9817484 9809852 -7632 -0.1
(read/write) 473921 473729 -192 -0.0
.bss 40769 40769 0 0.0
.data 1144 1144 0 0.0
.data.rel.ro 372712 372656 -56 -0.0
.dynamic 560 560 0 0.0
.got 55488 55352 -136 -0.2
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 494116 493908 -208 -0.0
.text 8269668 8262772 -6896 -0.1
door-lock-app debug (read only) 2012145 2011633 -512 -0.0
(read/write) 116896 116896 0 0.0
.bss 47680 47680 0 0.0
.data 992 992 0 0.0
.data.rel.ro 62840 62840 0 0.0
.dynamic 592 592 0 0.0
.got 4120 4120 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 180956 180924 -32 -0.0
.text 1681506 1681026 -480 -0.0
lighting-app debug+rpc (read only) 2185993 2185441 -552 -0.0
(read/write) 123888 123888 0 0.0
.bss 48960 48960 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 67928 67928 0 0.0
.dynamic 608 608 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 174972 174908 -64 -0.0
.text 1851954 1851490 -464 -0.0
ota-provider-app debug (read only) 1953337 1952825 -512 -0.0
(read/write) 112688 112688 0 0.0
.bss 47616 47616 0 0.0
.data 1256 1256 0 0.0
.data.rel.ro 58184 58184 0 0.0
.dynamic 608 608 0 0.0
.got 4376 4376 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 166699 166667 -32 -0.0
.text 1634898 1634418 -480 -0.0
ota-requestor-app debug (read only) 1980929 1980417 -512 -0.0
(read/write) 115912 115912 0 0.0
.bss 48544 48544 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 60440 60440 0 0.0
.dynamic 592 592 0 0.0
.got 4184 4184 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 162820 162788 -32 -0.0
.text 1665362 1664882 -480 -0.0
shell debug (read only) 2436633 2436057 -576 -0.0
(read/write) 147400 147400 0 0.0
.bss 67336 67336 0 0.0
.data 800 800 0 0.0
.data.rel.ro 73568 73568 0 0.0
.dynamic 592 592 0 0.0
.got 4152 4152 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 209682 209618 -64 -0.0
.text 2070082 2069618 -464 -0.0
thermostat-no-ble arm64 (read only) 2269668 2269012 -656 -0.0
(read/write) 148385 148385 0 0.0
.bss 62833 62833 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 77000 77000 0 0.0
.dynamic 560 560 0 0.0
.got 4504 4504 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 139716 139652 -64 -0.0
.text 1906544 1906000 -544 -0.0
tv-app debug (read only) 2682961 2682449 -512 -0.0
(read/write) 247552 247552 0 0.0
.bss 164320 164320 0 0.0
.data 3136 3136 0 0.0
.data.rel.ro 74048 74048 0 0.0
.dynamic 592 592 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 205611 205579 -32 -0.0
.text 2302722 2302242 -480 -0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2354708 2354708 0 0.0
.bss 184572 184572 0 0.0
.data 5760 5760 0 0.0
.text 1317308 1317308 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1140927 1142247 1320 0.1
bss 142500 142652 152 0.1
rodata 142040 142064 24 0.0
text 781512 782672 1160 0.1
lighting-app nrf52840dk_nrf52840 (read/write) 1126579 1127903 1324 0.1
bss 138956 139108 152 0.1
rodata 118764 118800 36 0.0
text 790324 791484 1160 0.1
nrf52840dk_nrf52840+rpc (read/write) 1090335 1091667 1332 0.1
bss 139192 139344 152 0.1
rodata 110008 110044 36 0.0
text 762144 763304 1160 0.2
nrf52840dongle_nrf52840 (read/write) 1140263 1141595 1332 0.1
bss 139940 140092 152 0.1
rodata 118436 118472 36 0.0
text 792392 793552 1160 0.1
nrf5340dk_nrf5340_cpuapp (read/write) 1035346 1036718 1372 0.1
bss 136020 136172 152 0.1
rodata 111960 111996 36 0.0
text 705504 706664 1160 0.2
lock-app nrf52840dk_nrf52840 (read/write) 1026939 1028291 1352 0.1
bss 128904 129056 152 0.1
rodata 111484 111532 48 0.0
text 708132 709292 1160 0.2
nrf5340dk_nrf5340_cpuapp (read/write) 935966 937350 1384 0.1
bss 126000 126152 152 0.1
rodata 104732 104780 48 0.0
text 623460 624620 1160 0.2
pump-app nrf52840dk_nrf52840 (read/write) 1044955 1046279 1324 0.1
bss 128816 128968 152 0.1
rodata 113420 113456 36 0.0
text 724208 725368 1160 0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 1028163 1029487 1324 0.1
bss 128564 128716 152 0.1
rodata 109988 110024 36 0.0
text 711108 712268 1160 0.2
p6 all-clusters-app default (read/write) 2496728 2496640 -88 -0.0
.bss 117992 117992 0 0.0
.data 2640 2640 0 0.0
.text 1454992 1454904 -88 -0.0
light-app default (read/write) 2399104 2399032 -72 -0.0
.bss 111464 111464 0 0.0
.data 2496 2496 0 0.0
.text 1357368 1357296 -72 -0.0
lock-app default (read/write) 2362632 2362568 -64 -0.0
.bss 111208 111208 0 0.0
.data 2456 2456 0 0.0
.text 1320896 1320832 -64 -0.0
telink lighting-app tlsr9518adk80d (read/write) 897470 897458 -12 -0.0
bss 87356 87356 0 0.0
noinit 37160 37160 0 0.0
text 634874 634874 0 0.0

Copy link
Contributor

@woody-apple woody-apple left a comment

Choose a reason for hiding this comment

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

Fast tracking platform changes.

@woody-apple
Copy link
Contributor

/rebase

ArekBalysNordic and others added 4 commits March 26, 2022 04:23
Problem
Add Lighting-Switch-App example for nrfconnect boards.

Change overview
Added example of Light-Switch-App for nRF52DK and nRF53DK boards
Added documentation for example

Testing
Tested manually on nRF52DK and nRF53DK using lighting-app example as bound device.
@github-actions
Copy link

github-actions bot commented Mar 26, 2022

PR #16668: Size comparison from e5c39d4 to 4cfadf1

Increases (9 builds for nrfconnect)
platform target config section e5c39d4 4cfadf1 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1141007 1142351 1344 0.1
bss 142500 142652 152 0.1
rodata 142024 142072 48 0.0
text 781604 782764 1160 0.1
lighting-app nrf52840dk_nrf52840 (read/write) 1126655 1128011 1356 0.1
bss 138956 139108 152 0.1
rodata 118760 118812 52 0.0
text 790412 791572 1160 0.1
nrf52840dk_nrf52840+rpc (read/write) 1090419 1091763 1344 0.1
bss 139192 139344 152 0.1
rodata 109996 110044 48 0.0
text 762236 763396 1160 0.2
nrf52840dongle_nrf52840 (read/write) 1140331 1141691 1360 0.1
bss 139940 140092 152 0.1
rodata 118424 118472 48 0.0
text 792476 793636 1160 0.1
nrf5340dk_nrf5340_cpuapp (read/write) 1035438 1036810 1372 0.1
bss 136020 136172 152 0.1
rodata 111956 112008 52 0.0
text 705592 706752 1160 0.2
lock-app nrf52840dk_nrf52840 (read/write) 1027059 1028395 1336 0.1
bss 128904 129056 152 0.1
rodata 111492 111540 48 0.0
text 708236 709396 1160 0.2
nrf5340dk_nrf5340_cpuapp (read/write) 936086 937470 1384 0.1
bss 126000 126152 152 0.1
rodata 104740 104788 48 0.0
text 623568 624728 1160 0.2
pump-app nrf52840dk_nrf52840 (read/write) 1045047 1046399 1352 0.1
bss 128816 128968 152 0.1
rodata 113416 113464 48 0.0
text 724316 725476 1160 0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 1028271 1029607 1336 0.1
bss 128564 128716 152 0.1
rodata 109984 110032 48 0.0
text 711216 712376 1160 0.2
Full report (35 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section e5c39d4 4cfadf1 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 604722 604722 0 0.0
.app_xip_area 511892 511892 0 0.0
.bss 75576 75576 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 562534 562534 0 0.0
.app_xip_area 471232 471232 0 0.0
.bss 74080 74080 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 574858 574858 0 0.0
.app_xip_area 473908 473908 0 0.0
.bss 83408 83408 0 0.0
.data 508 508 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 925656 925656 0 0.0
(read/write) 128712 128712 0 0.0
.bss 126712 126712 0 0.0
.data 1996 1996 0 0.0
.text 925648 925648 0 0.0
BRD4161A+rpc (read only) 954464 954464 0 0.0
(read/write) 144664 144664 0 0.0
.bss 142488 142488 0 0.0
.data 2176 2176 0 0.0
.text 954456 954456 0 0.0
window-app BRD4161A (read only) 855060 855060 0 0.0
(read/write) 126672 126672 0 0.0
.bss 124800 124800 0 0.0
.data 1872 1872 0 0.0
.text 855052 855052 0 0.0
esp32 all-clusters-app c3devkit (read only) 966066 966066 0 0.0
(read/write) 1394274 1394274 0 0.0
.dram0.bss 62000 62000 0 0.0
.dram0.data 14204 14204 0 0.0
.flash.rodata 199160 199160 0 0.0
.flash.text 966066 966066 0 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1022515 1022515 0 0.0
(read/write) 462044 462044 0 0.0
.dram0.bss 67528 67528 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 228656 228656 0 0.0
.flash.text 1017131 1017131 0 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 703224 703224 0 0.0
.bss 77568 77568 0 0.0
.data 1876 1876 0 0.0
.text 617980 617980 0 0.0
lock k32w061+release (read/write) 702340 702340 0 0.0
.bss 77544 77544 0 0.0
.data 1916 1916 0 0.0
.text 617080 617080 0 0.0
linux all-clusters-app debug (read only) 2524121 2524121 0 0.0
(read/write) 143352 143352 0 0.0
.bss 57408 57408 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 78920 78920 0 0.0
.dynamic 592 592 0 0.0
.got 4184 4184 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 216229 216229 0 0.0
.text 2144066 2144066 0 0.0
bridge-app debug+rpc (read only) 1763485 1763485 0 0.0
(read/write) 89520 89520 0 0.0
.bss 44520 44520 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 37936 37936 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 144396 144396 0 0.0
.text 1503733 1503733 0 0.0
chip-tool debug (read only) 10181829 10181829 0 0.0
(read/write) 355656 355656 0 0.0
.bss 22464 22464 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 326008 326008 0 0.0
.dynamic 608 608 0 0.0
.got 4824 4824 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 518485 518485 0 0.0
.text 8878805 8878805 0 0.0
chip-tool-ipv6only arm64 (read only) 9813772 9813772 0 0.0
(read/write) 473697 473697 0 0.0
.bss 40737 40737 0 0.0
.data 1144 1144 0 0.0
.data.rel.ro 372656 372656 0 0.0
.dynamic 560 560 0 0.0
.got 55352 55352 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 493972 493972 0 0.0
.text 8266628 8266628 0 0.0
door-lock-app debug (read only) 2015313 2015313 0 0.0
(read/write) 116896 116896 0 0.0
.bss 47648 47648 0 0.0
.data 992 992 0 0.0
.data.rel.ro 62840 62840 0 0.0
.dynamic 592 592 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 180988 180988 0 0.0
.text 1684514 1684514 0 0.0
lighting-app debug+rpc (read only) 2189617 2189617 0 0.0
(read/write) 123888 123888 0 0.0
.bss 48928 48928 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 67928 67928 0 0.0
.dynamic 608 608 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 175036 175036 0 0.0
.text 1855410 1855410 0 0.0
ota-provider-app debug (read only) 1956089 1956089 0 0.0
(read/write) 112688 112688 0 0.0
.bss 47584 47584 0 0.0
.data 1256 1256 0 0.0
.data.rel.ro 58184 58184 0 0.0
.dynamic 608 608 0 0.0
.got 4384 4384 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 166763 166763 0 0.0
.text 1637458 1637458 0 0.0
ota-requestor-app debug (read only) 1983713 1983713 0 0.0
(read/write) 115912 115912 0 0.0
.bss 48512 48512 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 60440 60440 0 0.0
.dynamic 592 592 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 162916 162916 0 0.0
.text 1667922 1667922 0 0.0
shell debug (read only) 2439769 2439769 0 0.0
(read/write) 147368 147368 0 0.0
.bss 67304 67304 0 0.0
.data 800 800 0 0.0
.data.rel.ro 73568 73568 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 209714 209714 0 0.0
.text 2073106 2073106 0 0.0
thermostat-no-ble arm64 (read only) 2273508 2273508 0 0.0
(read/write) 148353 148353 0 0.0
.bss 62801 62801 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 77000 77000 0 0.0
.dynamic 560 560 0 0.0
.got 4504 4504 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 139748 139748 0 0.0
.text 1910400 1910400 0 0.0
tv-app debug (read only) 2686513 2686513 0 0.0
(read/write) 247520 247520 0 0.0
.bss 164288 164288 0 0.0
.data 3136 3136 0 0.0
.data.rel.ro 74048 74048 0 0.0
.dynamic 592 592 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 205707 205707 0 0.0
.text 2306178 2306178 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2354900 2354900 0 0.0
.bss 184620 184620 0 0.0
.data 5760 5760 0 0.0
.text 1317500 1317500 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1141007 1142351 1344 0.1
bss 142500 142652 152 0.1
rodata 142024 142072 48 0.0
text 781604 782764 1160 0.1
lighting-app nrf52840dk_nrf52840 (read/write) 1126655 1128011 1356 0.1
bss 138956 139108 152 0.1
rodata 118760 118812 52 0.0
text 790412 791572 1160 0.1
nrf52840dk_nrf52840+rpc (read/write) 1090419 1091763 1344 0.1
bss 139192 139344 152 0.1
rodata 109996 110044 48 0.0
text 762236 763396 1160 0.2
nrf52840dongle_nrf52840 (read/write) 1140331 1141691 1360 0.1
bss 139940 140092 152 0.1
rodata 118424 118472 48 0.0
text 792476 793636 1160 0.1
nrf5340dk_nrf5340_cpuapp (read/write) 1035438 1036810 1372 0.1
bss 136020 136172 152 0.1
rodata 111956 112008 52 0.0
text 705592 706752 1160 0.2
lock-app nrf52840dk_nrf52840 (read/write) 1027059 1028395 1336 0.1
bss 128904 129056 152 0.1
rodata 111492 111540 48 0.0
text 708236 709396 1160 0.2
nrf5340dk_nrf5340_cpuapp (read/write) 936086 937470 1384 0.1
bss 126000 126152 152 0.1
rodata 104740 104788 48 0.0
text 623568 624728 1160 0.2
pump-app nrf52840dk_nrf52840 (read/write) 1045047 1046399 1352 0.1
bss 128816 128968 152 0.1
rodata 113416 113464 48 0.0
text 724316 725476 1160 0.2
pump-controller-app nrf52840dk_nrf52840 (read/write) 1028271 1029607 1336 0.1
bss 128564 128716 152 0.1
rodata 109984 110032 48 0.0
text 711216 712376 1160 0.2
p6 all-clusters-app default (read/write) 2497440 2497440 0 0.0
.bss 118040 118040 0 0.0
.data 2640 2640 0 0.0
.text 1455704 1455704 0 0.0
light-app default (read/write) 2399856 2399856 0 0.0
.bss 111512 111512 0 0.0
.data 2496 2496 0 0.0
.text 1358120 1358120 0 0.0
lock-app default (read/write) 2363392 2363392 0 0.0
.bss 111256 111256 0 0.0
.data 2456 2456 0 0.0
.text 1321656 1321656 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 897562 897562 0 0.0
bss 87356 87356 0 0.0
noinit 37160 37160 0 0.0
text 634982 634982 0 0.0

@Damian-Nordic Damian-Nordic merged commit 1676f1b into project-chip:master Mar 28, 2022
rochaferraz pushed a commit to rochaferraz/connectedhomeip that referenced this pull request Mar 31, 2022
* [nrfconnect] Added Lighting-Switch-App example

Problem
Add Lighting-Switch-App example for nrfconnect boards.

Change overview
Added example of Light-Switch-App for nRF52DK and nRF53DK boards
Added documentation for example

Testing
Tested manually on nRF52DK and nRF53DK using lighting-app example as bound device.

* Restyled by clang-format

* Restyled by prettier-markdown

* Restyled by prettier-markdown

Co-authored-by: Restyled.io <[email protected]>
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
* [nrfconnect] Added Lighting-Switch-App example

Problem
Add Lighting-Switch-App example for nrfconnect boards.

Change overview
Added example of Light-Switch-App for nRF52DK and nRF53DK boards
Added documentation for example

Testing
Tested manually on nRF52DK and nRF53DK using lighting-app example as bound device.

* Restyled by clang-format

* Restyled by prettier-markdown

* Restyled by prettier-markdown

Co-authored-by: Restyled.io <[email protected]>
@ArekBalysNordic ArekBalysNordic deleted the LightSwitch_Groups branch May 11, 2022 11:27
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.

5 participants