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 support for updating network core using new DFU Target library. #17236

Merged
merged 1 commit into from
Apr 13, 2022

Conversation

ArekBalysNordic
Copy link
Contributor

@ArekBalysNordic ArekBalysNordic commented Apr 11, 2022

Problem

Old DFU Target API did not allow to perform a firmware update for app core and net core simultaneously.
DFU Target API needs to be updated and utilized in the OTA process for nrfconnect boards.

Change overview

  • Updated NCS revision to cc0412169 to get new DFU Target revision.
  • Utilized new DFU Target API.
  • Handled both application and network core image swap for NRF5340.

Testing
Tested manually on NRF5340DK
CI tested

@github-actions
Copy link

github-actions bot commented Apr 11, 2022

PR #17236: Size comparison from 1123440 to 7948961

Increases above 0.2%:

platform target config section 1123440 7948961 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1154967 1162051 7084 0.6
bss 135304 136368 1064 0.8
rodata 146544 147076 532 0.4
text 794408 799948 5540 0.7
lighting-app nrf52840dk_nrf52840 (read/write) 1141399 1148451 7052 0.6
bss 139040 140104 1064 0.8
rodata 121624 122156 532 0.4
text 802076 807588 5512 0.7
nrf52840dk_nrf52840+rpc (read/write) 1105651 1112775 7124 0.6
bss 139276 140340 1064 0.8
rodata 112748 113264 516 0.5
text 774496 780100 5604 0.7
nrf52840dongle_nrf52840 (read/write) 1050443 1057071 6628 0.6
bss 146288 147312 1024 0.7
rodata 91948 92384 436 0.5
text 731388 736580 5192 0.7
lock-app nrf52840dk_nrf52840 (read/write) 1041639 1048699 7060 0.7
bss 128984 130048 1064 0.8
rodata 114408 114940 532 0.5
text 719796 725336 5540 0.8
pump-app nrf52840dk_nrf52840 (read/write) 1061215 1068419 7204 0.7
bss 128992 130056 1064 0.8
rodata 117056 117588 532 0.5
text 736580 742120 5540 0.8
pump-controller-app nrf52840dk_nrf52840 (read/write) 1043211 1050271 7060 0.7
bss 128712 129776 1064 0.8
rodata 113100 113632 532 0.5
text 722812 728352 5540 0.8
Increases (9 builds for nrfconnect)
platform target config section 1123440 7948961 change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1154967 1162051 7084 0.6
bss 135304 136368 1064 0.8
rodata 146544 147076 532 0.4
text 794408 799948 5540 0.7
lighting-app nrf52840dk_nrf52840 (read/write) 1141399 1148451 7052 0.6
bss 139040 140104 1064 0.8
rodata 121624 122156 532 0.4
text 802076 807588 5512 0.7
nrf52840dk_nrf52840+rpc (read/write) 1105651 1112775 7124 0.6
bss 139276 140340 1064 0.8
rodata 112748 113264 516 0.5
text 774496 780100 5604 0.7
nrf52840dongle_nrf52840 (read/write) 1050443 1057071 6628 0.6
bss 146288 147312 1024 0.7
rodata 91948 92384 436 0.5
text 731388 736580 5192 0.7
nrf5340dk_nrf5340_cpuapp (read/write) 1050110 1050878 768 0.1
bss 136104 136304 200 0.1
rodata 114796 114908 112 0.1
text 717240 717708 468 0.1
lock-app nrf52840dk_nrf52840 (read/write) 1041639 1048699 7060 0.7
bss 128984 130048 1064 0.8
rodata 114408 114940 532 0.5
text 719796 725336 5540 0.8
nrf5340dk_nrf5340_cpuapp (read/write) 950694 951522 828 0.1
bss 126080 126280 200 0.2
rodata 107636 107744 108 0.1
text 635116 635608 492 0.1
pump-app nrf52840dk_nrf52840 (read/write) 1061215 1068419 7204 0.7
bss 128992 130056 1064 0.8
rodata 117056 117588 532 0.5
text 736580 742120 5540 0.8
pump-controller-app nrf52840dk_nrf52840 (read/write) 1043211 1050271 7060 0.7
bss 128712 129776 1064 0.8
rodata 113100 113632 532 0.5
text 722812 728352 5540 0.8
Full report (30 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 1123440 7948961 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 639379 639379 0 0.0
(read/write) 151052 151052 0 0.0
.bss 73984 73984 0 0.0
.data 3212 3212 0 0.0
.rodata 79955 79955 0 0.0
.text 558932 558932 0 0.0
lock-mtd LP_CC2652R7 (read only) 588115 588115 0 0.0
(read/write) 146772 146772 0 0.0
.bss 69704 69704 0 0.0
.data 3212 3212 0 0.0
.rodata 79835 79835 0 0.0
.text 507788 507788 0 0.0
pump-app LP_CC2652R7 (read only) 647199 647199 0 0.0
(read/write) 152348 152348 0 0.0
.bss 74480 74480 0 0.0
.data 3244 3244 0 0.0
.rodata 75103 75103 0 0.0
.text 571608 571608 0 0.0
pump-controller-app LP_CC2652R7 (read only) 641419 641419 0 0.0
(read/write) 152016 152016 0 0.0
.bss 74184 74184 0 0.0
.data 3208 3208 0 0.0
.rodata 78763 78763 0 0.0
.text 562168 562168 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 617822 617822 0 0.0
.app_xip_area 524948 524948 0 0.0
.bss 75540 75540 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 575426 575426 0 0.0
.app_xip_area 484088 484088 0 0.0
.bss 74036 74036 0 0.0
.data 648 648 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 563918 563918 0 0.0
.app_xip_area 462952 462952 0 0.0
.bss 83368 83368 0 0.0
.data 564 564 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 906400 906400 0 0.0
(read/write) 132920 132920 0 0.0
.bss 130880 130880 0 0.0
.data 2040 2040 0 0.0
.text 906392 906392 0 0.0
BRD4161A+rpc (read only) 934272 934272 0 0.0
(read/write) 148872 148872 0 0.0
.bss 146648 146648 0 0.0
.data 2220 2220 0 0.0
.text 934264 934264 0 0.0
window-app BRD4161A (read only) 843688 843688 0 0.0
(read/write) 130992 130992 0 0.0
.bss 129040 129040 0 0.0
.data 1948 1948 0 0.0
.text 843680 843680 0 0.0
esp32 all-clusters-app c3devkit (read only) 992918 992918 0 0.0
(read/write) 1462514 1462514 0 0.0
.dram0.bss 62960 62960 0 0.0
.dram0.data 14364 14364 0 0.0
.flash.rodata 199720 199720 0 0.0
.flash.text 992918 992918 0 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1045591 1045591 0 0.0
(read/write) 463576 463576 0 0.0
.dram0.bss 68480 68480 0 0.0
.dram0.data 34160 34160 0 0.0
.flash.rodata 228792 228792 0 0.0
.flash.text 1040207 1040207 0 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 686348 686348 0 0.0
.bss 77968 77968 0 0.0
.data 2036 2036 0 0.0
.text 600544 600544 0 0.0
lock k32w061+release (read/write) 690948 690948 0 0.0
.bss 78544 78544 0 0.0
.data 1996 1996 0 0.0
.text 604608 604608 0 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 10279036 10279036 0 0.0
(read/write) 492193 492193 0 0.0
.bss 41009 41009 0 0.0
.data 1168 1168 0 0.0
.data.rel.ro 388824 388824 0 0.0
.dynamic 560 560 0 0.0
.got 57392 57392 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 512428 512428 0 0.0
.text 8663428 8663428 0 0.0
thermostat-no-ble arm64 (read only) 2351724 2351724 0 0.0
(read/write) 150833 150833 0 0.0
.bss 63025 63025 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 78600 78600 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 144652 144652 0 0.0
.text 1978592 1978592 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2367996 2367996 0 0.0
.bss 185076 185076 0 0.0
.data 5840 5840 0 0.0
.text 1330596 1330596 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1154967 1162051 7084 0.6
bss 135304 136368 1064 0.8
rodata 146544 147076 532 0.4
text 794408 799948 5540 0.7
lighting-app nrf52840dk_nrf52840 (read/write) 1141399 1148451 7052 0.6
bss 139040 140104 1064 0.8
rodata 121624 122156 532 0.4
text 802076 807588 5512 0.7
nrf52840dk_nrf52840+rpc (read/write) 1105651 1112775 7124 0.6
bss 139276 140340 1064 0.8
rodata 112748 113264 516 0.5
text 774496 780100 5604 0.7
nrf52840dongle_nrf52840 (read/write) 1050443 1057071 6628 0.6
bss 146288 147312 1024 0.7
rodata 91948 92384 436 0.5
text 731388 736580 5192 0.7
nrf5340dk_nrf5340_cpuapp (read/write) 1050110 1050878 768 0.1
bss 136104 136304 200 0.1
rodata 114796 114908 112 0.1
text 717240 717708 468 0.1
lock-app nrf52840dk_nrf52840 (read/write) 1041639 1048699 7060 0.7
bss 128984 130048 1064 0.8
rodata 114408 114940 532 0.5
text 719796 725336 5540 0.8
nrf5340dk_nrf5340_cpuapp (read/write) 950694 951522 828 0.1
bss 126080 126280 200 0.2
rodata 107636 107744 108 0.1
text 635116 635608 492 0.1
pump-app nrf52840dk_nrf52840 (read/write) 1061215 1068419 7204 0.7
bss 128992 130056 1064 0.8
rodata 117056 117588 532 0.5
text 736580 742120 5540 0.8
pump-controller-app nrf52840dk_nrf52840 (read/write) 1043211 1050271 7060 0.7
bss 128712 129776 1064 0.8
rodata 113100 113632 532 0.5
text 722812 728352 5540 0.8
p6 all-clusters-app default (read/write) 2514152 2514152 0 0.0
.bss 118480 118480 0 0.0
.data 2768 2768 0 0.0
.text 1472416 1472416 0 0.0
light-app default (read/write) 2414840 2414840 0 0.0
.bss 111976 111976 0 0.0
.data 2576 2576 0 0.0
.text 1373104 1373104 0 0.0
lock-app default (read/write) 2378408 2378408 0 0.0
.bss 111720 111720 0 0.0
.data 2536 2536 0 0.0
.text 1336672 1336672 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 800600 800600 0 0.0
bss 69828 69828 0 0.0
noinit 40416 40416 0 0.0
text 569474 569474 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.

Note that you need to also update the Docker image version in examples-nrfconnect.yaml and build-all.yaml (at least).

@github-actions
Copy link

github-actions bot commented Apr 12, 2022

PR #17236: Size comparison from c9350f7 to 0c2af5d

Increases above 0.2%:

platform target config section c9350f7 0c2af5d change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1155879 1162947 7068 0.6
bss 135464 136528 1064 0.8
rodata 146768 147300 532 0.4
text 794956 800496 5540 0.7
lighting-app nrf52840dk_nrf52840 (read/write) 1142067 1149119 7052 0.6
bss 139200 140264 1064 0.8
rodata 121812 122344 532 0.4
text 802416 807928 5512 0.7
nrf52840dk_nrf52840+rpc (read/write) 1106303 1113415 7112 0.6
bss 139436 140500 1064 0.8
rodata 112936 113456 520 0.5
text 774824 780428 5604 0.7
nrf52840dongle_nrf52840 (read/write) 1050971 1057599 6628 0.6
bss 146448 147472 1024 0.7
rodata 91964 92400 436 0.5
text 731636 736828 5192 0.7
lock-app nrf52840dk_nrf52840 (read/write) 1042291 1049495 7204 0.7
bss 129144 130208 1064 0.8
rodata 114596 115128 532 0.5
text 720136 725676 5540 0.8
pump-app nrf52840dk_nrf52840 (read/write) 1062111 1069315 7204 0.7
bss 129152 130216 1064 0.8
rodata 117280 117812 532 0.5
text 737128 742668 5540 0.8
pump-controller-app nrf52840dk_nrf52840 (read/write) 1043863 1051067 7204 0.7
bss 128872 129936 1064 0.8
rodata 113288 113820 532 0.5
text 723152 728692 5540 0.8
Increases (9 builds for nrfconnect)
platform target config section c9350f7 0c2af5d change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1155879 1162947 7068 0.6
bss 135464 136528 1064 0.8
rodata 146768 147300 532 0.4
text 794956 800496 5540 0.7
lighting-app nrf52840dk_nrf52840 (read/write) 1142067 1149119 7052 0.6
bss 139200 140264 1064 0.8
rodata 121812 122344 532 0.4
text 802416 807928 5512 0.7
nrf52840dk_nrf52840+rpc (read/write) 1106303 1113415 7112 0.6
bss 139436 140500 1064 0.8
rodata 112936 113456 520 0.5
text 774824 780428 5604 0.7
nrf52840dongle_nrf52840 (read/write) 1050971 1057599 6628 0.6
bss 146448 147472 1024 0.7
rodata 91964 92400 436 0.5
text 731636 736828 5192 0.7
nrf5340dk_nrf5340_cpuapp (read/write) 1050794 1051562 768 0.1
bss 136264 136464 200 0.1
rodata 114984 115096 112 0.1
text 717580 718048 468 0.1
lock-app nrf52840dk_nrf52840 (read/write) 1042291 1049495 7204 0.7
bss 129144 130208 1064 0.8
rodata 114596 115128 532 0.5
text 720136 725676 5540 0.8
nrf5340dk_nrf5340_cpuapp (read/write) 951378 952206 828 0.1
bss 126240 126440 200 0.2
rodata 107824 107932 108 0.1
text 635456 635948 492 0.1
pump-app nrf52840dk_nrf52840 (read/write) 1062111 1069315 7204 0.7
bss 129152 130216 1064 0.8
rodata 117280 117812 532 0.5
text 737128 742668 5540 0.8
pump-controller-app nrf52840dk_nrf52840 (read/write) 1043863 1051067 7204 0.7
bss 128872 129936 1064 0.8
rodata 113288 113820 532 0.5
text 723152 728692 5540 0.8
Full report (30 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section c9350f7 0c2af5d change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 639895 639895 0 0.0
(read/write) 151212 151212 0 0.0
.bss 74144 74144 0 0.0
.data 3212 3212 0 0.0
.rodata 80143 80143 0 0.0
.text 559260 559260 0 0.0
lock-mtd LP_CC2652R7 (read only) 588639 588639 0 0.0
(read/write) 146932 146932 0 0.0
.bss 69864 69864 0 0.0
.data 3212 3212 0 0.0
.rodata 80023 80023 0 0.0
.text 508124 508124 0 0.0
pump-app LP_CC2652R7 (read only) 647979 647979 0 0.0
(read/write) 152508 152508 0 0.0
.bss 74640 74640 0 0.0
.data 3244 3244 0 0.0
.rodata 75331 75331 0 0.0
.text 572160 572160 0 0.0
pump-controller-app LP_CC2652R7 (read only) 641951 641951 0 0.0
(read/write) 152176 152176 0 0.0
.bss 74344 74344 0 0.0
.data 3208 3208 0 0.0
.rodata 78967 78967 0 0.0
.text 562496 562496 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 618490 618490 0 0.0
.app_xip_area 525200 525200 0 0.0
.bss 75956 75956 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 576102 576102 0 0.0
.app_xip_area 484348 484348 0 0.0
.bss 74452 74452 0 0.0
.data 648 648 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 564618 564618 0 0.0
.app_xip_area 463236 463236 0 0.0
.bss 83784 83784 0 0.0
.data 564 564 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 907004 907004 0 0.0
(read/write) 133080 133080 0 0.0
.bss 131040 131040 0 0.0
.data 2040 2040 0 0.0
.text 906996 906996 0 0.0
BRD4161A+rpc (read only) 934876 934876 0 0.0
(read/write) 149028 149028 0 0.0
.bss 146808 146808 0 0.0
.data 2220 2220 0 0.0
.text 934868 934868 0 0.0
window-app BRD4161A (read only) 843996 843996 0 0.0
(read/write) 131148 131148 0 0.0
.bss 129200 129200 0 0.0
.data 1948 1948 0 0.0
.text 843988 843988 0 0.0
esp32 all-clusters-app c3devkit (read only) 979660 979660 0 0.0
(read/write) 1397514 1397514 0 0.0
.dram0.bss 62624 62624 0 0.0
.dram0.data 14420 14420 0 0.0
.flash.rodata 201552 201552 0 0.0
.flash.text 979660 979660 0 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1035227 1035227 0 0.0
(read/write) 465252 465252 0 0.0
.dram0.bss 68144 68144 0 0.0
.dram0.data 34152 34152 0 0.0
.flash.rodata 231120 231120 0 0.0
.flash.text 1029843 1029843 0 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 686712 686712 0 0.0
.bss 78128 78128 0 0.0
.data 2036 2036 0 0.0
.text 600748 600748 0 0.0
lock k32w061+release (read/write) 691344 691344 0 0.0
.bss 78704 78704 0 0.0
.data 1996 1996 0 0.0
.text 604844 604844 0 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 1027722 1027722 0 0.0
(read/write) 492193 492193 0 0.0
.bss 41009 41009 0 0.0
.data 1168 1168 0 0.0
.data.rel.ro 388816 388816 0 0.0
.dynamic 560 560 0 0.0
.got 57392 57392 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 512228 512228 0 0.0
.text 8661732 8661732 0 0.0
thermostat-no-ble arm64 (read only) 2352588 2352588 0 0.0
(read/write) 150993 150993 0 0.0
.bss 63153 63153 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 78632 78632 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 144668 144668 0 0.0
.text 1979344 1979344 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2368260 2368260 0 0.0
.bss 185236 185236 0 0.0
.data 5840 5840 0 0.0
.text 1330860 1330860 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1155879 1162947 7068 0.6
bss 135464 136528 1064 0.8
rodata 146768 147300 532 0.4
text 794956 800496 5540 0.7
lighting-app nrf52840dk_nrf52840 (read/write) 1142067 1149119 7052 0.6
bss 139200 140264 1064 0.8
rodata 121812 122344 532 0.4
text 802416 807928 5512 0.7
nrf52840dk_nrf52840+rpc (read/write) 1106303 1113415 7112 0.6
bss 139436 140500 1064 0.8
rodata 112936 113456 520 0.5
text 774824 780428 5604 0.7
nrf52840dongle_nrf52840 (read/write) 1050971 1057599 6628 0.6
bss 146448 147472 1024 0.7
rodata 91964 92400 436 0.5
text 731636 736828 5192 0.7
nrf5340dk_nrf5340_cpuapp (read/write) 1050794 1051562 768 0.1
bss 136264 136464 200 0.1
rodata 114984 115096 112 0.1
text 717580 718048 468 0.1
lock-app nrf52840dk_nrf52840 (read/write) 1042291 1049495 7204 0.7
bss 129144 130208 1064 0.8
rodata 114596 115128 532 0.5
text 720136 725676 5540 0.8
nrf5340dk_nrf5340_cpuapp (read/write) 951378 952206 828 0.1
bss 126240 126440 200 0.2
rodata 107824 107932 108 0.1
text 635456 635948 492 0.1
pump-app nrf52840dk_nrf52840 (read/write) 1062111 1069315 7204 0.7
bss 129152 130216 1064 0.8
rodata 117280 117812 532 0.5
text 737128 742668 5540 0.8
pump-controller-app nrf52840dk_nrf52840 (read/write) 1043863 1051067 7204 0.7
bss 128872 129936 1064 0.8
rodata 113288 113820 532 0.5
text 723152 728692 5540 0.8
p6 all-clusters-app default (read/write) 2514688 2514688 0 0.0
.bss 118640 118640 0 0.0
.data 2768 2768 0 0.0
.text 1472952 1472952 0 0.0
light-app default (read/write) 2415160 2415160 0 0.0
.bss 112136 112136 0 0.0
.data 2576 2576 0 0.0
.text 1373424 1373424 0 0.0
lock-app default (read/write) 2378728 2378728 0 0.0
.bss 111880 111880 0 0.0
.data 2536 2536 0 0.0
.text 1336992 1336992 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 800984 800984 0 0.0
bss 69988 69988 0 0.0
noinit 40416 40416 0 0.0
text 569678 569678 0 0.0

…rget library.

* Updated NCS revision to cc0412169 to get new DFU Target revision
* Utilized new DFU Target API
* Handled both application and network core image swap for NRF5340
@github-actions
Copy link

github-actions bot commented Apr 13, 2022

PR #17236: Size comparison from a75cd99 to bcaddff

Increases above 0.2%:

platform target config section a75cd99 bcaddff change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1156151 1163235 7084 0.6
bss 135464 136528 1064 0.8
rodata 146768 147300 532 0.4
text 795236 800776 5540 0.7
lighting-app nrf52840dk_nrf52840 (read/write) 1142339 1149391 7052 0.6
bss 139200 140264 1064 0.8
rodata 121812 122344 532 0.4
text 802696 808208 5512 0.7
nrf52840dk_nrf52840+rpc (read/write) 1106575 1113703 7128 0.6
bss 139436 140500 1064 0.8
rodata 112936 113456 520 0.5
text 775108 780712 5604 0.7
nrf52840dongle_nrf52840 (read/write) 1051243 1057871 6628 0.6
bss 146448 147472 1024 0.7
rodata 91964 92400 436 0.5
text 731916 737108 5192 0.7
lock-app nrf52840dk_nrf52840 (read/write) 1042563 1049767 7204 0.7
bss 129144 130208 1064 0.8
rodata 114596 115128 532 0.5
text 720416 725956 5540 0.8
pump-app nrf52840dk_nrf52840 (read/write) 1062399 1069603 7204 0.7
bss 129152 130216 1064 0.8
rodata 117280 117812 532 0.5
text 737408 742948 5540 0.8
pump-controller-app nrf52840dk_nrf52840 (read/write) 1044135 1051339 7204 0.7
bss 128872 129936 1064 0.8
rodata 113288 113820 532 0.5
text 723432 728972 5540 0.8
Increases (9 builds for nrfconnect)
platform target config section a75cd99 bcaddff change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1156151 1163235 7084 0.6
bss 135464 136528 1064 0.8
rodata 146768 147300 532 0.4
text 795236 800776 5540 0.7
lighting-app nrf52840dk_nrf52840 (read/write) 1142339 1149391 7052 0.6
bss 139200 140264 1064 0.8
rodata 121812 122344 532 0.4
text 802696 808208 5512 0.7
nrf52840dk_nrf52840+rpc (read/write) 1106575 1113703 7128 0.6
bss 139436 140500 1064 0.8
rodata 112936 113456 520 0.5
text 775108 780712 5604 0.7
nrf52840dongle_nrf52840 (read/write) 1051243 1057871 6628 0.6
bss 146448 147472 1024 0.7
rodata 91964 92400 436 0.5
text 731916 737108 5192 0.7
nrf5340dk_nrf5340_cpuapp (read/write) 1051082 1051850 768 0.1
bss 136264 136464 200 0.1
rodata 114984 115096 112 0.1
text 717860 718328 468 0.1
lock-app nrf52840dk_nrf52840 (read/write) 1042563 1049767 7204 0.7
bss 129144 130208 1064 0.8
rodata 114596 115128 532 0.5
text 720416 725956 5540 0.8
nrf5340dk_nrf5340_cpuapp (read/write) 951666 952494 828 0.1
bss 126240 126440 200 0.2
rodata 107824 107932 108 0.1
text 635736 636228 492 0.1
pump-app nrf52840dk_nrf52840 (read/write) 1062399 1069603 7204 0.7
bss 129152 130216 1064 0.8
rodata 117280 117812 532 0.5
text 737408 742948 5540 0.8
pump-controller-app nrf52840dk_nrf52840 (read/write) 1044135 1051339 7204 0.7
bss 128872 129936 1064 0.8
rodata 113288 113820 532 0.5
text 723432 728972 5540 0.8
Full report (39 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section a75cd99 bcaddff change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 640211 640211 0 0.0
(read/write) 151212 151212 0 0.0
.bss 74144 74144 0 0.0
.data 3212 3212 0 0.0
.rodata 80163 80163 0 0.0
.text 559556 559556 0 0.0
lock-mtd LP_CC2652R7 (read only) 588947 588947 0 0.0
(read/write) 146932 146932 0 0.0
.bss 69864 69864 0 0.0
.data 3212 3212 0 0.0
.rodata 80043 80043 0 0.0
.text 508412 508412 0 0.0
pump-app LP_CC2652R7 (read only) 648287 648287 0 0.0
(read/write) 152508 152508 0 0.0
.bss 74640 74640 0 0.0
.data 3244 3244 0 0.0
.rodata 75351 75351 0 0.0
.text 572448 572448 0 0.0
pump-controller-app LP_CC2652R7 (read only) 642267 642267 0 0.0
(read/write) 152176 152176 0 0.0
.bss 74344 74344 0 0.0
.data 3208 3208 0 0.0
.rodata 78987 78987 0 0.0
.text 562792 562792 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 618818 618818 0 0.0
.app_xip_area 525528 525528 0 0.0
.bss 75956 75956 0 0.0
.data 684 684 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 576414 576414 0 0.0
.app_xip_area 484660 484660 0 0.0
.bss 74452 74452 0 0.0
.data 648 648 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 564938 564938 0 0.0
.app_xip_area 463556 463556 0 0.0
.bss 83784 83784 0 0.0
.data 564 564 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 907300 907300 0 0.0
(read/write) 133080 133080 0 0.0
.bss 131040 131040 0 0.0
.data 2040 2040 0 0.0
.text 907292 907292 0 0.0
BRD4161A+rpc (read only) 941668 941668 0 0.0
(read/write) 149764 149764 0 0.0
.bss 147520 147520 0 0.0
.data 2244 2244 0 0.0
.text 941660 941660 0 0.0
window-app BRD4161A (read only) 844292 844292 0 0.0
(read/write) 131148 131148 0 0.0
.bss 129200 129200 0 0.0
.data 1948 1948 0 0.0
.text 844284 844284 0 0.0
esp32 all-clusters-app c3devkit (read only) 979702 979702 0 0.0
(read/write) 1397514 1397514 0 0.0
.dram0.bss 62624 62624 0 0.0
.dram0.data 14420 14420 0 0.0
.flash.rodata 201552 201552 0 0.0
.flash.text 979702 979702 0 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1035283 1035283 0 0.0
(read/write) 465252 465252 0 0.0
.dram0.bss 68144 68144 0 0.0
.dram0.data 34152 34152 0 0.0
.flash.rodata 231120 231120 0 0.0
.flash.text 1029899 1029899 0 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 687036 687036 0 0.0
.bss 78128 78128 0 0.0
.data 2036 2036 0 0.0
.text 601072 601072 0 0.0
lock k32w061+release (read/write) 691652 691652 0 0.0
.bss 78704 78704 0 0.0
.data 1996 1996 0 0.0
.text 605152 605152 0 0.0
linux all-clusters-app debug (read only) 2696513 2696513 0 0.0
(read/write) 149120 149120 0 0.0
.bss 60192 60192 0 0.0
.data 1888 1888 0 0.0
.data.rel.ro 80984 80984 0 0.0
.dynamic 608 608 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 984 984 0 0.0
.rodata 232421 232421 0 0.0
.text 2290098 2290098 0 0.0
bridge-app debug+rpc (read only) 1836109 1836109 0 0.0
(read/write) 91760 91760 0 0.0
.bss 44480 44480 0 0.0
.data 2912 2912 0 0.0
.data.rel.ro 39280 39280 0 0.0
.dynamic 592 592 0 0.0
.got 3936 3936 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 148473 148473 0 0.0
.text 1569205 1569205 0 0.0
chip-tool debug (read only) 10676677 10676677 0 0.0
(read/write) 371832 371832 0 0.0
.bss 22752 22752 0 0.0
.data 1104 1104 0 0.0
.data.rel.ro 341728 341728 0 0.0
.dynamic 624 624 0 0.0
.got 4936 4936 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 538005 538005 0 0.0
.text 9309365 9309365 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10277348 10277348 0 0.0
(read/write) 492209 492209 0 0.0
.bss 41025 41025 0 0.0
.data 1168 1168 0 0.0
.data.rel.ro 388816 388816 0 0.0
.dynamic 560 560 0 0.0
.got 57392 57392 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 512244 512244 0 0.0
.text 8661844 8661844 0 0.0
door-lock-app debug (read only) 2107489 2107489 0 0.0
(read/write) 119504 119504 0 0.0
.bss 48064 48064 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 64408 64408 0 0.0
.dynamic 592 592 0 0.0
.got 4264 4264 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 186697 186697 0 0.0
.text 1765090 1765090 0 0.0
lighting-app debug+rpc (read only) 2312329 2312329 0 0.0
(read/write) 127824 127824 0 0.0
.bss 50272 50272 0 0.0
.data 1952 1952 0 0.0
.data.rel.ro 69896 69896 0 0.0
.dynamic 608 608 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 182665 182665 0 0.0
.text 1963826 1963826 0 0.0
ota-provider-app debug (read only) 2044673 2044673 0 0.0
(read/write) 114944 114944 0 0.0
.bss 47968 47968 0 0.0
.data 1608 1608 0 0.0
.data.rel.ro 59624 59624 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 172483 172483 0 0.0
.text 1716002 1716002 0 0.0
ota-requestor-app debug (read only) 2075049 2075049 0 0.0
(read/write) 118296 118296 0 0.0
.bss 48960 48960 0 0.0
.data 1864 1864 0 0.0
.data.rel.ro 61864 61864 0 0.0
.dynamic 592 592 0 0.0
.got 4304 4304 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 169356 169356 0 0.0
.text 1747634 1747634 0 0.0
shell debug (read only) 2524353 2524353 0 0.0
(read/write) 149968 149968 0 0.0
.bss 67624 67624 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 75368 75368 0 0.0
.dynamic 592 592 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 214706 214706 0 0.0
.text 2148482 2148482 0 0.0
thermostat-no-ble arm64 (read only) 2352444 2352444 0 0.0
(read/write) 150993 150993 0 0.0
.bss 63153 63153 0 0.0
.data 1424 1424 0 0.0
.data.rel.ro 78632 78632 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 144540 144540 0 0.0
.text 1979328 1979328 0 0.0
tv-app debug (read only) 2795825 2795825 0 0.0
(read/write) 250688 250688 0 0.0
.bss 164112 164112 0 0.0
.data 4448 4448 0 0.0
.data.rel.ro 75912 75912 0 0.0
.dynamic 592 592 0 0.0
.got 4688 4688 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 213259 213259 0 0.0
.text 2401266 2401266 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2368260 2368260 0 0.0
.bss 185236 185236 0 0.0
.data 5840 5840 0 0.0
.text 1330860 1330860 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1156151 1163235 7084 0.6
bss 135464 136528 1064 0.8
rodata 146768 147300 532 0.4
text 795236 800776 5540 0.7
lighting-app nrf52840dk_nrf52840 (read/write) 1142339 1149391 7052 0.6
bss 139200 140264 1064 0.8
rodata 121812 122344 532 0.4
text 802696 808208 5512 0.7
nrf52840dk_nrf52840+rpc (read/write) 1106575 1113703 7128 0.6
bss 139436 140500 1064 0.8
rodata 112936 113456 520 0.5
text 775108 780712 5604 0.7
nrf52840dongle_nrf52840 (read/write) 1051243 1057871 6628 0.6
bss 146448 147472 1024 0.7
rodata 91964 92400 436 0.5
text 731916 737108 5192 0.7
nrf5340dk_nrf5340_cpuapp (read/write) 1051082 1051850 768 0.1
bss 136264 136464 200 0.1
rodata 114984 115096 112 0.1
text 717860 718328 468 0.1
lock-app nrf52840dk_nrf52840 (read/write) 1042563 1049767 7204 0.7
bss 129144 130208 1064 0.8
rodata 114596 115128 532 0.5
text 720416 725956 5540 0.8
nrf5340dk_nrf5340_cpuapp (read/write) 951666 952494 828 0.1
bss 126240 126440 200 0.2
rodata 107824 107932 108 0.1
text 635736 636228 492 0.1
pump-app nrf52840dk_nrf52840 (read/write) 1062399 1069603 7204 0.7
bss 129152 130216 1064 0.8
rodata 117280 117812 532 0.5
text 737408 742948 5540 0.8
pump-controller-app nrf52840dk_nrf52840 (read/write) 1044135 1051339 7204 0.7
bss 128872 129936 1064 0.8
rodata 113288 113820 532 0.5
text 723432 728972 5540 0.8
p6 all-clusters-app default (read/write) 2514704 2514704 0 0.0
.bss 118640 118640 0 0.0
.data 2768 2768 0 0.0
.text 1472968 1472968 0 0.0
light-app default (read/write) 2415176 2415176 0 0.0
.bss 112136 112136 0 0.0
.data 2576 2576 0 0.0
.text 1373440 1373440 0 0.0
lock-app default (read/write) 2378744 2378744 0 0.0
.bss 111880 111880 0 0.0
.data 2536 2536 0 0.0
.text 1337008 1337008 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 801264 801264 0 0.0
bss 69988 69988 0 0.0
noinit 40416 40416 0 0.0
text 569958 569958 0 0.0

@andy31415 andy31415 merged commit c6bf5d7 into project-chip:master Apr 13, 2022
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
…rget library. (project-chip#17236)

* Updated NCS revision to cc0412169 to get new DFU Target revision
* Utilized new DFU Target API
* Handled both application and network core image swap for NRF5340
@ArekBalysNordic ArekBalysNordic deleted the new_dfu_target branch May 30, 2022 08:29
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.

4 participants