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

[Telink] Implement OnSubscriptionRequested callback for SED examples #26650

Merged

Conversation

s07641069
Copy link
Contributor

Change overview

Copied implementation from #26130.
Added OnSubscriptionRequested callback implementation to make the Matter accessory device negotiate subscription report interval instead of always accepting the requested value.

Testing

Tested manually with chip-tool.

Steps:

  • Run: $ chip-tool pairing ble-thread <...>
  • Wait till success
  • Run: $ chip-tool onoff on ${NODE_ID }1
  • Wait till success
  • Run: $ chip-tool onoff off ${NODE_ID }1
  • Wait till success

@github-actions
Copy link

github-actions bot commented May 18, 2023

PR #26650: Size comparison from ca83f16 to cf5377c

Increases (13 builds for bl602, cc32xx, telink)
platform target config section ca83f16 cf5377c change % change
bl602 lighting-app bl602 .text 1036266 1036268 2 0.0
bl602+rpc (read/write) 1402390 1402398 8 0.0
.text 1067622 1067626 4 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20434633 20434634 1 0.0
telink all-clusters-app tlsr9518adk80d (read/write) 1002424 1002432 8 0.0
text 681046 681050 4 0.0
all-clusters-minimal-app tlsr9518adk80d (read/write) 938028 938036 8 0.0
text 642812 642814 2 0.0
contact-sensor-app tlsr9518adk80d (read/write) 847672 847824 152 0.0
text 575494 575612 118 0.0
light-switch-app tlsr9518adk80d (read/write) 863960 864120 160 0.0
text 590120 590238 118 0.0
lock-app tlsr9518adk80d (read/write) 902656 902816 160 0.0
text 604136 604254 118 0.0
pump-app tlsr9518adk80d (read/write) 853664 853824 160 0.0
text 581668 581786 118 0.0
pump-controller-app tlsr9518adk80d (read/write) 840460 840620 160 0.0
text 571788 571908 120 0.0
temperature-measurement-app tlsr9518adk80d (read/write) 836704 836856 152 0.0
text 567504 567618 114 0.0
thermostat tlsr9518adk80d (read/write) 868356 868508 152 0.0
text 591840 591956 116 0.0
window-covering tlsr9518adk80d (read/write) 865016 865168 152 0.0
text 587526 587646 120 0.0
Decreases (3 builds for esp32, psoc6, telink)
platform target config section ca83f16 cf5377c change % change
esp32 all-clusters-app m5stack (read/write) 492870 492866 -4 -0.0
.flash.rodata 241224 241220 -4 -0.0
psoc6 all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27804409 27804408 -1 -0.0
telink lighting-app-rpc tlsr9518adk80d (read/write) 1002864 1002856 -8 -0.0
text 696174 696170 -4 -0.0
Full report (57 builds for bl602, bl702, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section ca83f16 cf5377c change % change
bl602 lighting-app bl602 (read/write) 1356122 1356122 0 0.0
.bss 87886 87886 0 0.0
.data 9648 9648 0 0.0
.text 1036266 1036268 2 0.0
bl602+rpc (read/write) 1402390 1402398 8 0.0
.bss 95934 95934 0 0.0
.data 10040 10040 0 0.0
.text 1067622 1067626 4 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1188079 1188079 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 67585 67585 0 0.0
.bss_psram 24656 24656 0 0.0
.comment 48 48 0 0.0
.data 3952 3952 0 0.0
.debug_abbrev 1552342 1552342 0 0.0
.debug_aranges 135608 135608 0 0.0
.debug_frame 498848 498848 0 0.0
.debug_info 41948320 41948320 0 0.0
.debug_line 5357441 5357441 0 0.0
.debug_loc 3485534 3485534 0 0.0
.debug_ranges 375056 375056 0 0.0
.debug_str 3818240 3818240 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 140 140 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107152 107152 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 581708 581708 0 0.0
.symtab 175520 175520 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
966644 966644 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1276883 1276883 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 75633 75633 0 0.0
.bss_psram 25056 25056 0 0.0
.comment 48 48 0 0.0
.data 4504 4504 0 0.0
.debug_abbrev 1711336 1711336 0 0.0
.debug_aranges 143896 143896 0 0.0
.debug_frame 526860 526860 0 0.0
.debug_info 46872902 46872902 0 0.0
.debug_line 5773277 5773277 0 0.0
.debug_loc 3688294 3688294 0 0.0
.debug_ranges 400416 400416 0 0.0
.debug_str 4243619 4243619 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121248 121248 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 643028 643028 0 0.0
.symtab 194016 194016 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1040030 1040030 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 605490 605490 0 0.0
(read/write) 204164 204164 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197576 197576 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 954965 954965 0 0.0
.debug_aranges 103984 103984 0 0.0
.debug_frame 351868 351868 0 0.0
.debug_info 20434633 20434634 1 0.0
.debug_line 2708552 2708552 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1526335 1526335 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 96505 96505 0 0.0
.debug_str 3243611 3243611 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104322 104322 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 483655 483655 0 0.0
.symtab 287392 287392 0 0.0
.text 499044 499044 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 524459 524459 0 0.0
.app_xip_area 417253 417253 0 0.0
.bss 62184 62184 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 529139 529139 0 0.0
.app_xip_area 416629 416629 0 0.0
.bss 67480 67480 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 566163 566163 0 0.0
.app_xip_area 459717 459717 0 0.0
.bss 61472 61472 0 0.0
.data 668 668 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 530931 530931 0 0.0
.app_xip_area 421917 421917 0 0.0
.bss 63960 63960 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 963708 963708 0 0.0
.bss 179672 179672 0 0.0
.data 2136 2136 0 0.0
.text 781880 781880 0 0.0
BRD4187C (read/write) 1000728 1000728 0 0.0
.bss 159420 159420 0 0.0
.data 2780 2780 0 0.0
.text 838508 838508 0 0.0
lock-app BRD4161A+wf200 (read/write) 1068476 1068476 0 0.0
.bss 174144 174144 0 0.0
.data 2152 2152 0 0.0
.text 892160 892160 0 0.0
window-app BRD4187C (read/write) 1075920 1075920 0 0.0
.bss 143876 143876 0 0.0
.data 2676 2676 0 0.0
.text 929348 929348 0 0.0
esp32 all-clusters-app c3devkit (read only) 1053956 1053956 0 0.0
(read/write) 1583696 1583696 0 0.0
.dram0.bss 77176 77176 0 0.0
.dram0.data 13968 13968 0 0.0
.flash.rodata 213416 213416 0 0.0
.flash.text 1053956 1053956 0 0.0
.iram0.text 76708 76708 0 0.0
m5stack (read only) 1101863 1101863 0 0.0
(read/write) 492870 492866 -4 -0.0
.dram0.bss 82192 82192 0 0.0
.dram0.data 34304 34304 0 0.0
.flash.rodata 241224 241220 -4 -0.0
.flash.text 1096479 1096479 0 0.0
.iram0.text 126055 126055 0 0.0
k32w contact k32w0+release (read only) 583548 583548 0 0.0
(read/write) 82704 82704 0 0.0
.bss 65888 65888 0 0.0
.data 2192 2192 0 0.0
.text 583012 583012 0 0.0
light k32w0+release (read only) 582516 582516 0 0.0
(read/write) 82356 82356 0 0.0
.bss 65552 65552 0 0.0
.data 2180 2180 0 0.0
.text 581980 581980 0 0.0
lock k32w0+release (read only) 555956 555956 0 0.0
(read/write) 80352 80352 0 0.0
.bss 63624 63624 0 0.0
.data 2104 2104 0 0.0
.text 555420 555420 0 0.0
linux all-clusters-app debug (read only) 3146445 3146445 0 0.0
(read/write) 152808 152808 0 0.0
.bss 60192 60192 0 0.0
.data 2160 2160 0 0.0
.data.rel.ro 83952 83952 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 1120 1120 0 0.0
.rodata 230728 230728 0 0.0
.text 2729765 2729765 0 0.0
all-clusters-minimal-app debug (read only) 2954341 2954341 0 0.0
(read/write) 145696 145696 0 0.0
.bss 59296 59296 0 0.0
.data 2128 2128 0 0.0
.data.rel.ro 77872 77872 0 0.0
.dynamic 608 608 0 0.0
.got 4664 4664 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 224040 224040 0 0.0
.text 2548005 2548005 0 0.0
bridge-app debug (read only) 2516653 2516653 0 0.0
(read/write) 129648 129648 0 0.0
.bss 50232 50232 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 69608 69608 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 173224 173224 0 0.0
.text 2171109 2171109 0 0.0
chip-tool debug (read only) 13549457 13549457 0 0.0
(read/write) 696360 696360 0 0.0
.bss 26424 26424 0 0.0
.data 3042 3042 0 0.0
.data.rel.ro 660104 660104 0 0.0
.dynamic 608 608 0 0.0
.got 5360 5360 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 633133 633133 0 0.0
.text 11298228 11298228 0 0.0
chip-tool-ipv6only arm64 (read only) 12756940 12756940 0 0.0
(read/write) 748312 748312 0 0.0
.bss 34392 34392 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 689624 689624 0 0.0
.dynamic 560 560 0 0.0
.got 16072 16072 0 0.0
.init 24 24 0 0.0
.init_array 216 216 0 0.0
.rodata 578048 578048 0 0.0
.text 10403828 10403828 0 0.0
dynamic-bridge-app-ipv6only debug (read only) 2580253 2580253 0 0.0
(read/write) 126840 126840 0 0.0
.bss 47544 47544 0 0.0
.data 2864 2864 0 0.0
.data.rel.ro 70192 70192 0 0.0
.dynamic 624 624 0 0.0
.got 4800 4800 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 175944 175944 0 0.0
.text 2226949 2226949 0 0.0
lighting-app debug+rpc+ui (read only) 3244489 3244489 0 0.0
(read/write) 132272 132272 0 0.0
.bss 48032 48032 0 0.0
.data 2704 2704 0 0.0
.data.rel.ro 74736 74736 0 0.0
.dynamic 656 656 0 0.0
.got 5240 5240 0 0.0
.init 27 27 0 0.0
.init_array 872 872 0 0.0
.rodata 284628 284628 0 0.0
.text 2768066 2768066 0 0.0
lock-app debug (read only) 2656709 2656709 0 0.0
(read/write) 123624 123624 0 0.0
.bss 45952 45952 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 69648 69648 0 0.0
.dynamic 608 608 0 0.0
.got 4648 4648 0 0.0
.init 27 27 0 0.0
.init_array 832 832 0 0.0
.rodata 206248 206248 0 0.0
.text 2277765 2277765 0 0.0
ota-provider-app debug (read only) 2209229 2209229 0 0.0
(read/write) 103672 103672 0 0.0
.bss 44528 44528 0 0.0
.data 2112 2112 0 0.0
.data.rel.ro 51944 51944 0 0.0
.dynamic 608 608 0 0.0
.got 3800 3800 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 154344 154344 0 0.0
.text 1913365 1913365 0 0.0
ota-requestor-app debug (read only) 2376293 2376293 0 0.0
(read/write) 111464 111464 0 0.0
.bss 46960 46960 0 0.0
.data 2512 2512 0 0.0
.data.rel.ro 56800 56800 0 0.0
.dynamic 608 608 0 0.0
.got 3784 3784 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 158440 158440 0 0.0
.text 2067461 2067461 0 0.0
shell debug (read only) 2683081 2683081 0 0.0
(read/write) 141232 141232 0 0.0
.bss 59144 59144 0 0.0
.data 1232 1232 0 0.0
.data.rel.ro 75016 75016 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 199218 199218 0 0.0
.text 2321842 2321842 0 0.0
thermostat-no-ble arm64 (read only) 2520836 2520836 0 0.0
(read/write) 142456 142456 0 0.0
.bss 53464 53464 0 0.0
.data 1784 1784 0 0.0
.data.rel.ro 77728 77728 0 0.0
.dynamic 560 560 0 0.0
.got 5432 5432 0 0.0
.init 24 24 0 0.0
.init_array 384 384 0 0.0
.rodata 129256 129256 0 0.0
.text 2128164 2128164 0 0.0
tv-app debug (read only) 3312737 3312737 0 0.0
(read/write) 261544 261544 0 0.0
.bss 171264 171264 0 0.0
.data 4080 4080 0 0.0
.data.rel.ro 79480 79480 0 0.0
.dynamic 608 608 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 1088 1088 0 0.0
.rodata 222616 222616 0 0.0
.text 2893938 2893938 0 0.0
tv-casting-app debug (read only) 7358513 7358513 0 0.0
(read/write) 194352 194352 0 0.0
.bss 52096 52096 0 0.0
.data 1744 1744 0 0.0
.data.rel.ro 133944 133944 0 0.0
.dynamic 608 608 0 0.0
.got 4920 4920 0 0.0
.init 27 27 0 0.0
.init_array 1000 1000 0 0.0
.rodata 315340 315340 0 0.0
.text 6676642 6676642 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2495256 2495256 0 0.0
.bss 216304 216304 0 0.0
.data 5144 5144 0 0.0
.text 1457940 1457940 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1177452 1177452 0 0.0
bss 155605 155605 0 0.0
rodata 132988 132988 0 0.0
text 808136 808136 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1437244 1437244 0 0.0
bss 135345 135345 0 0.0
rodata 229004 229004 0 0.0
text 778796 778796 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1123592 1123592 0 0.0
bss 154757 154757 0 0.0
rodata 109752 109752 0 0.0
text 778348 778348 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 840640 840640 0 0.0
(read/write) 1708412 1708412 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 190148 190148 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2552 2552 0 0.0
.debug_abbrev 1285191 1285191 0 0.0
.debug_aranges 131272 131272 0 0.0
.debug_frame 436224 436224 0 0.0
.debug_info 28182160 28182160 0 0.0
.debug_line 3805918 3805918 0 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2059144 2059144 0 0.0
.debug_rnglists 130404 130404 0 0.0
.debug_str 3756250 3756250 0 0.0
.heap 840640 840640 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 719318 719318 0 0.0
.symtab 467424 467424 0 0.0
.text 1507324 1507324 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 841440 841440 0 0.0
(read/write) 1649468 1649468 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189348 189348 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2552 2552 0 0.0
.debug_abbrev 1274930 1274930 0 0.0
.debug_aranges 130520 130520 0 0.0
.debug_frame 438664 438664 0 0.0
.debug_info 27804409 27804408 -1 -0.0
.debug_line 3819110 3819110 0 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2050057 2050057 0 0.0
.debug_rnglists 129353 129353 0 0.0
.debug_str 3745009 3745009 0 0.0
.heap 841440 841440 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 675600 675600 0 0.0
.symtab 451840 451840 0 0.0
.text 1449180 1449180 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 849736 849736 0 0.0
(read/write) 1571108 1571108 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 181220 181220 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2384 2384 0 0.0
.debug_abbrev 1108650 1108650 0 0.0
.debug_aranges 120672 120672 0 0.0
.debug_frame 401900 401900 0 0.0
.debug_info 23117090 23117090 0 0.0
.debug_line 3382105 3382105 0 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1881550 1881550 0 0.0
.debug_rnglists 118982 118982 0 0.0
.debug_str 3550659 3550659 0 0.0
.heap 849736 849736 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 591603 591603 0 0.0
.symtab 414288 414288 0 0.0
.text 1379116 1379116 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 821952 821952 0 0.0
(read/write) 1627628 1627628 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 208996 208996 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2392 2392 0 0.0
.debug_abbrev 1107709 1107709 0 0.0
.debug_aranges 121176 121176 0 0.0
.debug_frame 403992 403992 0 0.0
.debug_info 23283620 23283620 0 0.0
.debug_line 3378509 3378509 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1894994 1894994 0 0.0
.debug_rnglists 119438 119438 0 0.0
.debug_str 3565649 3565649 0 0.0
.heap 821952 821952 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 595604 595604 0 0.0
.symtab 416624 416624 0 0.0
.text 1407852 1407852 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1170296 1170296 0 0.0
.bss 99928 99928 0 0.0
.data 856 856 0 0.0
.text 617396 617396 0 0.0
lock-app qpg6105+debug (read/write) 1139540 1139540 0 0.0
.bss 94824 94824 0 0.0
.data 856 856 0 0.0
.text 586640 586640 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1002424 1002432 8 0.0
bss 97952 97952 0 0.0
text 681046 681050 4 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 938028 938036 8 0.0
bss 97004 97004 0 0.0
text 642812 642814 2 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 919432 919432 0 0.0
bss 99348 99348 0 0.0
text 635464 635464 0 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 847672 847824 152 0.0
bss 88904 88904 0 0.0
text 575494 575612 118 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 863960 864120 160 0.0
bss 89060 89060 0 0.0
text 590120 590238 118 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934588 934588 0 0.0
bss 97376 97376 0 0.0
text 652462 652462 0 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 945992 945992 0 0.0
bss 101624 101624 0 0.0
text 660016 660016 0 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1002864 1002856 -8 -0.0
bss 98940 98940 0 0.0
text 696174 696170 -4 -0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 902656 902816 160 0.0
bss 89556 89556 0 0.0
text 604136 604254 118 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 870552 870552 0 0.0
bss 90176 90176 0 0.0
text 597590 597590 0 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 853664 853824 160 0.0
bss 89024 89024 0 0.0
text 581668 581786 118 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 840460 840620 160 0.0
bss 88824 88824 0 0.0
text 571788 571908 120 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 836704 836856 152 0.0
bss 88744 88744 0 0.0
text 567504 567618 114 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 868356 868508 152 0.0
bss 90448 90448 0 0.0
text 591840 591956 116 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865016 865168 152 0.0
bss 90868 90868 0 0.0
text 587526 587646 120 0.0

src/platform/telink/BUILD.gn Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented May 24, 2023

PR #26650: Size comparison from 75bd5af to fec3f44

Increases (14 builds for bl602, bl702, cc32xx, psoc6, telink)
platform target config section 75bd5af fec3f44 change % change
bl602 lighting-app bl602 .text 1036522 1036526 4 0.0
bl602+rpc .text 1067878 1067880 2 0.0
bl702 lighting-app bl702+rpc (read/write) 1276963 1276979 16 0.0
.debug_info 47077106 47077107 1 0.0
.text 1040112 1040114 2 0.0
cc32xx lock CC3235SF_LAUNCHXL .debug_info 20535379 20535380 1 0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 28317160 28317162 2 0.0
lock cy8ckit_062s2_43012 .debug_info 23388654 23388656 2 0.0
telink contact-sensor-app tlsr9518adk80d (read/write) 856052 856200 148 0.0
text 581264 581382 118 0.0
light-switch-app tlsr9518adk80d (read/write) 872356 872496 140 0.0
text 595890 596004 114 0.0
lock-app tlsr9518adk80d (read/write) 911104 911252 148 0.0
text 609924 610040 116 0.0
pump-app tlsr9518adk80d (read/write) 862040 862196 156 0.0
text 587432 587550 118 0.0
pump-controller-app tlsr9518adk80d (read/write) 848836 848992 156 0.0
text 577552 577672 120 0.0
temperature-measurement-app tlsr9518adk80d (read/write) 845068 845216 148 0.0
text 573258 573374 116 0.0
thermostat tlsr9518adk80d (read/write) 876728 876884 156 0.0
text 597600 597718 118 0.0
window-covering tlsr9518adk80d (read/write) 873388 873544 156 0.0
text 593292 593410 118 0.0
Decreases (8 builds for efr32, esp32, psoc6, qpg, telink)
platform target config section 75bd5af fec3f44 change % change
efr32 lighting-app BRD4187C (read/write) 1000976 1000968 -8 -0.0
.text 838764 838756 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1068760 1068752 -8 -0.0
.text 892436 892428 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1053842 1053840 -2 -0.0
.flash.text 1053842 1053840 -2 -0.0
psoc6 all-clusters-minimal cy8ckit_062s2_43012 .debug_info 27936723 27936721 -2 -0.0
light cy8ckit_062s2_43012 .debug_info 23223983 23223982 -1 -0.0
qpg lighting-app qpg6105+debug (read/write) 1170688 1170680 -8 -0.0
.text 617788 617780 -8 -0.0
telink lighting-app-rpc tlsr9518adk80d text 700176 700174 -2 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 878800 878792 -8 -0.0
text 603310 603308 -2 -0.0
Full report (45 builds for bl602, bl702, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 75bd5af fec3f44 change % change
bl602 lighting-app bl602 (read/write) 1356390 1356390 0 0.0
.bss 87886 87886 0 0.0
.data 9648 9648 0 0.0
.text 1036522 1036526 4 0.0
bl602+rpc (read/write) 1402658 1402658 0 0.0
.bss 95934 95934 0 0.0
.data 10040 10040 0 0.0
.text 1067878 1067880 2 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1188175 1188175 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 67585 67585 0 0.0
.bss_psram 24656 24656 0 0.0
.comment 48 48 0 0.0
.data 3952 3952 0 0.0
.debug_abbrev 1555717 1555717 0 0.0
.debug_aranges 136024 136024 0 0.0
.debug_frame 500380 500380 0 0.0
.debug_info 42151047 42151047 0 0.0
.debug_line 5370626 5370626 0 0.0
.debug_loc 3495965 3495965 0 0.0
.debug_ranges 375576 375576 0 0.0
.debug_str 3834243 3834243 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 140 140 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107168 107168 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 582212 582212 0 0.0
.symtab 175632 175632 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
966726 966726 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1276963 1276979 16 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 75633 75633 0 0.0
.bss_psram 25056 25056 0 0.0
.comment 48 48 0 0.0
.data 4504 4504 0 0.0
.debug_abbrev 1714700 1714700 0 0.0
.debug_aranges 144312 144312 0 0.0
.debug_frame 528392 528392 0 0.0
.debug_info 47077106 47077107 1 0.0
.debug_line 5786543 5786543 0 0.0
.debug_loc 3698798 3698798 0 0.0
.debug_ranges 400936 400936 0 0.0
.debug_str 4259760 4259760 0 0.0
.hbn 536 536 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121248 121248 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 643532 643532 0 0.0
.symtab 194128 194128 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1040112 1040114 2 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 605706 605706 0 0.0
(read/write) 204164 204164 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 197576 197576 0 0.0
.comment 206 206 0 0.0
.data 1468 1468 0 0.0
.debug_abbrev 955047 955047 0 0.0
.debug_aranges 104344 104344 0 0.0
.debug_frame 353240 353240 0 0.0
.debug_info 20535379 20535380 1 0.0
.debug_line 2714847 2714847 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1532184 1532184 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 96792 96792 0 0.0
.debug_str 3259284 3259284 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104378 104378 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 483853 483853 0 0.0
.symtab 287456 287456 0 0.0
.text 499204 499204 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 524579 524579 0 0.0
.app_xip_area 417373 417373 0 0.0
.bss 62184 62184 0 0.0
.data 712 712 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 529283 529283 0 0.0
.app_xip_area 416773 416773 0 0.0
.bss 67480 67480 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 566291 566291 0 0.0
.app_xip_area 459845 459845 0 0.0
.bss 61472 61472 0 0.0
.data 668 668 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 531059 531059 0 0.0
.app_xip_area 422045 422045 0 0.0
.bss 63960 63960 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 963972 963972 0 0.0
.bss 179680 179680 0 0.0
.data 2136 2136 0 0.0
.text 782136 782136 0 0.0
BRD4187C (read/write) 1000976 1000968 -8 -0.0
.bss 159412 159412 0 0.0
.data 2780 2780 0 0.0
.text 838764 838756 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1068760 1068752 -8 -0.0
.bss 174152 174152 0 0.0
.data 2152 2152 0 0.0
.text 892436 892428 -8 -0.0
window-app BRD4187C (read/write) 1076244 1076244 0 0.0
.bss 143884 143884 0 0.0
.data 2676 2676 0 0.0
.text 929664 929664 0 0.0
esp32 all-clusters-app c3devkit (read only) 1053842 1053840 -2 -0.0
(read/write) 1583752 1583752 0 0.0
.dram0.bss 77176 77176 0 0.0
.dram0.data 13964 13964 0 0.0
.flash.rodata 213472 213472 0 0.0
.flash.text 1053842 1053840 -2 -0.0
.iram0.text 76538 76538 0 0.0
m5stack (read only) 1101323 1101323 0 0.0
(read/write) 492918 492918 0 0.0
.dram0.bss 82192 82192 0 0.0
.dram0.data 34300 34300 0 0.0
.flash.rodata 241272 241272 0 0.0
.flash.text 1095939 1095939 0 0.0
.iram0.text 126055 126055 0 0.0
k32w contact k32w0+release (read only) 583644 583644 0 0.0
(read/write) 82704 82704 0 0.0
.bss 65888 65888 0 0.0
.data 2192 2192 0 0.0
.text 583108 583108 0 0.0
light k32w0+release (read only) 582620 582620 0 0.0
(read/write) 82356 82356 0 0.0
.bss 65552 65552 0 0.0
.data 2180 2180 0 0.0
.text 582084 582084 0 0.0
lock k32w0+release (read only) 556076 556076 0 0.0
(read/write) 80352 80352 0 0.0
.bss 63624 63624 0 0.0
.data 2104 2104 0 0.0
.text 555540 555540 0 0.0
linux chip-tool-ipv6only arm64 (read only) 12930812 12930812 0 0.0
(read/write) 749432 749432 0 0.0
.bss 34392 34392 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 690704 690704 0 0.0
.dynamic 560 560 0 0.0
.got 16120 16120 0 0.0
.init 24 24 0 0.0
.init_array 216 216 0 0.0
.rodata 599808 599808 0 0.0
.text 10553348 10553348 0 0.0
thermostat-no-ble arm64 (read only) 2521644 2521644 0 0.0
(read/write) 142456 142456 0 0.0
.bss 53464 53464 0 0.0
.data 1784 1784 0 0.0
.data.rel.ro 77728 77728 0 0.0
.dynamic 560 560 0 0.0
.got 5432 5432 0 0.0
.init 24 24 0 0.0
.init_array 384 384 0 0.0
.rodata 129280 129280 0 0.0
.text 2128948 2128948 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2495368 2495368 0 0.0
.bss 216304 216304 0 0.0
.data 5144 5144 0 0.0
.text 1458052 1458052 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1177616 1177616 0 0.0
bss 155605 155605 0 0.0
rodata 133040 133040 0 0.0
text 808256 808256 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1437360 1437360 0 0.0
bss 135345 135345 0 0.0
rodata 229056 229056 0 0.0
text 778856 778856 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1123852 1123852 0 0.0
bss 154757 154757 0 0.0
rodata 109804 109804 0 0.0
text 778556 778556 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 840640 840640 0 0.0
(read/write) 1708620 1708620 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 190148 190148 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2552 2552 0 0.0
.debug_abbrev 1285274 1285274 0 0.0
.debug_aranges 131632 131632 0 0.0
.debug_frame 437600 437600 0 0.0
.debug_info 28317160 28317162 2 0.0
.debug_line 3812224 3812224 0 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2064901 2064901 0 0.0
.debug_rnglists 130689 130689 0 0.0
.debug_str 3771322 3771322 0 0.0
.heap 840640 840640 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 719399 719399 0 0.0
.symtab 467488 467488 0 0.0
.text 1507532 1507532 0 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 841440 841440 0 0.0
(read/write) 1649676 1649676 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 189348 189348 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2552 2552 0 0.0
.debug_abbrev 1275013 1275013 0 0.0
.debug_aranges 130880 130880 0 0.0
.debug_frame 440040 440040 0 0.0
.debug_info 27936723 27936721 -2 -0.0
.debug_line 3825416 3825416 0 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2055813 2055813 0 0.0
.debug_rnglists 129638 129638 0 0.0
.debug_str 3760081 3760081 0 0.0
.heap 841440 841440 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 675766 675766 0 0.0
.symtab 451936 451936 0 0.0
.text 1449388 1449388 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 849736 849736 0 0.0
(read/write) 1571228 1571228 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 181220 181220 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2384 2384 0 0.0
.debug_abbrev 1108676 1108676 0 0.0
.debug_aranges 121032 121032 0 0.0
.debug_frame 403276 403276 0 0.0
.debug_info 23223983 23223982 -1 -0.0
.debug_line 3388274 3388274 0 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1887277 1887277 0 0.0
.debug_rnglists 119267 119267 0 0.0
.debug_str 3566289 3566289 0 0.0
.heap 849736 849736 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 591746 591746 0 0.0
.symtab 414352 414352 0 0.0
.text 1379236 1379236 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 821952 821952 0 0.0
(read/write) 1627844 1627844 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 208996 208996 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2392 2392 0 0.0
.debug_abbrev 1107794 1107794 0 0.0
.debug_aranges 121536 121536 0 0.0
.debug_frame 405368 405368 0 0.0
.debug_info 23388654 23388656 2 0.0
.debug_line 3384797 3384797 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1900750 1900750 0 0.0
.debug_rnglists 119723 119723 0 0.0
.debug_str 3581307 3581307 0 0.0
.heap 821952 821952 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 595760 595760 0 0.0
.symtab 416688 416688 0 0.0
.text 1408068 1408068 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1170688 1170680 -8 -0.0
.bss 99928 99928 0 0.0
.data 856 856 0 0.0
.text 617788 617780 -8 -0.0
lock-app qpg6105+debug (read/write) 1139868 1139868 0 0.0
.bss 94824 94824 0 0.0
.data 856 856 0 0.0
.text 586968 586968 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1010756 1010756 0 0.0
bss 98928 98928 0 0.0
text 686772 686772 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 946480 946480 0 0.0
bss 97980 97980 0 0.0
text 648652 648652 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 924976 924976 0 0.0
bss 100212 100212 0 0.0
text 638722 638722 0 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 856052 856200 148 0.0
bss 89888 89888 0 0.0
text 581264 581382 118 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 872356 872496 140 0.0
bss 90044 90044 0 0.0
text 595890 596004 114 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 940116 940116 0 0.0
bss 98232 98232 0 0.0
text 655718 655718 0 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 951496 951496 0 0.0
bss 102480 102480 0 0.0
text 663242 663242 0 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1008540 1008540 0 0.0
bss 99796 99796 0 0.0
text 700176 700174 -2 -0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 911104 911252 148 0.0
bss 90540 90540 0 0.0
text 609924 610040 116 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 878800 878792 -8 -0.0
bss 91152 91152 0 0.0
text 603310 603308 -2 -0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 862040 862196 156 0.0
bss 90008 90008 0 0.0
text 587432 587550 118 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 848836 848992 156 0.0
bss 89808 89808 0 0.0
text 577552 577672 120 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 845068 845216 148 0.0
bss 89728 89728 0 0.0
text 573258 573374 116 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876728 876884 156 0.0
bss 91432 91432 0 0.0
text 597600 597718 118 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 873388 873544 156 0.0
bss 91844 91844 0 0.0
text 593292 593410 118 0.0

@s07641069
Copy link
Contributor Author

@Damian-Nordic looks like PR ready for merge.

@Damian-Nordic Damian-Nordic merged commit 849cd66 into project-chip:master May 24, 2023
@s07641069 s07641069 deleted the telink_icd_subscription_callback branch May 24, 2023 13:58
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