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

Fix lighting-app build error for nrf52840dongle #13285

Merged
merged 10 commits into from
Jan 10, 2022

Conversation

lmpprk
Copy link
Contributor

@lmpprk lmpprk commented Dec 30, 2021

Problem

What is being fixed?

The nrf light example app gets error when building for nrf52840dongle_nrf52840 with following unrecognized symbols in kconfig

CONFIG_USB -> replaced by CONFIG_USB_DEVICE_DRIVER in 2.7
CONFIG_UART_SHELL_ON_DEV_NAME -> removed in 2.7 in favor of chosen node zephyr,shell-uart
CONFIG_USB_UART_CONSOLE -> removed in 3.0 draft

Change overview

  • Replaced CONFIG_USB with CONFIG_USB_DEVICE_STACK
  • Removed CONFIG_USB_UART_CONSOLE
  • Added boards nrf52840dongle_nrf52840 overlay config to replace CONFIG_UART_SHELL_ON_DEV_NAME="CDC_ACM_0"
  • Added Build example nRF Connect SDK Lighting App on nRF52840 Dongle in the nrfconnect example workflow
  • Updated nrfconnect example script to load the board overlays if the boards/$BOARD.conf file exists for the example

Testing

How was this tested? (at least one bullet point required)

@lmpprk
Copy link
Contributor Author

lmpprk commented Jan 4, 2022

Restyled is blocking review due to workflow permission, not sure what I need to do, would still appreciate if this one gets looked at.

@caubut-charter
Copy link

caubut-charter commented Jan 4, 2022

@lmpprk, try these changes: lmpprk#1.

Line 44 replaces the tab with 4 spaces. Line 47 double quotes $OVERLAY_CONF_FLAG.

Restyled is trying to force push the workflow file since it is part of the commit but is blocked here:

- ".github/workflows/*" # https://github.com/restyled-io/restyler/issues/73

If the fixes I linked are applied, I don't think restyled will find any changes and will therefore not try and push anything.

These changes were found by running the scripts locally that were found to modify the source in https://restyled.io/gh/project-chip/repos/connectedhomeip/jobs/1394929. The flags used were extracted from https://github.com/lmpprk/connectedhomeip/blob/nrf-dongle/.restyled.yaml.

docker run --rm -it -v $PWD/scripts/examples/nrfconnect_example.sh:/tmp/nrfconnect_example.sh restyled/restyler-shfmt:v3.0.1 shfmt -i 4 -ci /tmp/nrfconnect_example.sh > /tmp/nrfconnect_example.sh
vimdiff scripts/examples/nrfconnect_example.sh /tmp/nrfconnect_example.sh

docker run --rm -it -v $PWD/scripts/examples/nrfconnect_example.sh:/tmp/nrfconnect_example.sh restyled/restyler-shellharden:v4.1.1-2 shellharden --transform /tmp/nrfconnect_example.sh > /tmp/nrfconnect_example.sh
vimdiff scripts/examples/nrfconnect_example.sh /tmp/nrfconnect_example.sh

@andy31415
Copy link
Contributor

andy31415 commented Jan 6, 2022

@lmpprk - changes to build_examples.py require unit test changes.
Also consider marking some items noglob to avoid exponential explosion of build targets when building with "*".

Actually I think the dongle is only supposed to work with the light example, I'll update the target to only yield it for the lighting app. Thanks for pointing this out!

Also sorry for the newbie question: any pointer for the instructions on updating the tests? Thanks!

For tests, run them and replace with the generated files. I do something like:

gn gen aabb
cd aabb
ninja -t targets | grep script | grep test # Because I always forget what target to run
ninja scripts/build:build_examples.tests

This will tell you what is different and you can copy the expected files into ../scripts/build/testdata

@github-actions
Copy link

github-actions bot commented Jan 7, 2022

PR #13285: Size comparison from b81facc to 3134ce5

Increases above 0.2%:

platform target config section b81facc 3134ce5 change % change
nrfconnect lighting-app nrf52840dk_nrf52840 bss 118208 119328 1120 0.9
lock-app nrf52840dk_nrf52840 bss 117396 118516 1120 1.0
pump-app nrf52840dk_nrf52840 bss 117156 118276 1120 1.0
pump-controller-app nrf52840dk_nrf52840 bss 117184 118304 1120 1.0
Increases (7 builds for nrfconnect)
platform target config section b81facc 3134ce5 change % change
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 936687 937791 1104 0.1
bss 118208 119328 1120 0.9
nrf5340dk_nrf5340_cpuapp bss 116100 116116 16 0.0
lock-app nrf52840dk_nrf52840 (read/write) 908831 909951 1120 0.1
bss 117396 118516 1120 1.0
nrf5340dk_nrf5340_cpuapp (read/write) 820006 820038 32 0.0
bss 115316 115332 16 0.0
pump-app nrf52840dk_nrf52840 (read/write) 910111 911231 1120 0.1
bss 117156 118276 1120 1.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 906911 908031 1120 0.1
bss 117184 118304 1120 1.0
shell nrf5340dk_nrf5340_cpuapp bss 107568 107584 16 0.0
Decreases (7 builds for nrfconnect)
platform target config section b81facc 3134ce5 change % change
nrfconnect lighting-app nrf52840dk_nrf52840 text 632700 632696 -4 -0.0
nrf5340dk_nrf5340_cpuapp text 549640 549624 -16 -0.0
lock-app nrf52840dk_nrf52840 text 610576 610572 -4 -0.0
nrf5340dk_nrf5340_cpuapp text 527552 527540 -12 -0.0
pump-app nrf52840dk_nrf52840 text 611788 611784 -4 -0.0
pump-controller-app nrf52840dk_nrf52840 text 609324 609320 -4 -0.0
shell nrf5340dk_nrf5340_cpuapp text 450860 450844 -16 -0.0
Full report (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section b81facc 3134ce5 change % change
efr32 lighting-app BRD4161A (read only) 830576 830576 0 0.0
(read/write) 127096 127096 0 0.0
.bss 125216 125216 0 0.0
.data 1876 1876 0 0.0
.text 830568 830568 0 0.0
BRD4161A+rpc (read only) 817772 817772 0 0.0
(read/write) 143752 143752 0 0.0
.bss 141776 141776 0 0.0
.data 1976 1976 0 0.0
.text 817764 817764 0 0.0
window-app BRD4161A (read only) 804024 804024 0 0.0
(read/write) 126032 126032 0 0.0
.bss 124200 124200 0 0.0
.data 1832 1832 0 0.0
.text 804016 804016 0 0.0
esp32 all-clusters-app c3devkit (read only) 891298 891298 0 0.0
(read/write) 1314178 1314178 0 0.0
.dram0.bss 69552 69552 0 0.0
.dram0.data 14236 14236 0 0.0
.flash.rodata 177336 177336 0 0.0
.flash.text 891298 891298 0 0.0
.iram0.text 62254 62254 0 0.0
m5stack (read only) 946699 946699 0 0.0
(read/write) 440928 440928 0 0.0
.dram0.bss 72232 72232 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 203624 203624 0 0.0
.flash.text 941315 941315 0 0.0
.iram0.text 122671 122671 0 0.0
k32w light k32w061+release (read/write) 649288 649288 0 0.0
.bss 76240 76240 0 0.0
.data 1904 1904 0 0.0
.text 565344 565344 0 0.0
lock k32w061+release (read/write) 634104 634104 0 0.0
.bss 75944 75944 0 0.0
.data 1860 1860 0 0.0
.text 550500 550500 0 0.0
linux chip-tool-ipv6only arm64 (read only) 7033996 7033996 0 0.0
(read/write) 325073 325073 0 0.0
.bss 54241 54241 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 209064 209064 0 0.0
.dynamic 560 560 0 0.0
.got 56992 56992 0 0.0
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 384292 384292 0 0.0
.text 5956932 5956932 0 0.0
thermostat-no-ble arm64 (read only) 2026956 2026956 0 0.0
(read/write) 144193 144193 0 0.0
.bss 64033 64033 0 0.0
.data 880 880 0 0.0
.data.rel.ro 72392 72392 0 0.0
.dynamic 560 560 0 0.0
.got 3952 3952 0 0.0
.init 24 24 0 0.0
.init_array 296 296 0 0.0
.rodata 128844 128844 0 0.0
.text 1685200 1685200 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2348264 2348264 0 0.0
.bss 188812 188812 0 0.0
.data 5312 5312 0 0.0
.text 1310840 1310840 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2330160 2330160 0 0.0
.bss 180632 180632 0 0.0
.data 5552 5552 0 0.0
.text 1292760 1292760 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2303312 2303312 0 0.0
.bss 179680 179680 0 0.0
.data 5544 5544 0 0.0
.text 1265912 1265912 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054200 2054200 0 0.0
.bss 156972 156972 0 0.0
.data 4864 4864 0 0.0
.text 1016800 1016800 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 936687 937791 1104 0.1
bss 118208 119328 1120 0.9
rodata 108220 108220 0 0.0
text 632700 632696 -4 -0.0
nrf52840dk_nrf52840+rpc (read/write) 922147 922147 0 0.0
bss 115252 115252 0 0.0
rodata 100664 100664 0 0.0
text 628052 628052 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 847666 847666 0 0.0
bss 116100 116116 16 0.0
rodata 101396 101396 0 0.0
text 549640 549624 -16 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 908831 909951 1120 0.1
bss 117396 118516 1120 1.0
rodata 103492 103492 0 0.0
text 610576 610572 -4 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 820006 820038 32 0.0
bss 115316 115332 16 0.0
rodata 96720 96720 0 0.0
text 527552 527540 -12 -0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541835 541835 0 0.0
bss 52588 52588 0 0.0
rodata 50104 50104 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 910111 911231 1120 0.1
bss 117156 118276 1120 1.0
rodata 103708 103708 0 0.0
text 611788 611784 -4 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 906911 908031 1120 0.1
bss 117184 118304 1120 1.0
rodata 102964 102964 0 0.0
text 609324 609320 -4 -0.0
shell nrf52840dk_nrf52840 (read/write) 797543 797543 0 0.0
bss 109680 109680 0 0.0
rodata 78188 78188 0 0.0
text 533180 533180 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 710362 710362 0 0.0
bss 107568 107584 16 0.0
rodata 72492 72492 0 0.0
text 450860 450844 -16 -0.0
p6 all-clusters-app default (read/write) 2403672 2403672 0 0.0
.bss 117020 117020 0 0.0
.data 2592 2592 0 0.0
.text 1361936 1361936 0 0.0
light-app default (read/write) 2325656 2325656 0 0.0
.bss 105888 105888 0 0.0
.data 2384 2384 0 0.0
.text 1283920 1283920 0 0.0
lock-app default (read/write) 2297856 2297856 0 0.0
.bss 104768 104768 0 0.0
.data 2336 2336 0 0.0
.text 1256120 1256120 0 0.0
qpg lighting-app qpg6105+debug (read only) 532452 532452 0 0.0
(read/write) 146936 146936 0 0.0
.bss 86696 86696 0 0.0
.data 1004 1004 0 0.0
.text 527132 527132 0 0.0
lock-app qpg6105+debug (read only) 504232 504232 0 0.0
(read/write) 146940 146940 0 0.0
.bss 85832 85832 0 0.0
.data 952 952 0 0.0
.text 498912 498912 0 0.0
persistent-storage-app qpg6105+debug (read only) 106448 106448 0 0.0
(read/write) 146938 146938 0 0.0
.bss 36146 36146 0 0.0
.data 288 288 0 0.0
.text 101128 101128 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 834110 834110 0 0.0
bss 87020 87020 0 0.0
noinit 37160 37160 0 0.0
text 582188 582188 0 0.0

Copy link
Contributor

@Damian-Nordic Damian-Nordic left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! Just have one comment on including the board overlays.

scripts/examples/nrfconnect_example.sh Outdated Show resolved Hide resolved
@lmpprk lmpprk requested a review from Damian-Nordic January 7, 2022 14:48
@github-actions
Copy link

github-actions bot commented Jan 7, 2022

PR #13285: Size comparison from b81facc to 35ddfef

Increases above 0.2%:

platform target config section b81facc 35ddfef change % change
k32w light k32w061+release (read/write) 649288 655596 6308 1.0
.bss 76240 76864 624 0.8
.text 565344 571084 5740 1.0
lock k32w061+release (read/write) 634104 659856 25752 4.1
.bss 75944 77160 1216 1.6
.data 1860 1868 8 0.4
.text 550500 575028 24528 4.5
linux thermostat-no-ble arm64 (read only) 2026956 2031036 4080 0.2
.text 1685200 1689280 4080 0.2
Increases (6 builds for k32w, linux, qpg, telink)
platform target config section b81facc 35ddfef change % change
k32w light k32w061+release (read/write) 649288 655596 6308 1.0
.bss 76240 76864 624 0.8
.text 565344 571084 5740 1.0
lock k32w061+release (read/write) 634104 659856 25752 4.1
.bss 75944 77160 1216 1.6
.data 1860 1868 8 0.4
.text 550500 575028 24528 4.5
linux thermostat-no-ble arm64 (read only) 2026956 2031036 4080 0.2
.text 1685200 1689280 4080 0.2
qpg lighting-app qpg6105+debug (read only) 532452 533268 816 0.2
.text 527132 527948 816 0.2
lock-app qpg6105+debug (read only) 504232 505044 812 0.2
.text 498912 499724 812 0.2
telink lighting-app tlsr9518adk80d text 582188 582240 52 0.0
Decreases (4 builds for k32w, qpg, telink)
platform target config section b81facc 35ddfef change % change
k32w light k32w061+release .data 1904 1848 -56 -2.9
qpg lighting-app qpg6105+debug .bss 86696 86688 -8 -0.0
lock-app qpg6105+debug .bss 85832 85824 -8 -0.0
telink lighting-app tlsr9518adk80d (read/write) 834110 834102 -8 -0.0
bss 87020 86864 -156 -0.2
Full report (8 builds for k32w, linux, qpg, telink)
platform target config section b81facc 35ddfef change % change
k32w light k32w061+release (read/write) 649288 655596 6308 1.0
.bss 76240 76864 624 0.8
.data 1904 1848 -56 -2.9
.text 565344 571084 5740 1.0
lock k32w061+release (read/write) 634104 659856 25752 4.1
.bss 75944 77160 1216 1.6
.data 1860 1868 8 0.4
.text 550500 575028 24528 4.5
linux chip-tool-ipv6only arm64 (read only) 7033996 7033996 0 0.0
(read/write) 325073 325073 0 0.0
.bss 54241 54241 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 209064 209064 0 0.0
.dynamic 560 560 0 0.0
.got 56992 56992 0 0.0
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 384292 384292 0 0.0
.text 5956932 5956932 0 0.0
thermostat-no-ble arm64 (read only) 2026956 2031036 4080 0.2
(read/write) 144193 144193 0 0.0
.bss 64033 64033 0 0.0
.data 880 880 0 0.0
.data.rel.ro 72392 72392 0 0.0
.dynamic 560 560 0 0.0
.got 3952 3952 0 0.0
.init 24 24 0 0.0
.init_array 296 296 0 0.0
.rodata 128844 128844 0 0.0
.text 1685200 1689280 4080 0.2
qpg lighting-app qpg6105+debug (read only) 532452 533268 816 0.2
(read/write) 146936 146936 0 0.0
.bss 86696 86688 -8 -0.0
.data 1004 1004 0 0.0
.text 527132 527948 816 0.2
lock-app qpg6105+debug (read only) 504232 505044 812 0.2
(read/write) 146940 146940 0 0.0
.bss 85832 85824 -8 -0.0
.data 952 952 0 0.0
.text 498912 499724 812 0.2
persistent-storage-app qpg6105+debug (read only) 106448 106448 0 0.0
(read/write) 146938 146938 0 0.0
.bss 36146 36146 0 0.0
.data 288 288 0 0.0
.text 101128 101128 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 834110 834102 -8 -0.0
bss 87020 86864 -156 -0.2
noinit 37160 37160 0 0.0
text 582188 582240 52 0.0

@github-actions
Copy link

github-actions bot commented Jan 7, 2022

PR #13285: Size comparison from 0e5bc69 to e65ed93

Full report (14 builds for efr32, k32w, linux, p6, qpg, telink)
platform target config section 0e5bc69 e65ed93 change % change
efr32 lighting-app BRD4161A (read only) 831728 831728 0 0.0
(read/write) 127088 127088 0 0.0
.bss 125208 125208 0 0.0
.data 1876 1876 0 0.0
.text 831720 831720 0 0.0
BRD4161A+rpc (read only) 818892 818892 0 0.0
(read/write) 143744 143744 0 0.0
.bss 141768 141768 0 0.0
.data 1976 1976 0 0.0
.text 818884 818884 0 0.0
window-app BRD4161A (read only) 805176 805176 0 0.0
(read/write) 126024 126024 0 0.0
.bss 124192 124192 0 0.0
.data 1832 1832 0 0.0
.text 805168 805168 0 0.0
k32w light k32w061+release (read/write) 655596 655596 0 0.0
.bss 76864 76864 0 0.0
.data 1848 1848 0 0.0
.text 571084 571084 0 0.0
lock k32w061+release (read/write) 659856 659856 0 0.0
.bss 77160 77160 0 0.0
.data 1868 1868 0 0.0
.text 575028 575028 0 0.0
linux chip-tool-ipv6only arm64 (read only) 7033996 7033996 0 0.0
(read/write) 325073 325073 0 0.0
.bss 54241 54241 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 209064 209064 0 0.0
.dynamic 560 560 0 0.0
.got 56992 56992 0 0.0
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 384292 384292 0 0.0
.text 5956932 5956932 0 0.0
thermostat-no-ble arm64 (read only) 2031036 2031036 0 0.0
(read/write) 144193 144193 0 0.0
.bss 64033 64033 0 0.0
.data 880 880 0 0.0
.data.rel.ro 72392 72392 0 0.0
.dynamic 560 560 0 0.0
.got 3952 3952 0 0.0
.init 24 24 0 0.0
.init_array 296 296 0 0.0
.rodata 128844 128844 0 0.0
.text 1689280 1689280 0 0.0
p6 all-clusters-app default (read/write) 2404872 2404872 0 0.0
.bss 117020 117020 0 0.0
.data 2592 2592 0 0.0
.text 1363136 1363136 0 0.0
light-app default (read/write) 2326832 2326832 0 0.0
.bss 105888 105888 0 0.0
.data 2384 2384 0 0.0
.text 1285096 1285096 0 0.0
lock-app default (read/write) 2299032 2299032 0 0.0
.bss 104768 104768 0 0.0
.data 2336 2336 0 0.0
.text 1257296 1257296 0 0.0
qpg lighting-app qpg6105+debug (read only) 533268 533268 0 0.0
(read/write) 146936 146936 0 0.0
.bss 86688 86688 0 0.0
.data 1004 1004 0 0.0
.text 527948 527948 0 0.0
lock-app qpg6105+debug (read only) 505044 505044 0 0.0
(read/write) 146940 146940 0 0.0
.bss 85824 85824 0 0.0
.data 952 952 0 0.0
.text 499724 499724 0 0.0
persistent-storage-app qpg6105+debug (read only) 106448 106448 0 0.0
(read/write) 146938 146938 0 0.0
.bss 36146 36146 0 0.0
.data 288 288 0 0.0
.text 101128 101128 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 834102 834102 0 0.0
bss 86864 86864 0 0.0
noinit 37160 37160 0 0.0
text 582240 582240 0 0.0

@github-actions
Copy link

github-actions bot commented Jan 7, 2022

PR #13285: Size comparison from 36a759d to 1e97bf3

Full report (21 builds for efr32, esp32, k32w, linux, mbed, p6, qpg, telink)
platform target config section 36a759d 1e97bf3 change % change
efr32 lighting-app BRD4161A (read only) 831968 831968 0 0.0
(read/write) 127088 127088 0 0.0
.bss 125208 125208 0 0.0
.data 1876 1876 0 0.0
.text 831960 831960 0 0.0
BRD4161A+rpc (read only) 819148 819148 0 0.0
(read/write) 143744 143744 0 0.0
.bss 141768 141768 0 0.0
.data 1976 1976 0 0.0
.text 819140 819140 0 0.0
window-app BRD4161A (read only) 805416 805416 0 0.0
(read/write) 126024 126024 0 0.0
.bss 124192 124192 0 0.0
.data 1832 1832 0 0.0
.text 805408 805408 0 0.0
esp32 all-clusters-app c3devkit (read only) 891956 891956 0 0.0
(read/write) 1314290 1314290 0 0.0
.dram0.bss 69552 69552 0 0.0
.dram0.data 14236 14236 0 0.0
.flash.rodata 177448 177448 0 0.0
.flash.text 891956 891956 0 0.0
.iram0.text 62254 62254 0 0.0
m5stack (read only) 951691 951691 0 0.0
(read/write) 445872 445872 0 0.0
.dram0.bss 74048 74048 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 206752 206752 0 0.0
.flash.text 946307 946307 0 0.0
.iram0.text 122671 122671 0 0.0
k32w light k32w061+release (read/write) 655772 655772 0 0.0
.bss 76864 76864 0 0.0
.data 1848 1848 0 0.0
.text 571260 571260 0 0.0
lock k32w061+release (read/write) 660032 660032 0 0.0
.bss 77160 77160 0 0.0
.data 1868 1868 0 0.0
.text 575204 575204 0 0.0
linux chip-tool-ipv6only arm64 (read only) 7033996 7033996 0 0.0
(read/write) 325073 325073 0 0.0
.bss 54241 54241 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 209064 209064 0 0.0
.dynamic 560 560 0 0.0
.got 56992 56992 0 0.0
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 384292 384292 0 0.0
.text 5956932 5956932 0 0.0
thermostat-no-ble arm64 (read only) 2031036 2031036 0 0.0
(read/write) 144193 144193 0 0.0
.bss 64033 64033 0 0.0
.data 880 880 0 0.0
.data.rel.ro 72392 72392 0 0.0
.dynamic 560 560 0 0.0
.got 3952 3952 0 0.0
.init 24 24 0 0.0
.init_array 296 296 0 0.0
.rodata 128844 128844 0 0.0
.text 1689280 1689280 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2349024 2349024 0 0.0
.bss 188812 188812 0 0.0
.data 5312 5312 0 0.0
.text 1311600 1311600 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2330912 2330912 0 0.0
.bss 180632 180632 0 0.0
.data 5552 5552 0 0.0
.text 1293512 1293512 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2304072 2304072 0 0.0
.bss 179680 179680 0 0.0
.data 5544 5544 0 0.0
.text 1266672 1266672 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2053888 2053888 0 0.0
.bss 156972 156972 0 0.0
.data 4864 4864 0 0.0
.text 1016488 1016488 0 0.0
p6 all-clusters-app default (read/write) 2404872 2404872 0 0.0
.bss 117020 117020 0 0.0
.data 2592 2592 0 0.0
.text 1363136 1363136 0 0.0
light-app default (read/write) 2326832 2326832 0 0.0
.bss 105888 105888 0 0.0
.data 2384 2384 0 0.0
.text 1285096 1285096 0 0.0
lock-app default (read/write) 2299032 2299032 0 0.0
.bss 104768 104768 0 0.0
.data 2336 2336 0 0.0
.text 1257296 1257296 0 0.0
qpg lighting-app qpg6105+debug (read only) 533268 533268 0 0.0
(read/write) 146936 146936 0 0.0
.bss 86688 86688 0 0.0
.data 1004 1004 0 0.0
.text 527948 527948 0 0.0
lock-app qpg6105+debug (read only) 505044 505044 0 0.0
(read/write) 146940 146940 0 0.0
.bss 85824 85824 0 0.0
.data 952 952 0 0.0
.text 499724 499724 0 0.0
persistent-storage-app qpg6105+debug (read only) 106448 106448 0 0.0
(read/write) 146938 146938 0 0.0
.bss 36146 36146 0 0.0
.data 288 288 0 0.0
.text 101128 101128 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 834102 834102 0 0.0
bss 86864 86864 0 0.0
noinit 37160 37160 0 0.0
text 582240 582240 0 0.0

@andy31415
Copy link
Contributor

/rebase

@github-actions
Copy link

github-actions bot commented Jan 10, 2022

PR #13285: Size comparison from f2c2650 to 82c892a

Increases above 0.2%:

platform target config section f2c2650 82c892a change % change
nrfconnect lighting-app nrf52840dk_nrf52840 bss 118112 119232 1120 0.9
nrf52840dk_nrf52840+rpc bss 115156 116276 1120 1.0
lock-app nrf52840dk_nrf52840 bss 117300 118420 1120 1.0
pump-app nrf52840dk_nrf52840 bss 117060 118180 1120 1.0
pump-controller-app nrf52840dk_nrf52840 bss 117088 118208 1120 1.0
Increases (7 builds for nrfconnect)
platform target config section f2c2650 82c892a change % change
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 937115 938235 1120 0.1
bss 118112 119232 1120 0.9
nrf52840dk_nrf52840+rpc (read/write) 923527 924647 1120 0.1
bss 115156 116276 1120 1.0
nrf5340dk_nrf5340_cpuapp bss 116004 116020 16 0.0
lock-app nrf52840dk_nrf52840 (read/write) 909259 910379 1120 0.1
bss 117300 118420 1120 1.0
nrf5340dk_nrf5340_cpuapp (read/write) 820434 820450 16 0.0
bss 115220 115236 16 0.0
pump-app nrf52840dk_nrf52840 (read/write) 910539 911659 1120 0.1
bss 117060 118180 1120 1.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 907339 908459 1120 0.1
bss 117088 118208 1120 1.0
Decreases (6 builds for nrfconnect)
platform target config section f2c2650 82c892a change % change
nrfconnect lighting-app nrf52840dk_nrf52840 text 633332 633328 -4 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 848110 848094 -16 -0.0
text 550268 550252 -16 -0.0
lock-app nrf52840dk_nrf52840 text 611196 611192 -4 -0.0
nrf5340dk_nrf5340_cpuapp text 528172 528156 -16 -0.0
pump-app nrf52840dk_nrf52840 text 612412 612408 -4 -0.0
pump-controller-app nrf52840dk_nrf52840 text 609944 609940 -4 -0.0
Full report (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section f2c2650 82c892a change % change
efr32 lighting-app BRD4161A (read only) 829244 829244 0 0.0
(read/write) 126996 126996 0 0.0
.bss 125120 125120 0 0.0
.data 1876 1876 0 0.0
.text 829236 829236 0 0.0
BRD4161A+rpc (read only) 816888 816888 0 0.0
(read/write) 143656 143656 0 0.0
.bss 141680 141680 0 0.0
.data 1976 1976 0 0.0
.text 816880 816880 0 0.0
window-app BRD4161A (read only) 802708 802708 0 0.0
(read/write) 125936 125936 0 0.0
.bss 124104 124104 0 0.0
.data 1832 1832 0 0.0
.text 802700 802700 0 0.0
esp32 all-clusters-app c3devkit (read only) 891640 891640 0 0.0
(read/write) 1314026 1314026 0 0.0
.dram0.bss 69480 69480 0 0.0
.dram0.data 14236 14236 0 0.0
.flash.rodata 177248 177248 0 0.0
.flash.text 891640 891640 0 0.0
.iram0.text 62254 62254 0 0.0
m5stack (read only) 951627 951627 0 0.0
(read/write) 445604 445604 0 0.0
.dram0.bss 73968 73968 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 206564 206564 0 0.0
.flash.text 946243 946243 0 0.0
.iram0.text 122671 122671 0 0.0
k32w light k32w061+release (read/write) 655308 655308 0 0.0
.bss 76776 76776 0 0.0
.data 1848 1848 0 0.0
.text 570884 570884 0 0.0
lock k32w061+release (read/write) 659632 659632 0 0.0
.bss 77072 77072 0 0.0
.data 1868 1868 0 0.0
.text 574892 574892 0 0.0
linux chip-tool-ipv6only arm64 (read only) 7105196 7105196 0 0.0
(read/write) 327009 327009 0 0.0
.bss 54865 54865 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 209392 209392 0 0.0
.dynamic 560 560 0 0.0
.got 57968 57968 0 0.0
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 388900 388900 0 0.0
.text 6019748 6019748 0 0.0
thermostat-no-ble arm64 (read only) 2033724 2033724 0 0.0
(read/write) 145089 145089 0 0.0
.bss 64657 64657 0 0.0
.data 880 880 0 0.0
.data.rel.ro 72624 72624 0 0.0
.dynamic 560 560 0 0.0
.got 4000 4000 0 0.0
.init 24 24 0 0.0
.init_array 296 296 0 0.0
.rodata 128988 128988 0 0.0
.text 1691088 1691088 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2348240 2348240 0 0.0
.bss 188724 188724 0 0.0
.data 5312 5312 0 0.0
.text 1310816 1310816 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2330752 2330752 0 0.0
.bss 180544 180544 0 0.0
.data 5552 5552 0 0.0
.text 1293352 1293352 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2303904 2303904 0 0.0
.bss 179592 179592 0 0.0
.data 5544 5544 0 0.0
.text 1266504 1266504 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2054256 2054256 0 0.0
.bss 157060 157060 0 0.0
.data 4864 4864 0 0.0
.text 1016856 1016856 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 937115 938235 1120 0.1
bss 118112 119232 1120 0.9
rodata 108120 108120 0 0.0
text 633332 633328 -4 -0.0
nrf52840dk_nrf52840+rpc (read/write) 923527 924647 1120 0.1
bss 115156 116276 1120 1.0
rodata 101548 101548 0 0.0
text 628644 628644 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 848110 848094 -16 -0.0
bss 116004 116020 16 0.0
rodata 101296 101296 0 0.0
text 550268 550252 -16 -0.0
lock-app nrf52840dk_nrf52840 (read/write) 909259 910379 1120 0.1
bss 117300 118420 1120 1.0
rodata 103392 103392 0 0.0
text 611196 611192 -4 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 820434 820450 16 0.0
bss 115220 115236 16 0.0
rodata 96620 96620 0 0.0
text 528172 528156 -16 -0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 542351 542351 0 0.0
bss 52588 52588 0 0.0
rodata 50668 50668 0 0.0
text 376892 376892 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 910539 911659 1120 0.1
bss 117060 118180 1120 1.0
rodata 103608 103608 0 0.0
text 612412 612408 -4 -0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 907339 908459 1120 0.1
bss 117088 118208 1120 1.0
rodata 102864 102864 0 0.0
text 609944 609940 -4 -0.0
shell nrf52840dk_nrf52840 (read/write) 797935 797935 0 0.0
bss 109768 109768 0 0.0
rodata 78148 78148 0 0.0
text 533508 533508 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 710750 710750 0 0.0
bss 107656 107656 0 0.0
rodata 72448 72448 0 0.0
text 451188 451188 0 0.0
p6 all-clusters-app default (read/write) 2401288 2401288 0 0.0
.bss 116812 116812 0 0.0
.data 2592 2592 0 0.0
.text 1359552 1359552 0 0.0
light-app default (read/write) 2323696 2323696 0 0.0
.bss 105672 105672 0 0.0
.data 2384 2384 0 0.0
.text 1281960 1281960 0 0.0
lock-app default (read/write) 2295920 2295920 0 0.0
.bss 104552 104552 0 0.0
.data 2336 2336 0 0.0
.text 1254184 1254184 0 0.0
qpg lighting-app qpg6105+debug (read only) 533208 533208 0 0.0
(read/write) 146936 146936 0 0.0
.bss 86624 86624 0 0.0
.data 1004 1004 0 0.0
.text 527888 527888 0 0.0
lock-app qpg6105+debug (read only) 504984 504984 0 0.0
(read/write) 146940 146940 0 0.0
.bss 85760 85760 0 0.0
.data 952 952 0 0.0
.text 499664 499664 0 0.0
persistent-storage-app qpg6105+debug (read only) 106448 106448 0 0.0
(read/write) 146938 146938 0 0.0
.bss 36146 36146 0 0.0
.data 288 288 0 0.0
.text 101128 101128 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 834522 834522 0 0.0
bss 86924 86924 0 0.0
noinit 37160 37160 0 0.0
text 582766 582766 0 0.0

@andy31415 andy31415 merged commit 46cd8db into project-chip:master Jan 10, 2022
@lmpprk lmpprk deleted the nrf-dongle branch January 11, 2022 00:24
step0035 pushed a commit to hank820/connectedhomeip that referenced this pull request Feb 8, 2022
* Update for building nrf52840dongle with zephyr 2.7

* Fix example script not loading the board overlays

* restyle update

* Use array for params avoid empty string in param

* fix style

* update to support nrf52840 dongle

* fix for restyle

* limit dongle to lighting-app target; update test data

* avoid empty args; fix root path

* fix CMakeList.txt isntead of fixing the scripts
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.

Lighting-app stopped building for nRF52840-dongle
5 participants