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

Cherrypick: Platform fixes for CC13x2_26x2 (#22502) #22583

Merged
merged 1 commit into from
Sep 13, 2022

Conversation

andy31415
Copy link
Contributor

  • Add timer for fast advertisment

Issue found in SVE#2 for TC-DD-2.1.

  • add reboot reason

Added boot count and reboot reason to the configuration manager. Found in SVE#2 TC-DGGEN-2.1.

  • fix incorrect log

  • update interface total size

Add the total image size to the mParams for OTA to allow for download tracking. Found in SVE#2 TC-SU-4.1.

  • clang-format

  • move reboot reason

Implement the correct GetRebootReason.

  • update to use only one timer

  • Restyled by clang-format

  • add additional diagnostic functions

  • Restyled by clang-format

Co-authored-by: Restyled.io commits@restyled.io

Issue Being Resolved

Change overview

What's in this PR

* Add timer for fast advertisment

Issue found in SVE#2 for TC-DD-2.1.

* add reboot reason

Added boot count and reboot reason to the configuration manager. Found in SVE#2
TC-DGGEN-2.1.

* fix incorrect log

* update interface total size

Add the total image size to the mParams for OTA to allow for download tracking.
Found in SVE#2 TC-SU-4.1.

* clang-format

* move reboot reason

Implement the correct GetRebootReason.

* update to use only one timer

* Restyled by clang-format

* add additional diagnostic functions

* Restyled by clang-format

Co-authored-by: Restyled.io <commits@restyled.io>
@github-actions
Copy link

github-actions bot commented Sep 13, 2022

PR #22583: Size comparison from 1f63bcd to 94ad5e4

Increases (8 builds for cc13x2_26x2, telink)
platform target config section 1f63bcd 94ad5e4 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 672379 673103 724 0.1
.bss 74404 74420 16 0.0
.rodata 88747 88759 12 0.0
.text 583316 584028 712 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 637763 638487 724 0.1
(read/write) 157980 157996 16 0.0
.bss 73692 73708 16 0.0
.rodata 77979 77991 12 0.0
.text 559460 560172 712 0.1
lock-ftd LP_CC2652R7 (read only) 674079 674859 780 0.1
.bss 71508 71524 16 0.0
.rodata 76671 76683 12 0.0
.text 596928 597696 768 0.1
lock-mtd LP_CC2652R7 (read only) 656815 657595 780 0.1
.bss 67196 67212 16 0.0
.rodata 101759 101771 12 0.0
.text 554576 555344 768 0.1
pump-app LP_CC2652R7 (read only) 684751 685531 780 0.1
.bss 71548 71564 16 0.0
.rodata 89959 89971 12 0.0
.text 594308 595076 768 0.1
pump-controller-app LP_CC2652R7 (read only) 669243 670023 780 0.1
.bss 71668 71684 16 0.0
.rodata 85515 85527 12 0.0
.text 583248 584016 768 0.1
shell LP_CC2652R7 (read only) 665086 666010 924 0.1
.bss 76724 76732 8 0.0
.rodata 85694 85810 116 0.1
.text 579076 579884 808 0.1
telink lighting-app tlsr9518adk80d text 589472 589474 2 0.0
Decreases (7 builds for cc13x2_26x2, nrfconnect)
platform target config section 1f63bcd 94ad5e4 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 179132 178424 -708 -0.4
lock-ftd LP_CC2652R7 (read/write) 167648 166884 -764 -0.5
lock-mtd LP_CC2652R7 (read/write) 180600 179836 -764 -0.4
pump-app LP_CC2652R7 (read/write) 157784 157020 -764 -0.5
pump-controller-app LP_CC2652R7 (read/write) 173412 172648 -764 -0.4
shell LP_CC2652R7 (read/write) 181944 181028 -916 -0.5
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 803160 803156 -4 -0.0
Full report (32 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 1f63bcd 94ad5e4 change % change
bl602 lighting-app bl602 (read/write) 1383898 1383898 0 0.0
.bss 120290 120290 0 0.0
.data 4480 4480 0 0.0
.text 1051052 1051052 0 0.0
bl602+rpc (read/write) 1429410 1429410 0 0.0
.bss 127730 127730 0 0.0
.data 4600 4600 0 0.0
.text 1082808 1082808 0 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 672379 673103 724 0.1
(read/write) 179132 178424 -708 -0.4
.bss 74404 74420 16 0.0
.data 3372 3372 0 0.0
.rodata 88747 88759 12 0.0
.text 583316 584028 712 0.1
all-clusters-minimal-app LP_CC2652R7 (read only) 637763 638487 724 0.1
(read/write) 157980 157996 16 0.0
.bss 73692 73708 16 0.0
.data 3372 3372 0 0.0
.rodata 77979 77991 12 0.0
.text 559460 560172 712 0.1
lock-ftd LP_CC2652R7 (read only) 674079 674859 780 0.1
(read/write) 167648 166884 -764 -0.5
.bss 71508 71524 16 0.0
.data 3296 3296 0 0.0
.rodata 76671 76683 12 0.0
.text 596928 597696 768 0.1
lock-mtd LP_CC2652R7 (read only) 656815 657595 780 0.1
(read/write) 180600 179836 -764 -0.4
.bss 67196 67212 16 0.0
.data 3296 3296 0 0.0
.rodata 101759 101771 12 0.0
.text 554576 555344 768 0.1
pump-app LP_CC2652R7 (read only) 684751 685531 780 0.1
(read/write) 157784 157020 -764 -0.5
.bss 71548 71564 16 0.0
.data 3296 3296 0 0.0
.rodata 89959 89971 12 0.0
.text 594308 595076 768 0.1
pump-controller-app LP_CC2652R7 (read only) 669243 670023 780 0.1
(read/write) 173412 172648 -764 -0.4
.bss 71668 71684 16 0.0
.data 3292 3292 0 0.0
.rodata 85515 85527 12 0.0
.text 583248 584016 768 0.1
shell LP_CC2652R7 (read only) 665086 666010 924 0.1
(read/write) 181944 181028 -916 -0.5
.bss 76724 76732 8 0.0
.data 3376 3376 0 0.0
.rodata 85694 85810 116 0.1
.text 579076 579884 808 0.1
cyw30739 light cyw930739m2evb_01 (read/write) 586118 586118 0 0.0
.app_xip_area 462752 462752 0 0.0
.bss 65800 65800 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 591894 591894 0 0.0
.app_xip_area 463744 463744 0 0.0
.bss 70584 70584 0 0.0
.data 748 748 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 599026 599026 0 0.0
.app_xip_area 476380 476380 0 0.0
.bss 65112 65112 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1103948 1103948 0 0.0
.bss 136148 136148 0 0.0
.data 2068 2068 0 0.0
.text 965708 965708 0 0.0
BRD4161A+rpc (read/write) 1158216 1158216 0 0.0
.bss 152836 152836 0 0.0
.data 2280 2280 0 0.0
.text 1003080 1003080 0 0.0
BRD4161A+rs911x (read/write) 996624 996624 0 0.0
.bss 168912 168912 0 0.0
.data 2056 2056 0 0.0
.text 825636 825636 0 0.0
lock-app BRD4161A+wf200 (read/write) 1145900 1145900 0 0.0
.bss 151992 151992 0 0.0
.data 2064 2064 0 0.0
.text 991824 991824 0 0.0
window-app BRD4161A (read/write) 1095356 1095356 0 0.0
.bss 137588 137588 0 0.0
.data 2096 2096 0 0.0
.text 955652 955652 0 0.0
esp32 all-clusters-app c3devkit (read only) 1030022 1030022 0 0.0
(read/write) 1488674 1488674 0 0.0
.dram0.bss 70864 70864 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 217776 217776 0 0.0
.flash.text 1030022 1030022 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1083387 1083387 0 0.0
(read/write) 490632 490632 0 0.0
.dram0.bss 76376 76376 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 248116 248116 0 0.0
.flash.text 1078003 1078003 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w0+release (read/write) 645524 645524 0 0.0
.bss 70232 70232 0 0.0
.data 2044 2044 0 0.0
.text 570520 570520 0 0.0
lock k32w0+release (read/write) 703044 703044 0 0.0
.bss 70704 70704 0 0.0
.data 2052 2052 0 0.0
.text 627560 627560 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10308476 10308476 0 0.0
(read/write) 704593 704593 0 0.0
.bss 33297 33297 0 0.0
.data 3272 3272 0 0.0
.data.rel.ro 649248 649248 0 0.0
.dynamic 560 560 0 0.0
.got 13816 13816 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 500300 500300 0 0.0
.text 8157108 8157108 0 0.0
thermostat-no-ble arm64 (read only) 2356916 2356916 0 0.0
(read/write) 141825 141825 0 0.0
.bss 55345 55345 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 75984 75984 0 0.0
.dynamic 560 560 0 0.0
.got 5048 5048 0 0.0
.init 24 24 0 0.0
.init_array 408 408 0 0.0
.rodata 140524 140524 0 0.0
.text 1978672 1978672 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2454328 2454328 0 0.0
.bss 215076 215076 0 0.0
.data 5872 5872 0 0.0
.text 1416972 1416972 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180147 1180147 0 0.0
bss 143759 143759 0 0.0
rodata 143268 143268 0 0.0
text 814172 814172 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1160023 1160023 0 0.0
bss 142996 142996 0 0.0
rodata 134944 134944 0 0.0
text 803160 803156 -4 -0.0
p6 all-clusters-app default (read only) 842104 842104 0 0.0
(read/write) 1738996 1738996 0 0.0
.bss 188584 188584 0 0.0
.data 2656 2656 0 0.0
.text 1539368 1539368 0 0.0
all-clusters-minimal-app default (read only) 842824 842824 0 0.0
(read/write) 1683004 1683004 0 0.0
.bss 187864 187864 0 0.0
.data 2656 2656 0 0.0
.text 1484096 1484096 0 0.0
light-app default (read only) 851168 851168 0 0.0
(read/write) 1600292 1600292 0 0.0
.bss 179728 179728 0 0.0
.data 2448 2448 0 0.0
.text 1409728 1409728 0 0.0
lock-app default (read only) 846136 846136 0 0.0
(read/write) 1638012 1638012 0 0.0
.bss 184744 184744 0 0.0
.data 2464 2464 0 0.0
.text 1442416 1442416 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 808800 808800 0 0.0
bss 71480 71480 0 0.0
noinit 43488 43488 0 0.0
text 571348 571348 0 0.0
lighting-app tlsr9518adk80d (read/write) 830776 830776 0 0.0
bss 72336 72336 0 0.0
noinit 43488 43488 0 0.0
text 589472 589474 2 0.0

@andy31415 andy31415 merged commit 8c915e0 into project-chip:sve-2 Sep 13, 2022
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.

2 participants