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

TE8 fixes #16721

Merged
merged 1 commit into from
Apr 5, 2022
Merged

TE8 fixes #16721

merged 1 commit into from
Apr 5, 2022

Conversation

doru91
Copy link
Contributor

@doru91 doru91 commented Mar 28, 2022

Problem

Fixes different issues encountered during TE8 on K32W0 plaform.

Change overview

OTA

  • add support for compiling without OTA support. If this happens, then the
    application is written at address 0 in flash (instead at 0 + 16K - required
    for SSBL). Also, more space is available for the app in this case;
  • add detailed README instructions;
  • increase idle task stack size - that's because writes to the eeprom are
    done on the idle task;
  • allow the application to specify the block size for each OTA fragment;
  • add NXP SDK fixes for fixing eeprom race conditions;
  • add NXP SDK fix for allowing the processing of OTA blocks of different
    sizes;
  • add support for parsing the OTA header.

Tokenizer

  • add detailed README instructions.

Light app/Lock app

  • enable lock tracking;
  • schedule OTA/Matter attribute change/Server operations on the Matter task;
  • avoid checking if thread is provisioned in a busy loop on eeprom - use an
    event instead;
  • disable mbedtls error logging (~13K) and instead add error logs in MemConfig.cpp
    in case mbedtls memory allocations fail;
  • change task priorities such that the app task has a smaller priority than the
    Matter one;
  • enable CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS such that the PBKDF are
    hard-coded on the device side;
  • refactor the gn options such that K32W0 module can be easily configured to be
    attached to a dk different than DK6;
  • group initialization calls in a single function;
  • consider the case when WriteConfigValueStr is not called with a NULL-terminated
    string.

Testing

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

  • manual testing using chip-tool.

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.

Thanks!

@doru91
Copy link
Contributor Author

doru91 commented Apr 1, 2022

@woody-apple , I think that I accidentally removed your changes (while trying to remove third_party/efr32_sdk/repo) from your forced-push. Please re-add them if needed. Sorry for this.

@github-actions
Copy link

github-actions bot commented Apr 1, 2022

PR #16721: Size comparison from 37094b5 to 7d6c9a6

Increases above 0.2%:

platform target config section 37094b5 7d6c9a6 change % change
k32w light k32w061+release .bss 77976 78456 480 0.6
.data 1872 1952 80 4.3
lock k32w061+release .bss 77960 79032 1072 1.4
Increases (11 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, nrfconnect)
platform target config section 37094b5 7d6c9a6 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 667283 667307 24 0.0
.rodata 79595 79603 8 0.0
.text 587208 587224 16 0.0
lock-mtd LP_CC2652R7 (read only) 616411 616435 24 0.0
.rodata 79475 79483 8 0.0
.text 536448 536464 16 0.0
pump-app LP_CC2652R7 (read only) 686743 686751 8 0.0
.rodata 81671 81679 8 0.0
pump-controller-app LP_CC2652R7 (read only) 668967 668991 24 0.0
.rodata 78007 78015 8 0.0
.text 590476 590492 16 0.0
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 578798 578806 8 0.0
.app_xip_area 477436 477444 8 0.0
efr32 lighting-app BRD4161A (read only) 914584 914592 8 0.0
.text 914576 914584 8 0.0
BRD4161A+rpc (read only) 942464 942472 8 0.0
.text 942456 942464 8 0.0
k32w light k32w061+release .bss 77976 78456 480 0.6
.data 1872 1952 80 4.3
lock k32w061+release .bss 77960 79032 1072 1.4
linux ota-requestor-app debug (read only) 2003841 2003985 144 0.0
(read/write) 116304 116336 32 0.0
.data.rel.ro 60792 60824 32 0.1
.text 1684450 1684498 48 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1147967 1147971 4 0.0
rodata 143232 143236 4 0.0
text 786840 786848 8 0.0
Decreases (5 builds for cc13x2_26x2, k32w)
platform target config section 37094b5 7d6c9a6 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 184444 184420 -24 -0.0
pump-app LP_CC2652R7 (read/write) 166144 166136 -8 -0.0
pump-controller-app LP_CC2652R7 (read/write) 183664 183640 -24 -0.0
k32w light k32w061+release (read/write) 707112 678616 -28496 -4.0
.text 621464 592408 -29056 -4.7
lock k32w061+release (read/write) 706520 682868 -23652 -3.3
.text 620848 596124 -24724 -4.0
Full report (31 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 37094b5 7d6c9a6 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 667283 667307 24 0.0
(read/write) 184444 184420 -24 -0.0
.bss 81768 81768 0 0.0
.data 3132 3132 0 0.0
.rodata 79595 79603 8 0.0
.text 587208 587224 16 0.0
lock-mtd LP_CC2652R7 (read only) 616411 616435 24 0.0
(read/write) 154484 154484 0 0.0
.bss 77496 77496 0 0.0
.data 3132 3132 0 0.0
.rodata 79475 79483 8 0.0
.text 536448 536464 16 0.0
pump-app LP_CC2652R7 (read only) 686743 686751 8 0.0
(read/write) 166144 166136 -8 -0.0
.bss 82160 82160 0 0.0
.data 3164 3164 0 0.0
.rodata 81671 81679 8 0.0
.text 604588 604588 0 0.0
pump-controller-app LP_CC2652R7 (read only) 668967 668991 24 0.0
(read/write) 183664 183640 -24 -0.0
.bss 81904 81904 0 0.0
.data 3128 3128 0 0.0
.rodata 78007 78015 8 0.0
.text 590476 590492 16 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 609666 609666 0 0.0
.app_xip_area 516408 516408 0 0.0
.bss 76004 76004 0 0.0
.data 600 600 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 567178 567178 0 0.0
.app_xip_area 475456 475456 0 0.0
.bss 74508 74508 0 0.0
.data 564 564 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 578798 578806 8 0.0
.app_xip_area 477436 477444 8 0.0
.bss 83820 83820 0 0.0
.data 504 504 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 914584 914592 8 0.0
(read/write) 129760 129760 0 0.0
.bss 127800 127800 0 0.0
.data 1960 1960 0 0.0
.text 914576 914584 8 0.0
BRD4161A+rpc (read only) 942464 942472 8 0.0
(read/write) 145720 145720 0 0.0
.bss 143576 143576 0 0.0
.data 2140 2140 0 0.0
.text 942456 942464 8 0.0
window-app BRD4161A (read only) 849944 849944 0 0.0
(read/write) 127784 127784 0 0.0
.bss 125944 125944 0 0.0
.data 1840 1840 0 0.0
.text 849936 849936 0 0.0
esp32 all-clusters-app c3devkit (read only) 985074 985074 0 0.0
(read/write) 1460498 1460498 0 0.0
.dram0.bss 62952 62952 0 0.0
.dram0.data 14172 14172 0 0.0
.flash.rodata 197896 197896 0 0.0
.flash.text 985074 985074 0 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1037635 1037635 0 0.0
(read/write) 461520 461520 0 0.0
.dram0.bss 68480 68480 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 226872 226872 0 0.0
.flash.text 1032251 1032251 0 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 707112 678616 -28496 -4.0
.bss 77976 78456 480 0.6
.data 1872 1952 80 4.3
.text 621464 592408 -29056 -4.7
lock k32w061+release (read/write) 706520 682868 -23652 -3.3
.bss 77960 79032 1072 1.4
.data 1912 1912 0 0.0
.text 620848 596124 -24724 -4.0
linux all-clusters-app debug (read only) 2554825 2554825 0 0.0
(read/write) 144000 144000 0 0.0
.bss 57472 57472 0 0.0
.data 1296 1296 0 0.0
.data.rel.ro 79464 79464 0 0.0
.dynamic 592 592 0 0.0
.got 4184 4184 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 219205 219205 0 0.0
.text 2170882 2170882 0 0.0
bridge-app debug+rpc (read only) 1783989 1783989 0 0.0
(read/write) 90008 90008 0 0.0
.bss 44552 44552 0 0.0
.data 2000 2000 0 0.0
.data.rel.ro 38352 38352 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 147121 147121 0 0.0
.text 1520693 1520693 0 0.0
chip-tool debug (read only) 10426485 10426485 0 0.0
(read/write) 358112 358112 0 0.0
.bss 22080 22080 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 328728 328728 0 0.0
.dynamic 624 624 0 0.0
.got 4896 4896 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 531981 531981 0 0.0
.text 9103205 9103205 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10032244 10032244 0 0.0
(read/write) 477585 477585 0 0.0
.bss 40401 40401 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 375576 375576 0 0.0
.dynamic 560 560 0 0.0
.got 56672 56672 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 505932 505932 0 0.0
.text 8463204 8463204 0 0.0
door-lock-app debug (read only) 2036633 2036633 0 0.0
(read/write) 117416 117416 0 0.0
.bss 47680 47680 0 0.0
.data 1008 1008 0 0.0
.data.rel.ro 63288 63288 0 0.0
.dynamic 592 592 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 183745 183745 0 0.0
.text 1702258 1702258 0 0.0
lighting-app debug+rpc (read only) 2214537 2214537 0 0.0
(read/write) 124376 124376 0 0.0
.bss 48960 48960 0 0.0
.data 1488 1488 0 0.0
.data.rel.ro 68360 68360 0 0.0
.dynamic 608 608 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 177761 177761 0 0.0
.text 1876786 1876786 0 0.0
ota-provider-app debug (read only) 1976177 1976177 0 0.0
(read/write) 113112 113112 0 0.0
.bss 47552 47552 0 0.0
.data 1288 1288 0 0.0
.data.rel.ro 58600 58600 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 169571 169571 0 0.0
.text 1653794 1653794 0 0.0
ota-requestor-app debug (read only) 2003841 2003985 144 0.0
(read/write) 116304 116336 32 0.0
.bss 48544 48544 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 60792 60824 32 0.1
.dynamic 592 592 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 165772 165772 0 0.0
.text 1684450 1684498 48 0.0
shell debug (read only) 2470065 2470065 0 0.0
(read/write) 147952 147952 0 0.0
.bss 67304 67304 0 0.0
.data 784 784 0 0.0
.data.rel.ro 74136 74136 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 212338 212338 0 0.0
.text 2099794 2099794 0 0.0
thermostat-no-ble arm64 (read only) 2294132 2294132 0 0.0
(read/write) 148785 148785 0 0.0
.bss 62849 62849 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 77328 77328 0 0.0
.dynamic 560 560 0 0.0
.got 4552 4552 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 142164 142164 0 0.0
.text 1927744 1927744 0 0.0
tv-app debug (read only) 2719793 2719793 0 0.0
(read/write) 248984 248984 0 0.0
.bss 165104 165104 0 0.0
.data 3296 3296 0 0.0
.data.rel.ro 74520 74520 0 0.0
.dynamic 592 592 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 896 896 0 0.0
.rodata 209483 209483 0 0.0
.text 2334626 2334626 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2358540 2358540 0 0.0
.bss 185052 185052 0 0.0
.data 5760 5760 0 0.0
.text 1321140 1321140 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1147967 1147971 4 0.0
bss 143076 143076 0 0.0
rodata 143232 143236 4 0.0
text 786840 786848 8 0.0
p6 all-clusters-app default (read/write) 2503128 2503128 0 0.0
.bss 118488 118488 0 0.0
.data 2640 2640 0 0.0
.text 1461392 1461392 0 0.0
light-app default (read/write) 2404312 2404312 0 0.0
.bss 111944 111944 0 0.0
.data 2496 2496 0 0.0
.text 1362576 1362576 0 0.0
lock-app default (read/write) 2367920 2367920 0 0.0
.bss 111688 111688 0 0.0
.data 2456 2456 0 0.0
.text 1326184 1326184 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 791300 791300 0 0.0
bss 70296 70296 0 0.0
noinit 40416 40416 0 0.0
text 561262 561262 0 0.0

@github-actions
Copy link

github-actions bot commented Apr 4, 2022

PR #16721: Size comparison from 3666138 to 0254a54

Increases above 0.2%:

platform target config section 3666138 0254a54 change % change
k32w light k32w061+release .bss 77944 78424 480 0.6
.data 1868 1948 80 4.3
lock k32w061+release .bss 77928 79000 1072 1.4
Increases (11 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, nrfconnect)
platform target config section 3666138 0254a54 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 668091 668107 16 0.0
.text 587928 587944 16 0.0
lock-mtd LP_CC2652R7 (read only) 617211 617227 16 0.0
.text 537160 537176 16 0.0
pump-app LP_CC2652R7 (read only) 687543 687559 16 0.0
.text 605300 605316 16 0.0
pump-controller-app LP_CC2652R7 (read only) 669775 669791 16 0.0
.text 591196 591212 16 0.0
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579790 579806 16 0.0
.app_xip_area 478460 478476 16 0.0
efr32 lighting-app BRD4161A (read only) 916168 916200 32 0.0
.text 916160 916192 32 0.0
BRD4161A+rpc (read only) 944048 944080 32 0.0
.text 944040 944072 32 0.0
k32w light k32w061+release .bss 77944 78424 480 0.6
.data 1868 1948 80 4.3
lock k32w061+release .bss 77928 79000 1072 1.4
linux ota-requestor-app debug (read only) 2024785 2024945 160 0.0
(read/write) 116632 116664 32 0.0
.data.rel.ro 60936 60968 32 0.1
.text 1702098 1702162 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148795 1148815 20 0.0
rodata 143292 143296 4 0.0
text 787612 787620 8 0.0
Decreases (5 builds for cc13x2_26x2, k32w)
platform target config section 3666138 0254a54 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 183604 183588 -16 -0.0
pump-app LP_CC2652R7 (read/write) 165312 165296 -16 -0.0
pump-controller-app LP_CC2652R7 (read/write) 182824 182808 -16 -0.0
k32w light k32w061+release (read/write) 707908 679412 -28496 -4.0
.text 622296 593240 -29056 -4.7
lock k32w061+release (read/write) 707316 683664 -23652 -3.3
.text 621680 596956 -24724 -4.0
Full report (29 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3666138 0254a54 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 668091 668107 16 0.0
(read/write) 183604 183588 -16 -0.0
.bss 81736 81736 0 0.0
.data 3128 3128 0 0.0
.rodata 79683 79683 0 0.0
.text 587928 587944 16 0.0
lock-mtd LP_CC2652R7 (read only) 617211 617227 16 0.0
(read/write) 154448 154448 0 0.0
.bss 77464 77464 0 0.0
.data 3128 3128 0 0.0
.rodata 79563 79563 0 0.0
.text 537160 537176 16 0.0
pump-app LP_CC2652R7 (read only) 687543 687559 16 0.0
(read/write) 165312 165296 -16 -0.0
.bss 82128 82128 0 0.0
.data 3160 3160 0 0.0
.rodata 81759 81759 0 0.0
.text 605300 605316 16 0.0
pump-controller-app LP_CC2652R7 (read only) 669775 669791 16 0.0
(read/write) 182824 182808 -16 -0.0
.bss 81872 81872 0 0.0
.data 3124 3124 0 0.0
.rodata 78095 78095 0 0.0
.text 591196 591212 16 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610682 610682 0 0.0
.app_xip_area 517456 517456 0 0.0
.bss 75980 75980 0 0.0
.data 596 596 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 568202 568202 0 0.0
.app_xip_area 476504 476504 0 0.0
.bss 74484 74484 0 0.0
.data 560 560 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579790 579806 16 0.0
.app_xip_area 478460 478476 16 0.0
.bss 83796 83796 0 0.0
.data 500 500 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 916168 916200 32 0.0
(read/write) 129728 129728 0 0.0
.bss 127768 127768 0 0.0
.data 1956 1956 0 0.0
.text 916160 916192 32 0.0
BRD4161A+rpc (read only) 944048 944080 32 0.0
(read/write) 145680 145680 0 0.0
.bss 143544 143544 0 0.0
.data 2136 2136 0 0.0
.text 944040 944072 32 0.0
window-app BRD4161A (read only) 851480 851480 0 0.0
(read/write) 127752 127752 0 0.0
.bss 125912 125912 0 0.0
.data 1836 1836 0 0.0
.text 851472 851472 0 0.0
k32w light k32w061+release (read/write) 707908 679412 -28496 -4.0
.bss 77944 78424 480 0.6
.data 1868 1948 80 4.3
.text 622296 593240 -29056 -4.7
lock k32w061+release (read/write) 707316 683664 -23652 -3.3
.bss 77928 79000 1072 1.4
.data 1908 1908 0 0.0
.text 621680 596956 -24724 -4.0
linux all-clusters-app debug (read only) 2576609 2576609 0 0.0
(read/write) 144360 144360 0 0.0
.bss 57536 57536 0 0.0
.data 1328 1328 0 0.0
.data.rel.ro 79608 79608 0 0.0
.dynamic 592 592 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 220549 220549 0 0.0
.text 2188642 2188642 0 0.0
bridge-app debug+rpc (read only) 1787181 1787181 0 0.0
(read/write) 89912 89912 0 0.0
.bss 44520 44520 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 38320 38320 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 146937 146937 0 0.0
.text 1524213 1524213 0 0.0
chip-tool debug (read only) 10436029 10436029 0 0.0
(read/write) 358552 358552 0 0.0
.bss 22016 22016 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 329272 329272 0 0.0
.dynamic 624 624 0 0.0
.got 4896 4896 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 532205 532205 0 0.0
.text 9111349 9111349 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10036540 10036540 0 0.0
(read/write) 478177 478177 0 0.0
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 376144 376144 0 0.0
.dynamic 560 560 0 0.0
.got 56768 56768 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 506524 506524 0 0.0
.text 8465492 8465492 0 0.0
door-lock-app debug (read only) 2057977 2057977 0 0.0
(read/write) 117808 117808 0 0.0
.bss 47776 47776 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 63416 63416 0 0.0
.dynamic 592 592 0 0.0
.got 4256 4256 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 184873 184873 0 0.0
.text 1719890 1719890 0 0.0
lighting-app debug+rpc (read only) 2236209 2236209 0 0.0
(read/write) 124800 124800 0 0.0
.bss 49120 49120 0 0.0
.data 1504 1504 0 0.0
.data.rel.ro 68488 68488 0 0.0
.dynamic 608 608 0 0.0
.got 4304 4304 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 179017 179017 0 0.0
.text 1894514 1894514 0 0.0
ota-provider-app debug (read only) 1995985 1995985 0 0.0
(read/write) 113408 113408 0 0.0
.bss 47616 47616 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 58728 58728 0 0.0
.dynamic 608 608 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 170707 170707 0 0.0
.text 1671154 1671154 0 0.0
ota-requestor-app debug (read only) 2024785 2024945 160 0.0
(read/write) 116632 116664 32 0.0
.bss 48608 48608 0 0.0
.data 1512 1512 0 0.0
.data.rel.ro 60936 60968 32 0.1
.dynamic 592 592 0 0.0
.got 4296 4296 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 166908 166908 0 0.0
.text 1702098 1702162 64 0.0
shell debug (read only) 2473937 2473937 0 0.0
(read/write) 147888 147888 0 0.0
.bss 67240 67240 0 0.0
.data 784 784 0 0.0
.data.rel.ro 74136 74136 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 212338 212338 0 0.0
.text 2103666 2103666 0 0.0
thermostat-no-ble arm64 (read only) 2311068 2311068 0 0.0
(read/write) 149057 149057 0 0.0
.bss 62913 62913 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 77488 77488 0 0.0
.dynamic 560 560 0 0.0
.got 4568 4568 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 142908 142908 0 0.0
.text 1943040 1943040 0 0.0
tv-app debug (read only) 2741337 2741337 0 0.0
(read/write) 249312 249312 0 0.0
.bss 165200 165200 0 0.0
.data 3296 3296 0 0.0
.data.rel.ro 74648 74648 0 0.0
.dynamic 592 592 0 0.0
.got 4656 4656 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 210635 210635 0 0.0
.text 2352882 2352882 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360020 2360020 0 0.0
.bss 185020 185020 0 0.0
.data 5752 5752 0 0.0
.text 1322620 1322620 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148795 1148815 20 0.0
bss 143048 143048 0 0.0
rodata 143292 143296 4 0.0
text 787612 787620 8 0.0
p6 all-clusters-app default (read/write) 2504592 2504592 0 0.0
.bss 118456 118456 0 0.0
.data 2632 2632 0 0.0
.text 1462856 1462856 0 0.0
light-app default (read/write) 2405752 2405752 0 0.0
.bss 111912 111912 0 0.0
.data 2488 2488 0 0.0
.text 1364016 1364016 0 0.0
lock-app default (read/write) 2369384 2369384 0 0.0
.bss 111656 111656 0 0.0
.data 2448 2448 0 0.0
.text 1327648 1327648 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 792340 792340 0 0.0
bss 70264 70264 0 0.0
noinit 40416 40416 0 0.0
text 562250 562250 0 0.0

@github-actions
Copy link

github-actions bot commented Apr 4, 2022

PR #16721: Size comparison from 3666138 to 33c5084

Increases above 0.2%:

platform target config section 3666138 33c5084 change % change
k32w light k32w061+release .bss 77944 78424 480 0.6
.data 1868 1948 80 4.3
lock k32w061+release .bss 77928 79000 1072 1.4
Increases (11 builds for cc13x2_26x2, cyw30739, efr32, k32w, linux, nrfconnect)
platform target config section 3666138 33c5084 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 668091 668107 16 0.0
.text 587928 587944 16 0.0
lock-mtd LP_CC2652R7 (read only) 617211 617227 16 0.0
.text 537160 537176 16 0.0
pump-app LP_CC2652R7 (read only) 687543 687559 16 0.0
.text 605300 605316 16 0.0
pump-controller-app LP_CC2652R7 (read only) 669775 669791 16 0.0
.text 591196 591212 16 0.0
cyw30739 ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579790 579806 16 0.0
.app_xip_area 478460 478476 16 0.0
efr32 lighting-app BRD4161A (read only) 916168 916200 32 0.0
.text 916160 916192 32 0.0
BRD4161A+rpc (read only) 944048 944080 32 0.0
.text 944040 944072 32 0.0
k32w light k32w061+release .bss 77944 78424 480 0.6
.data 1868 1948 80 4.3
lock k32w061+release .bss 77928 79000 1072 1.4
linux ota-requestor-app debug (read only) 2024785 2024945 160 0.0
(read/write) 116632 116664 32 0.0
.data.rel.ro 60936 60968 32 0.1
.text 1702098 1702162 64 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148795 1148815 20 0.0
rodata 143292 143296 4 0.0
text 787612 787620 8 0.0
Decreases (5 builds for cc13x2_26x2, k32w)
platform target config section 3666138 33c5084 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 183604 183588 -16 -0.0
pump-app LP_CC2652R7 (read/write) 165312 165296 -16 -0.0
pump-controller-app LP_CC2652R7 (read/write) 182824 182808 -16 -0.0
k32w light k32w061+release (read/write) 707908 679412 -28496 -4.0
.text 622296 593240 -29056 -4.7
lock k32w061+release (read/write) 707316 683664 -23652 -3.3
.text 621680 596956 -24724 -4.0
Full report (31 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3666138 33c5084 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 668091 668107 16 0.0
(read/write) 183604 183588 -16 -0.0
.bss 81736 81736 0 0.0
.data 3128 3128 0 0.0
.rodata 79683 79683 0 0.0
.text 587928 587944 16 0.0
lock-mtd LP_CC2652R7 (read only) 617211 617227 16 0.0
(read/write) 154448 154448 0 0.0
.bss 77464 77464 0 0.0
.data 3128 3128 0 0.0
.rodata 79563 79563 0 0.0
.text 537160 537176 16 0.0
pump-app LP_CC2652R7 (read only) 687543 687559 16 0.0
(read/write) 165312 165296 -16 -0.0
.bss 82128 82128 0 0.0
.data 3160 3160 0 0.0
.rodata 81759 81759 0 0.0
.text 605300 605316 16 0.0
pump-controller-app LP_CC2652R7 (read only) 669775 669791 16 0.0
(read/write) 182824 182808 -16 -0.0
.bss 81872 81872 0 0.0
.data 3124 3124 0 0.0
.rodata 78095 78095 0 0.0
.text 591196 591212 16 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 610682 610682 0 0.0
.app_xip_area 517456 517456 0 0.0
.bss 75980 75980 0 0.0
.data 596 596 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 568202 568202 0 0.0
.app_xip_area 476504 476504 0 0.0
.bss 74484 74484 0 0.0
.data 560 560 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 579790 579806 16 0.0
.app_xip_area 478460 478476 16 0.0
.bss 83796 83796 0 0.0
.data 500 500 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 916168 916200 32 0.0
(read/write) 129728 129728 0 0.0
.bss 127768 127768 0 0.0
.data 1956 1956 0 0.0
.text 916160 916192 32 0.0
BRD4161A+rpc (read only) 944048 944080 32 0.0
(read/write) 145680 145680 0 0.0
.bss 143544 143544 0 0.0
.data 2136 2136 0 0.0
.text 944040 944072 32 0.0
window-app BRD4161A (read only) 851480 851480 0 0.0
(read/write) 127752 127752 0 0.0
.bss 125912 125912 0 0.0
.data 1836 1836 0 0.0
.text 851472 851472 0 0.0
esp32 all-clusters-app c3devkit (read only) 985940 985940 0 0.0
(read/write) 1460530 1460530 0 0.0
.dram0.bss 62920 62920 0 0.0
.dram0.data 14164 14164 0 0.0
.flash.rodata 197960 197960 0 0.0
.flash.text 985940 985940 0 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1038339 1038339 0 0.0
(read/write) 461544 461544 0 0.0
.dram0.bss 68448 68448 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 226928 226928 0 0.0
.flash.text 1032955 1032955 0 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 707908 679412 -28496 -4.0
.bss 77944 78424 480 0.6
.data 1868 1948 80 4.3
.text 622296 593240 -29056 -4.7
lock k32w061+release (read/write) 707316 683664 -23652 -3.3
.bss 77928 79000 1072 1.4
.data 1908 1908 0 0.0
.text 621680 596956 -24724 -4.0
linux all-clusters-app debug (read only) 2576609 2576609 0 0.0
(read/write) 144360 144360 0 0.0
.bss 57536 57536 0 0.0
.data 1328 1328 0 0.0
.data.rel.ro 79608 79608 0 0.0
.dynamic 592 592 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 220549 220549 0 0.0
.text 2188642 2188642 0 0.0
bridge-app debug+rpc (read only) 1787181 1787181 0 0.0
(read/write) 89912 89912 0 0.0
.bss 44520 44520 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 38320 38320 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 146937 146937 0 0.0
.text 1524213 1524213 0 0.0
chip-tool debug (read only) 10436029 10436029 0 0.0
(read/write) 358552 358552 0 0.0
.bss 22016 22016 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 329272 329272 0 0.0
.dynamic 624 624 0 0.0
.got 4896 4896 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 532205 532205 0 0.0
.text 9111349 9111349 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10036540 10036540 0 0.0
(read/write) 478177 478177 0 0.0
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 376144 376144 0 0.0
.dynamic 560 560 0 0.0
.got 56768 56768 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 506524 506524 0 0.0
.text 8465492 8465492 0 0.0
door-lock-app debug (read only) 2057977 2057977 0 0.0
(read/write) 117808 117808 0 0.0
.bss 47776 47776 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 63416 63416 0 0.0
.dynamic 592 592 0 0.0
.got 4256 4256 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 184873 184873 0 0.0
.text 1719890 1719890 0 0.0
lighting-app debug+rpc (read only) 2236209 2236209 0 0.0
(read/write) 124800 124800 0 0.0
.bss 49120 49120 0 0.0
.data 1504 1504 0 0.0
.data.rel.ro 68488 68488 0 0.0
.dynamic 608 608 0 0.0
.got 4304 4304 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 179017 179017 0 0.0
.text 1894514 1894514 0 0.0
ota-provider-app debug (read only) 1995985 1995985 0 0.0
(read/write) 113408 113408 0 0.0
.bss 47616 47616 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 58728 58728 0 0.0
.dynamic 608 608 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 170707 170707 0 0.0
.text 1671154 1671154 0 0.0
ota-requestor-app debug (read only) 2024785 2024945 160 0.0
(read/write) 116632 116664 32 0.0
.bss 48608 48608 0 0.0
.data 1512 1512 0 0.0
.data.rel.ro 60936 60968 32 0.1
.dynamic 592 592 0 0.0
.got 4296 4296 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 166908 166908 0 0.0
.text 1702098 1702162 64 0.0
shell debug (read only) 2473937 2473937 0 0.0
(read/write) 147888 147888 0 0.0
.bss 67240 67240 0 0.0
.data 784 784 0 0.0
.data.rel.ro 74136 74136 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 212338 212338 0 0.0
.text 2103666 2103666 0 0.0
thermostat-no-ble arm64 (read only) 2311068 2311068 0 0.0
(read/write) 149057 149057 0 0.0
.bss 62913 62913 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 77488 77488 0 0.0
.dynamic 560 560 0 0.0
.got 4568 4568 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 142908 142908 0 0.0
.text 1943040 1943040 0 0.0
tv-app debug (read only) 2741337 2741337 0 0.0
(read/write) 249312 249312 0 0.0
.bss 165200 165200 0 0.0
.data 3296 3296 0 0.0
.data.rel.ro 74648 74648 0 0.0
.dynamic 592 592 0 0.0
.got 4656 4656 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 210635 210635 0 0.0
.text 2352882 2352882 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360020 2360020 0 0.0
.bss 185020 185020 0 0.0
.data 5752 5752 0 0.0
.text 1322620 1322620 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1148795 1148815 20 0.0
bss 143048 143048 0 0.0
rodata 143292 143296 4 0.0
text 787612 787620 8 0.0
p6 all-clusters-app default (read/write) 2504592 2504592 0 0.0
.bss 118456 118456 0 0.0
.data 2632 2632 0 0.0
.text 1462856 1462856 0 0.0
light-app default (read/write) 2405752 2405752 0 0.0
.bss 111912 111912 0 0.0
.data 2488 2488 0 0.0
.text 1364016 1364016 0 0.0
lock-app default (read/write) 2369384 2369384 0 0.0
.bss 111656 111656 0 0.0
.data 2448 2448 0 0.0
.text 1327648 1327648 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 792340 792340 0 0.0
bss 70264 70264 0 0.0
noinit 40416 40416 0 0.0
text 562250 562250 0 0.0

@woody-apple
Copy link
Contributor

@doru91 Note, still conflicts here :(

@doru91 doru91 force-pushed the fix/TE8_K32W0 branch 2 times, most recently from ef4e1c5 to c9ee3fb Compare April 5, 2022 06:56
@github-actions
Copy link

github-actions bot commented Apr 5, 2022

PR #16721: Size comparison from 2ff1d72 to c9ee3fb

Increases above 0.2%:

platform target config section 2ff1d72 c9ee3fb change % change
k32w light k32w061+release .bss 77968 78448 480 0.6
.data 1904 1984 80 4.2
lock k32w061+release .bss 77960 79032 1072 1.4
Increases (7 builds for cc13x2_26x2, k32w, nrfconnect)
platform target config section 2ff1d72 c9ee3fb change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670735 670751 16 0.0
.text 590216 590232 16 0.0
lock-mtd LP_CC2652R7 (read only) 619863 619879 16 0.0
.text 539448 539464 16 0.0
pump-app LP_CC2652R7 (read only) 690199 690223 24 0.0
.rodata 82119 82127 8 0.0
.text 607596 607612 16 0.0
pump-controller-app LP_CC2652R7 (read only) 672439 672463 24 0.0
.rodata 78455 78463 8 0.0
.text 593500 593516 16 0.0
k32w light k32w061+release .bss 77968 78448 480 0.6
.data 1904 1984 80 4.2
lock k32w061+release .bss 77960 79032 1072 1.4
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151471 1151491 20 0.0
rodata 143656 143660 4 0.0
text 789880 789888 8 0.0
Decreases (5 builds for cc13x2_26x2, k32w)
platform target config section 2ff1d72 c9ee3fb change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 180984 180968 -16 -0.0
pump-app LP_CC2652R7 (read/write) 162696 162672 -24 -0.0
pump-controller-app LP_CC2652R7 (read/write) 180184 180160 -24 -0.0
k32w light k32w061+release (read/write) 710620 681896 -28724 -4.0
.text 624948 595664 -29284 -4.7
lock k32w061+release (read/write) 710024 686344 -23680 -3.3
.text 624320 599568 -24752 -4.0
Full report (11 builds for cc13x2_26x2, k32w, linux, mbed, nrfconnect, telink)
platform target config section 2ff1d72 c9ee3fb change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670735 670751 16 0.0
(read/write) 180984 180968 -16 -0.0
.bss 81760 81760 0 0.0
.data 3164 3164 0 0.0
.rodata 80039 80039 0 0.0
.text 590216 590232 16 0.0
lock-mtd LP_CC2652R7 (read only) 619863 619879 16 0.0
(read/write) 154508 154508 0 0.0
.bss 77488 77488 0 0.0
.data 3164 3164 0 0.0
.rodata 79927 79927 0 0.0
.text 539448 539464 16 0.0
pump-app LP_CC2652R7 (read only) 690199 690223 24 0.0
(read/write) 162696 162672 -24 -0.0
.bss 82168 82168 0 0.0
.data 3196 3196 0 0.0
.rodata 82119 82127 8 0.0
.text 607596 607612 16 0.0
pump-controller-app LP_CC2652R7 (read only) 672439 672463 24 0.0
(read/write) 180184 180160 -24 -0.0
.bss 81896 81896 0 0.0
.data 3160 3160 0 0.0
.rodata 78455 78463 8 0.0
.text 593500 593516 16 0.0
k32w light k32w061+release (read/write) 710620 681896 -28724 -4.0
.bss 77968 78448 480 0.6
.data 1904 1984 80 4.2
.text 624948 595664 -29284 -4.7
lock k32w061+release (read/write) 710024 686344 -23680 -3.3
.bss 77960 79032 1072 1.4
.data 1944 1944 0 0.0
.text 624320 599568 -24752 -4.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 10083572 10083572 0 0.0
(read/write) 486977 486977 0 0.0
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 384712 384712 0 0.0
.dynamic 560 560 0 0.0
.got 57008 57008 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 508404 508404 0 0.0
.text 8484324 8484324 0 0.0
thermostat-no-ble arm64 (read only) 2325020 2325020 0 0.0
(read/write) 149521 149521 0 0.0
.bss 62977 62977 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 77760 77760 0 0.0
.dynamic 560 560 0 0.0
.got 4632 4632 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 143340 143340 0 0.0
.text 1955840 1955840 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2362956 2362956 0 0.0
.bss 185052 185052 0 0.0
.data 5784 5784 0 0.0
.text 1325556 1325556 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151471 1151491 20 0.0
bss 143072 143072 0 0.0
rodata 143656 143660 4 0.0
text 789880 789888 8 0.0
telink lighting-app tlsr9518adk80d (read/write) 795080 795080 0 0.0
bss 70300 70300 0 0.0
noinit 40416 40416 0 0.0
text 564544 564544 0 0.0

@github-actions
Copy link

github-actions bot commented Apr 5, 2022

PR #16721: Size comparison from e92157a to bceadc2

Increases above 0.2%:

platform target config section e92157a bceadc2 change % change
k32w light k32w061+release .bss 77968 78448 480 0.6
.data 1904 1984 80 4.2
lock k32w061+release .bss 77960 79032 1072 1.4
Increases (10 builds for cc13x2_26x2, efr32, k32w, linux, nrfconnect)
platform target config section e92157a bceadc2 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670727 670743 16 0.0
.text 590208 590224 16 0.0
lock-mtd LP_CC2652R7 (read only) 619855 619871 16 0.0
.text 539440 539456 16 0.0
pump-app LP_CC2652R7 (read only) 690191 690215 24 0.0
.rodata 82119 82127 8 0.0
.text 607588 607604 16 0.0
pump-controller-app LP_CC2652R7 (read only) 672431 672455 24 0.0
.rodata 78455 78463 8 0.0
.text 593492 593508 16 0.0
efr32 lighting-app BRD4161A (read only) 919500 919532 32 0.0
.text 919492 919524 32 0.0
BRD4161A+rpc (read only) 947396 947428 32 0.0
.text 947388 947420 32 0.0
k32w light k32w061+release .bss 77968 78448 480 0.6
.data 1904 1984 80 4.2
lock k32w061+release .bss 77960 79032 1072 1.4
linux ota-requestor-app debug (read only) 2041977 2042121 144 0.0
(read/write) 117176 117208 32 0.0
.data.rel.ro 61240 61272 32 0.1
.text 1717682 1717730 48 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151471 1151475 4 0.0
rodata 143656 143660 4 0.0
text 789876 789884 8 0.0
Decreases (5 builds for cc13x2_26x2, k32w)
platform target config section e92157a bceadc2 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 180992 180976 -16 -0.0
pump-app LP_CC2652R7 (read/write) 162704 162680 -24 -0.0
pump-controller-app LP_CC2652R7 (read/write) 180192 180168 -24 -0.0
k32w light k32w061+release (read/write) 710620 681896 -28724 -4.0
.text 624948 595664 -29284 -4.7
lock k32w061+release (read/write) 710024 686328 -23696 -3.3
.text 624320 599552 -24768 -4.0
Full report (28 builds for cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section e92157a bceadc2 change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670727 670743 16 0.0
(read/write) 180992 180976 -16 -0.0
.bss 81760 81760 0 0.0
.data 3164 3164 0 0.0
.rodata 80039 80039 0 0.0
.text 590208 590224 16 0.0
lock-mtd LP_CC2652R7 (read only) 619855 619871 16 0.0
(read/write) 154508 154508 0 0.0
.bss 77488 77488 0 0.0
.data 3164 3164 0 0.0
.rodata 79927 79927 0 0.0
.text 539440 539456 16 0.0
pump-app LP_CC2652R7 (read only) 690191 690215 24 0.0
(read/write) 162704 162680 -24 -0.0
.bss 82168 82168 0 0.0
.data 3196 3196 0 0.0
.rodata 82119 82127 8 0.0
.text 607588 607604 16 0.0
pump-controller-app LP_CC2652R7 (read only) 672431 672455 24 0.0
(read/write) 180192 180168 -24 -0.0
.bss 81896 81896 0 0.0
.data 3160 3160 0 0.0
.rodata 78455 78463 8 0.0
.text 593492 593508 16 0.0
efr32 lighting-app BRD4161A (read only) 919500 919532 32 0.0
(read/write) 129792 129792 0 0.0
.bss 127800 127800 0 0.0
.data 1992 1992 0 0.0
.text 919492 919524 32 0.0
BRD4161A+rpc (read only) 947396 947428 32 0.0
(read/write) 145740 145740 0 0.0
.bss 143568 143568 0 0.0
.data 2172 2172 0 0.0
.text 947388 947420 32 0.0
window-app BRD4161A (read only) 854716 854716 0 0.0
(read/write) 127816 127816 0 0.0
.bss 125944 125944 0 0.0
.data 1872 1872 0 0.0
.text 854708 854708 0 0.0
esp32 all-clusters-app c3devkit (read only) 988250 988250 0 0.0
(read/write) 1460922 1460922 0 0.0
.dram0.bss 62952 62952 0 0.0
.dram0.data 14196 14196 0 0.0
.flash.rodata 198288 198288 0 0.0
.flash.text 988250 988250 0 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1040599 1040599 0 0.0
(read/write) 461912 461912 0 0.0
.dram0.bss 68480 68480 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 227232 227232 0 0.0
.flash.text 1035215 1035215 0 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 710620 681896 -28724 -4.0
.bss 77968 78448 480 0.6
.data 1904 1984 80 4.2
.text 624948 595664 -29284 -4.7
lock k32w061+release (read/write) 710024 686328 -23696 -3.3
.bss 77960 79032 1072 1.4
.data 1944 1944 0 0.0
.text 624320 599552 -24768 -4.0
linux all-clusters-app debug (read only) 2593737 2593737 0 0.0
(read/write) 144872 144872 0 0.0
.bss 57664 57664 0 0.0
.data 1440 1440 0 0.0
.data.rel.ro 79880 79880 0 0.0
.dynamic 592 592 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 960 960 0 0.0
.rodata 221285 221285 0 0.0
.text 2204434 2204434 0 0.0
bridge-app debug+rpc (read only) 1803701 1803701 0 0.0
(read/write) 90296 90296 0 0.0
.bss 44584 44584 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 38584 38584 0 0.0
.dynamic 592 592 0 0.0
.got 3928 3928 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 147513 147513 0 0.0
.text 1539557 1539557 0 0.0
chip-tool debug (read only) 10484645 10484645 0 0.0
(read/write) 367128 367128 0 0.0
.bss 22016 22016 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 337848 337848 0 0.0
.dynamic 624 624 0 0.0
.got 4920 4920 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 534349 534349 0 0.0
.text 9131957 9131957 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 10083572 10083572 0 0.0
(read/write) 486977 486977 0 0.0
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 384712 384712 0 0.0
.dynamic 560 560 0 0.0
.got 57008 57008 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 508404 508404 0 0.0
.text 8484324 8484324 0 0.0
door-lock-app debug (read only) 2074673 2074673 0 0.0
(read/write) 118320 118320 0 0.0
.bss 47904 47904 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 63704 63704 0 0.0
.dynamic 592 592 0 0.0
.got 4256 4256 0 0.0
.init 27 27 0 0.0
.init_array 680 680 0 0.0
.rodata 185513 185513 0 0.0
.text 1735346 1735346 0 0.0
lighting-app debug+rpc (read only) 2253193 2253193 0 0.0
(read/write) 125312 125312 0 0.0
.bss 49216 49216 0 0.0
.data 1600 1600 0 0.0
.data.rel.ro 68808 68808 0 0.0
.dynamic 608 608 0 0.0
.got 4304 4304 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 179625 179625 0 0.0
.text 1910290 1910290 0 0.0
ota-provider-app debug (read only) 2012593 2012593 0 0.0
(read/write) 113888 113888 0 0.0
.bss 47744 47744 0 0.0
.data 1384 1384 0 0.0
.data.rel.ro 59032 59032 0 0.0
.dynamic 608 608 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 632 632 0 0.0
.rodata 171403 171403 0 0.0
.text 1686466 1686466 0 0.0
ota-requestor-app debug (read only) 2041977 2042121 144 0.0
(read/write) 117176 117208 32 0.0
.bss 48736 48736 0 0.0
.data 1608 1608 0 0.0
.data.rel.ro 61240 61272 32 0.1
.dynamic 592 592 0 0.0
.got 4296 4296 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 167892 167892 0 0.0
.text 1717682 1717730 48 0.0
shell debug (read only) 2490745 2490745 0 0.0
(read/write) 148336 148336 0 0.0
.bss 67336 67336 0 0.0
.data 848 848 0 0.0
.data.rel.ro 74424 74424 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 212978 212978 0 0.0
.text 2119234 2119234 0 0.0
thermostat-no-ble arm64 (read only) 2325020 2325020 0 0.0
(read/write) 149521 149521 0 0.0
.bss 62977 62977 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 77760 77760 0 0.0
.dynamic 560 560 0 0.0
.got 4632 4632 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 143340 143340 0 0.0
.text 1955840 1955840 0 0.0
tv-app debug (read only) 2762281 2762281 0 0.0
(read/write) 249984 249984 0 0.0
.bss 165360 165360 0 0.0
.data 3392 3392 0 0.0
.data.rel.ro 75040 75040 0 0.0
.dynamic 592 592 0 0.0
.got 4672 4672 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 211467 211467 0 0.0
.text 2371986 2371986 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2362956 2362956 0 0.0
.bss 185052 185052 0 0.0
.data 5784 5784 0 0.0
.text 1325556 1325556 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151471 1151475 4 0.0
bss 143072 143072 0 0.0
rodata 143656 143660 4 0.0
text 789876 789884 8 0.0
p6 all-clusters-app default (read/write) 2507784 2507784 0 0.0
.bss 118480 118480 0 0.0
.data 2672 2672 0 0.0
.text 1466048 1466048 0 0.0
light-app default (read/write) 2408960 2408960 0 0.0
.bss 111944 111944 0 0.0
.data 2528 2528 0 0.0
.text 1367224 1367224 0 0.0
lock-app default (read/write) 2372608 2372608 0 0.0
.bss 111688 111688 0 0.0
.data 2488 2488 0 0.0
.text 1330872 1330872 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 795088 795088 0 0.0
bss 70300 70300 0 0.0
noinit 40416 40416 0 0.0
text 564554 564554 0 0.0

@github-actions
Copy link

github-actions bot commented Apr 5, 2022

PR #16721: Size comparison from 04f1acd to 221ce6e

Increases above 0.2%:

platform target config section 04f1acd 221ce6e change % change
linux chip-tool-no-interactive-ipv6only arm64 (read only) 10083572 10212892 129320 1.3
(read/write) 486977 489633 2656 0.5
.data.rel.ro 384712 387360 2648 0.7
.rodata 508404 510172 1768 0.3
.text 8484324 8603956 119632 1.4
Increases (6 builds for cc13x2_26x2, linux, nrfconnect)
platform target config section 04f1acd 221ce6e change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670727 670743 16 0.0
.text 590208 590224 16 0.0
lock-mtd LP_CC2652R7 (read only) 619855 619871 16 0.0
.text 539440 539456 16 0.0
pump-app LP_CC2652R7 (read only) 690191 690215 24 0.0
.rodata 82119 82127 8 0.0
.text 607588 607604 16 0.0
pump-controller-app LP_CC2652R7 (read only) 672431 672455 24 0.0
.rodata 78455 78463 8 0.0
.text 593492 593508 16 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 10083572 10212892 129320 1.3
(read/write) 486977 489633 2656 0.5
.data.rel.ro 384712 387360 2648 0.7
.got 57008 57016 8 0.0
.rodata 508404 510172 1768 0.3
.text 8484324 8603956 119632 1.4
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151471 1151475 4 0.0
rodata 143656 143660 4 0.0
text 789876 789884 8 0.0
Decreases (3 builds for cc13x2_26x2)
platform target config section 04f1acd 221ce6e change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 180992 180976 -16 -0.0
pump-app LP_CC2652R7 (read/write) 162704 162680 -24 -0.0
pump-controller-app LP_CC2652R7 (read/write) 180192 180168 -24 -0.0
Full report (9 builds for cc13x2_26x2, linux, mbed, nrfconnect, telink)
platform target config section 04f1acd 221ce6e change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670727 670743 16 0.0
(read/write) 180992 180976 -16 -0.0
.bss 81760 81760 0 0.0
.data 3164 3164 0 0.0
.rodata 80039 80039 0 0.0
.text 590208 590224 16 0.0
lock-mtd LP_CC2652R7 (read only) 619855 619871 16 0.0
(read/write) 154508 154508 0 0.0
.bss 77488 77488 0 0.0
.data 3164 3164 0 0.0
.rodata 79927 79927 0 0.0
.text 539440 539456 16 0.0
pump-app LP_CC2652R7 (read only) 690191 690215 24 0.0
(read/write) 162704 162680 -24 -0.0
.bss 82168 82168 0 0.0
.data 3196 3196 0 0.0
.rodata 82119 82127 8 0.0
.text 607588 607604 16 0.0
pump-controller-app LP_CC2652R7 (read only) 672431 672455 24 0.0
(read/write) 180192 180168 -24 -0.0
.bss 81896 81896 0 0.0
.data 3160 3160 0 0.0
.rodata 78455 78463 8 0.0
.text 593492 593508 16 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 10083572 10212892 129320 1.3
(read/write) 486977 489633 2656 0.5
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 384712 387360 2648 0.7
.dynamic 560 560 0 0.0
.got 57008 57016 8 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 508404 510172 1768 0.3
.text 8484324 8603956 119632 1.4
thermostat-no-ble arm64 (read only) 2325020 2325020 0 0.0
(read/write) 149521 149521 0 0.0
.bss 62977 62977 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 77760 77760 0 0.0
.dynamic 560 560 0 0.0
.got 4632 4632 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 143340 143340 0 0.0
.text 1955840 1955840 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2362956 2362956 0 0.0
.bss 185052 185052 0 0.0
.data 5784 5784 0 0.0
.text 1325556 1325556 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151471 1151475 4 0.0
bss 143072 143072 0 0.0
rodata 143656 143660 4 0.0
text 789876 789884 8 0.0
telink lighting-app tlsr9518adk80d (read/write) 795088 795088 0 0.0
bss 70300 70300 0 0.0
noinit 40416 40416 0 0.0
text 564554 564554 0 0.0

@doru91 doru91 force-pushed the fix/TE8_K32W0 branch 2 times, most recently from 12bbd6c to 708b2ca Compare April 5, 2022 10:32
@github-actions
Copy link

github-actions bot commented Apr 5, 2022

PR #16721: Size comparison from 3034129 to 708b2ca

Increases above 0.2%:

platform target config section 3034129 708b2ca change % change
k32w light k32w061+release .bss 77968 78448 480 0.6
.data 1904 1984 80 4.2
lock k32w061+release .bss 77960 79032 1072 1.4
Increases (7 builds for cc13x2_26x2, k32w, nrfconnect)
platform target config section 3034129 708b2ca change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670727 670743 16 0.0
.text 590208 590224 16 0.0
lock-mtd LP_CC2652R7 (read only) 619855 619871 16 0.0
.text 539440 539456 16 0.0
pump-app LP_CC2652R7 (read only) 690191 690215 24 0.0
.rodata 82119 82127 8 0.0
.text 607588 607604 16 0.0
pump-controller-app LP_CC2652R7 (read only) 672431 672455 24 0.0
.rodata 78455 78463 8 0.0
.text 593492 593508 16 0.0
k32w light k32w061+release .bss 77968 78448 480 0.6
.data 1904 1984 80 4.2
lock k32w061+release .bss 77960 79032 1072 1.4
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151471 1151475 4 0.0
rodata 143656 143660 4 0.0
text 789876 789884 8 0.0
Decreases (5 builds for cc13x2_26x2, k32w)
platform target config section 3034129 708b2ca change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 180992 180976 -16 -0.0
pump-app LP_CC2652R7 (read/write) 162704 162680 -24 -0.0
pump-controller-app LP_CC2652R7 (read/write) 180192 180168 -24 -0.0
k32w light k32w061+release (read/write) 710620 681896 -28724 -4.0
.text 624948 595664 -29284 -4.7
lock k32w061+release (read/write) 710024 686328 -23696 -3.3
.text 624320 599552 -24768 -4.0
Full report (14 builds for cc13x2_26x2, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3034129 708b2ca change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670727 670743 16 0.0
(read/write) 180992 180976 -16 -0.0
.bss 81760 81760 0 0.0
.data 3164 3164 0 0.0
.rodata 80039 80039 0 0.0
.text 590208 590224 16 0.0
lock-mtd LP_CC2652R7 (read only) 619855 619871 16 0.0
(read/write) 154508 154508 0 0.0
.bss 77488 77488 0 0.0
.data 3164 3164 0 0.0
.rodata 79927 79927 0 0.0
.text 539440 539456 16 0.0
pump-app LP_CC2652R7 (read only) 690191 690215 24 0.0
(read/write) 162704 162680 -24 -0.0
.bss 82168 82168 0 0.0
.data 3196 3196 0 0.0
.rodata 82119 82127 8 0.0
.text 607588 607604 16 0.0
pump-controller-app LP_CC2652R7 (read only) 672431 672455 24 0.0
(read/write) 180192 180168 -24 -0.0
.bss 81896 81896 0 0.0
.data 3160 3160 0 0.0
.rodata 78455 78463 8 0.0
.text 593492 593508 16 0.0
k32w light k32w061+release (read/write) 710620 681896 -28724 -4.0
.bss 77968 78448 480 0.6
.data 1904 1984 80 4.2
.text 624948 595664 -29284 -4.7
lock k32w061+release (read/write) 710024 686328 -23696 -3.3
.bss 77960 79032 1072 1.4
.data 1944 1944 0 0.0
.text 624320 599552 -24768 -4.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 10212892 10212892 0 0.0
(read/write) 489633 489633 0 0.0
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 387360 387360 0 0.0
.dynamic 560 560 0 0.0
.got 57016 57016 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 510172 510172 0 0.0
.text 8603956 8603956 0 0.0
thermostat-no-ble arm64 (read only) 2325020 2325020 0 0.0
(read/write) 149521 149521 0 0.0
.bss 62977 62977 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 77760 77760 0 0.0
.dynamic 560 560 0 0.0
.got 4632 4632 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 143340 143340 0 0.0
.text 1955840 1955840 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2362956 2362956 0 0.0
.bss 185052 185052 0 0.0
.data 5784 5784 0 0.0
.text 1325556 1325556 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1151471 1151475 4 0.0
bss 143072 143072 0 0.0
rodata 143656 143660 4 0.0
text 789876 789884 8 0.0
p6 all-clusters-app default (read/write) 2507784 2507784 0 0.0
.bss 118480 118480 0 0.0
.data 2672 2672 0 0.0
.text 1466048 1466048 0 0.0
light-app default (read/write) 2408960 2408960 0 0.0
.bss 111944 111944 0 0.0
.data 2528 2528 0 0.0
.text 1367224 1367224 0 0.0
lock-app default (read/write) 2372608 2372608 0 0.0
.bss 111688 111688 0 0.0
.data 2488 2488 0 0.0
.text 1330872 1330872 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 795088 795088 0 0.0
bss 70300 70300 0 0.0
noinit 40416 40416 0 0.0
text 564554 564554 0 0.0

OTA
* add support for compiling without OTA support. If this happens, then the
application is written at address 0 in flash (instead at 0 + 16K - required
for SSBL). Also, more space is available for the app in this case;
* add detailed README instructions;
* increase idle task stack size - that's because writes to the eeprom are
done on the idle task;
* allow the application to specify the block size for each OTA fragment;
* add NXP SDK fixes for fixing eeprom race conditions;
* add NXP SDK fix for allowing the processing of OTA blocks of different
sizes;
* add support for parsing the OTA header;
* fix OTA logic such that the application can pace the rate at which new OTA
fragments are requested;

Tokenizer
* add detailed README instructions.

Light app/Lock app
* enable lock tracking;
* schedule OTA/Matter attribute change/Server operations on the Matter task;
* avoid checking if thread is provisioned in a busy loop on eeprom - use an
event instead;
* disable mbedtls error logging (~13K) and instead add error logs in MemConfig.cpp
in case mbedtls memory allocations fail;
* change task priorities such that the app task has a smaller priority than the
Matter one;
* enable CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS such that the PBKDF are
hard-coded on the device side;
* refactor the gn options such that K32W0 module can be easily configured to be
attached to a dk different than DK6;
* group initialization calls in a single function;
* consider the case when WriteConfigValueStr is not called with a NULL-terminated
string.
* refactor board initialization code;
* allow building k32w light application with ota support - disable ble
for the moment, until a size-optimized SDK is released;
* fix NFC compilation error is BLE is disabled.

Signed-off-by: Doru Gucea <[email protected]>
@github-actions
Copy link

github-actions bot commented Apr 5, 2022

PR #16721: Size comparison from dcca243 to 4279f6d

Increases above 0.2%:

platform target config section dcca243 4279f6d change % change
k32w light k32w061+release .bss 77968 78448 480 0.6
.data 1904 1984 80 4.2
lock k32w061+release .bss 77960 79032 1072 1.4
Increases (9 builds for cc13x2_26x2, efr32, k32w, nrfconnect)
platform target config section dcca243 4279f6d change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670727 670743 16 0.0
.text 590208 590224 16 0.0
lock-mtd LP_CC2652R7 (read only) 619855 619871 16 0.0
.text 539440 539456 16 0.0
pump-app LP_CC2652R7 (read only) 690191 690215 24 0.0
.rodata 82119 82127 8 0.0
.text 607588 607604 16 0.0
pump-controller-app LP_CC2652R7 (read only) 672431 672455 24 0.0
.rodata 78455 78463 8 0.0
.text 593492 593508 16 0.0
efr32 lighting-app BRD4161A (read only) 919516 919564 48 0.0
.text 919508 919556 48 0.0
BRD4161A+rpc (read only) 947428 947460 32 0.0
.text 947420 947452 32 0.0
k32w light k32w061+release .bss 77968 78448 480 0.6
.data 1904 1984 80 4.2
lock k32w061+release .bss 77960 79032 1072 1.4
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1149731 1149735 4 0.0
rodata 145084 145088 4 0.0
text 790204 790212 8 0.0
Decreases (5 builds for cc13x2_26x2, k32w)
platform target config section dcca243 4279f6d change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read/write) 180992 180976 -16 -0.0
pump-app LP_CC2652R7 (read/write) 162704 162680 -24 -0.0
pump-controller-app LP_CC2652R7 (read/write) 180192 180168 -24 -0.0
k32w light k32w061+release (read/write) 710620 681896 -28724 -4.0
.text 624948 595664 -29284 -4.7
lock k32w061+release (read/write) 710024 686328 -23696 -3.3
.text 624320 599552 -24768 -4.0
Full report (19 builds for cc13x2_26x2, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section dcca243 4279f6d change % change
cc13x2_26x2 lock-ftd LP_CC2652R7 (read only) 670727 670743 16 0.0
(read/write) 180992 180976 -16 -0.0
.bss 81760 81760 0 0.0
.data 3164 3164 0 0.0
.rodata 80039 80039 0 0.0
.text 590208 590224 16 0.0
lock-mtd LP_CC2652R7 (read only) 619855 619871 16 0.0
(read/write) 154508 154508 0 0.0
.bss 77488 77488 0 0.0
.data 3164 3164 0 0.0
.rodata 79927 79927 0 0.0
.text 539440 539456 16 0.0
pump-app LP_CC2652R7 (read only) 690191 690215 24 0.0
(read/write) 162704 162680 -24 -0.0
.bss 82168 82168 0 0.0
.data 3196 3196 0 0.0
.rodata 82119 82127 8 0.0
.text 607588 607604 16 0.0
pump-controller-app LP_CC2652R7 (read only) 672431 672455 24 0.0
(read/write) 180192 180168 -24 -0.0
.bss 81896 81896 0 0.0
.data 3160 3160 0 0.0
.rodata 78455 78463 8 0.0
.text 593492 593508 16 0.0
efr32 lighting-app BRD4161A (read only) 919516 919564 48 0.0
(read/write) 129792 129792 0 0.0
.bss 127800 127800 0 0.0
.data 1992 1992 0 0.0
.text 919508 919556 48 0.0
BRD4161A+rpc (read only) 947428 947460 32 0.0
(read/write) 145740 145740 0 0.0
.bss 143568 143568 0 0.0
.data 2172 2172 0 0.0
.text 947420 947452 32 0.0
window-app BRD4161A (read only) 854716 854716 0 0.0
(read/write) 127816 127816 0 0.0
.bss 125944 125944 0 0.0
.data 1872 1872 0 0.0
.text 854708 854708 0 0.0
esp32 all-clusters-app c3devkit (read only) 988250 988250 0 0.0
(read/write) 1460922 1460922 0 0.0
.dram0.bss 62952 62952 0 0.0
.dram0.data 14196 14196 0 0.0
.flash.rodata 198288 198288 0 0.0
.flash.text 988250 988250 0 0.0
.iram0.text 62572 62572 0 0.0
m5stack (read only) 1040599 1040599 0 0.0
(read/write) 461912 461912 0 0.0
.dram0.bss 68480 68480 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 227232 227232 0 0.0
.flash.text 1035215 1035215 0 0.0
.iram0.text 123415 123415 0 0.0
k32w light k32w061+release (read/write) 710620 681896 -28724 -4.0
.bss 77968 78448 480 0.6
.data 1904 1984 80 4.2
.text 624948 595664 -29284 -4.7
lock k32w061+release (read/write) 710024 686328 -23696 -3.3
.bss 77960 79032 1072 1.4
.data 1944 1944 0 0.0
.text 624320 599552 -24768 -4.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 10212892 10212892 0 0.0
(read/write) 489633 489633 0 0.0
.bss 40337 40337 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 387360 387360 0 0.0
.dynamic 560 560 0 0.0
.got 57016 57016 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 510172 510172 0 0.0
.text 8603956 8603956 0 0.0
thermostat-no-ble arm64 (read only) 2325020 2325020 0 0.0
(read/write) 149521 149521 0 0.0
.bss 62977 62977 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 77760 77760 0 0.0
.dynamic 560 560 0 0.0
.got 4632 4632 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 143340 143340 0 0.0
.text 1955840 1955840 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2362956 2362956 0 0.0
.bss 185052 185052 0 0.0
.data 5784 5784 0 0.0
.text 1325556 1325556 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1149731 1149735 4 0.0
bss 135812 135812 0 0.0
rodata 145084 145088 4 0.0
text 790204 790212 8 0.0
p6 all-clusters-app default (read/write) 2507784 2507784 0 0.0
.bss 118480 118480 0 0.0
.data 2672 2672 0 0.0
.text 1466048 1466048 0 0.0
light-app default (read/write) 2408960 2408960 0 0.0
.bss 111944 111944 0 0.0
.data 2528 2528 0 0.0
.text 1367224 1367224 0 0.0
lock-app default (read/write) 2372608 2372608 0 0.0
.bss 111688 111688 0 0.0
.data 2488 2488 0 0.0
.text 1330872 1330872 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 795088 795088 0 0.0
bss 70300 70300 0 0.0
noinit 40416 40416 0 0.0
text 564554 564554 0 0.0

@doru91
Copy link
Contributor Author

doru91 commented Apr 5, 2022

@doru91 Note, still conflicts here :(

@woody-apple, solved.

@bzbarsky-apple bzbarsky-apple merged commit ca807a2 into project-chip:master Apr 5, 2022
chencheung pushed a commit to chencheung/connectedhomeip that referenced this pull request Apr 6, 2022
OTA
* add support for compiling without OTA support. If this happens, then the
application is written at address 0 in flash (instead at 0 + 16K - required
for SSBL). Also, more space is available for the app in this case;
* add detailed README instructions;
* increase idle task stack size - that's because writes to the eeprom are
done on the idle task;
* allow the application to specify the block size for each OTA fragment;
* add NXP SDK fixes for fixing eeprom race conditions;
* add NXP SDK fix for allowing the processing of OTA blocks of different
sizes;
* add support for parsing the OTA header;
* fix OTA logic such that the application can pace the rate at which new OTA
fragments are requested;

Tokenizer
* add detailed README instructions.

Light app/Lock app
* enable lock tracking;
* schedule OTA/Matter attribute change/Server operations on the Matter task;
* avoid checking if thread is provisioned in a busy loop on eeprom - use an
event instead;
* disable mbedtls error logging (~13K) and instead add error logs in MemConfig.cpp
in case mbedtls memory allocations fail;
* change task priorities such that the app task has a smaller priority than the
Matter one;
* enable CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS such that the PBKDF are
hard-coded on the device side;
* refactor the gn options such that K32W0 module can be easily configured to be
attached to a dk different than DK6;
* group initialization calls in a single function;
* consider the case when WriteConfigValueStr is not called with a NULL-terminated
string.
* refactor board initialization code;
* allow building k32w light application with ota support - disable ble
for the moment, until a size-optimized SDK is released;
* fix NFC compilation error is BLE is disabled.

Signed-off-by: Doru Gucea <[email protected]>
chencheung pushed a commit to chencheung/connectedhomeip that referenced this pull request Apr 6, 2022
OTA
* add support for compiling without OTA support. If this happens, then the
application is written at address 0 in flash (instead at 0 + 16K - required
for SSBL). Also, more space is available for the app in this case;
* add detailed README instructions;
* increase idle task stack size - that's because writes to the eeprom are
done on the idle task;
* allow the application to specify the block size for each OTA fragment;
* add NXP SDK fixes for fixing eeprom race conditions;
* add NXP SDK fix for allowing the processing of OTA blocks of different
sizes;
* add support for parsing the OTA header;
* fix OTA logic such that the application can pace the rate at which new OTA
fragments are requested;

Tokenizer
* add detailed README instructions.

Light app/Lock app
* enable lock tracking;
* schedule OTA/Matter attribute change/Server operations on the Matter task;
* avoid checking if thread is provisioned in a busy loop on eeprom - use an
event instead;
* disable mbedtls error logging (~13K) and instead add error logs in MemConfig.cpp
in case mbedtls memory allocations fail;
* change task priorities such that the app task has a smaller priority than the
Matter one;
* enable CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS such that the PBKDF are
hard-coded on the device side;
* refactor the gn options such that K32W0 module can be easily configured to be
attached to a dk different than DK6;
* group initialization calls in a single function;
* consider the case when WriteConfigValueStr is not called with a NULL-terminated
string.
* refactor board initialization code;
* allow building k32w light application with ota support - disable ble
for the moment, until a size-optimized SDK is released;
* fix NFC compilation error is BLE is disabled.

Signed-off-by: Doru Gucea <[email protected]>
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
OTA
* add support for compiling without OTA support. If this happens, then the
application is written at address 0 in flash (instead at 0 + 16K - required
for SSBL). Also, more space is available for the app in this case;
* add detailed README instructions;
* increase idle task stack size - that's because writes to the eeprom are
done on the idle task;
* allow the application to specify the block size for each OTA fragment;
* add NXP SDK fixes for fixing eeprom race conditions;
* add NXP SDK fix for allowing the processing of OTA blocks of different
sizes;
* add support for parsing the OTA header;
* fix OTA logic such that the application can pace the rate at which new OTA
fragments are requested;

Tokenizer
* add detailed README instructions.

Light app/Lock app
* enable lock tracking;
* schedule OTA/Matter attribute change/Server operations on the Matter task;
* avoid checking if thread is provisioned in a busy loop on eeprom - use an
event instead;
* disable mbedtls error logging (~13K) and instead add error logs in MemConfig.cpp
in case mbedtls memory allocations fail;
* change task priorities such that the app task has a smaller priority than the
Matter one;
* enable CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS such that the PBKDF are
hard-coded on the device side;
* refactor the gn options such that K32W0 module can be easily configured to be
attached to a dk different than DK6;
* group initialization calls in a single function;
* consider the case when WriteConfigValueStr is not called with a NULL-terminated
string.
* refactor board initialization code;
* allow building k32w light application with ota support - disable ble
for the moment, until a size-optimized SDK is released;
* fix NFC compilation error is BLE is disabled.

Signed-off-by: Doru Gucea <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants