Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix EP0 in dynamic bridge app #23179

Merged
merged 6 commits into from
Oct 17, 2022

Conversation

achaulk-goog
Copy link
Contributor

Currently this conflicts with EP0 Descriptor clusters, we register an override that can't provide EP0 values and it vectors into that causing commissioning failures

Currently this conflicts with EP0 Descriptor clusters, we register an override that can't provide EP0 values and it vectors into that
@mrjerryjohns
Copy link
Contributor

Since this is really just about the descriptor cluster, we shouldn't really be over-riding the existing impl in the SDK, since that 'just works' as long as the right cluster metdata tables are provided at endpoint registration time.

Talked with @achaulk-goog, he's going to fix up the PR to ensure the descriptor cluster is present in all dynamic endpoints at endpoint registration time in the 'metadata tables', but stop short of actually registering an attribute access interface override.

@github-actions
Copy link

PR #23179: Size comparison from ac19e88 to 772b2a3

Decreases (1 build for bl702)
platform target config section ac19e88 772b2a3 change % change
bl702 lighting-app bl702 (read/write) 1188659 1188643 -16 -0.0
.debug_info 37905259 37905258 -1 -0.0
.text 957026 957024 -2 -0.0
Full report (5 builds for bl702, mbed, nrfconnect)
platform target config section ac19e88 772b2a3 change % change
bl702 lighting-app bl702 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1188659 1188643 -16 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67102 67102 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1506865 1506865 0 0.0
.debug_aranges 133128 133128 0 0.0
.debug_frame 486580 486580 0 0.0
.debug_info 37905259 37905258 -1 -0.0
.debug_line 5256764 5256764 0 0.0
.debug_loc 3367112 3367112 0 0.0
.debug_ranges 359368 359368 0 0.0
.debug_str 3457811 3457811 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116744 116744 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565071 565071 0 0.0
.symtab 171664 171664 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 957026 957024 -2 -0.0
bl702+rpc 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1284579 1284579 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75150 75150 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644410 1644410 0 0.0
.debug_aranges 140632 140632 0 0.0
.debug_frame 511956 511956 0 0.0
.debug_info 4181187 4181187 0 0.0
.debug_line 5631299 5631299 0 0.0
.debug_loc 3559772 3559772 0 0.0
.debug_ranges 381824 381824 0 0.0
.debug_str 3853711 3853711 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130136 130136 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624244 624244 0 0.0
.symtab 189472 189472 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 1030728 1030728 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452168 2452168 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414812 1414812 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183451 1183451 0 0.0
bss 144441 144441 0 0.0
rodata 144396 144396 0 0.0
text 815708 815708 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162119 1162119 0 0.0
bss 143668 143668 0 0.0
rodata 135968 135968 0 0.0
text 803600 803600 0 0.0

remove constant
@github-actions
Copy link

PR #23179: Size comparison from ac19e88 to f653f3c

Decreases (5 builds for bl702, telink)
platform target config section ac19e88 f653f3c change % change
bl702 lighting-app bl702 (read/write) 1188659 1188643 -16 -0.0
.debug_info 37905259 37905258 -1 -0.0
.text 957026 957024 -2 -0.0
bl702+rpc .debug_info 4181187 41811870 -2 -0.0
.text 1030728 1030724 -4 -0.0
telink light-switch-app tlsr9518adk80d text 553140 553136 -4 -0.0
lighting-app tlsr9518adk80d (read/write) 811476 811468 -8 -0.0
text 571358 571354 -4 -0.0
ota-requestor-app tlsr9518adk80d text 577544 577542 -2 -0.0
Full report (13 builds for bl702, k32w, linux, mbed, nrfconnect, telink)
platform target config section ac19e88 f653f3c change % change
bl702 lighting-app bl702 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1188659 1188643 -16 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67102 67102 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1506865 1506865 0 0.0
.debug_aranges 133128 133128 0 0.0
.debug_frame 486580 486580 0 0.0
.debug_info 37905259 37905258 -1 -0.0
.debug_line 5256764 5256764 0 0.0
.debug_loc 3367112 3367112 0 0.0
.debug_ranges 359368 359368 0 0.0
.debug_str 3457811 3457811 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116744 116744 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565071 565071 0 0.0
.symtab 171664 171664 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 957026 957024 -2 -0.0
bl702+rpc 0 0 0 0.0
(read only) 3262 3262 0 0.0
(read/write) 1284579 1284579 0 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75150 75150 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644410 1644410 0 0.0
.debug_aranges 140632 140632 0 0.0
.debug_frame 511956 511956 0 0.0
.debug_info 4181187 41811870 -2 -0.0
.debug_line 5631299 5631299 0 0.0
.debug_loc 3559772 3559772 0 0.0
.debug_ranges 381824 381824 0 0.0
.debug_str 3853711 3853711 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130136 130136 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624244 624244 0 0.0
.symtab 189472 189472 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 1030728 1030724 -4 -0.0
k32w contact k32w0+release (read/write) 661284 661284 0 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563028 563028 0 0.0
light k32w0+release (read/write) 671280 671280 0 0.0
.bss 74816 74816 0 0.0
.data 2060 2060 0 0.0
.text 591676 591676 0 0.0
lock k32w0+release (read/write) 633092 633092 0 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552684 552684 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10429476 10429476 0 0.0
(read/write) 706353 706353 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650632 650632 0 0.0
.dynamic 560 560 0 0.0
.got 13896 13896 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518132 518132 0 0.0
.text 8255780 8255780 0 0.0
thermostat-no-ble arm64 (read only) 2390380 2390380 0 0.0
(read/write) 143633 143633 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77256 77256 0 0.0
.dynamic 560 560 0 0.0
.got 5176 5176 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144436 144436 0 0.0
.text 2003040 2003040 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452168 2452168 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414812 1414812 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183451 1183451 0 0.0
bss 144441 144441 0 0.0
rodata 144396 144396 0 0.0
text 815708 815708 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162119 1162119 0 0.0
bss 143668 143668 0 0.0
rodata 135968 135968 0 0.0
text 803600 803600 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 789364 789364 0 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 553140 553136 -4 -0.0
lighting-app tlsr9518adk80d (read/write) 811476 811468 -8 -0.0
bss 73328 73328 0 0.0
noinit 43520 43520 0 0.0
text 571358 571354 -4 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 819412 819412 0 0.0
bss 74236 74236 0 0.0
noinit 43520 43520 0 0.0
text 577544 577542 -2 -0.0

@github-actions
Copy link

github-actions bot commented Oct 14, 2022

PR #23179: Size comparison from ac19e88 to baf1b28

Increases (14 builds for bl602, bl702, efr32, esp32, linux, psoc6)
platform target config section ac19e88 baf1b28 change % change
bl602 lighting-app bl602 (read/write) 1389646 1389710 64 0.0
.text 1069052 1069118 66 0.0
bl602+rpc (read/write) 1434866 1434934 68 0.0
.text 1100402 1100466 64 0.0
bl702 lighting-app bl702 (read/write) 1188659 1188675 16 0.0
.debug_aranges 133128 133136 8 0.0
.debug_frame 486580 486600 20 0.0
.debug_info 37905259 37905412 153 0.0
.debug_line 5256764 5256822 58 0.0
.debug_loc 3367112 3367145 33 0.0
.debug_ranges 359368 359376 8 0.0
.text 957026 957056 30 0.0
bl702+rpc .debug_aranges 140632 140640 8 0.0
.debug_frame 511956 511972 16 0.0
.debug_info 4181187 41812026 154 0.0
.debug_line 5631299 5631353 54 0.0
.debug_loc 3559772 3559792 20 0.0
.debug_ranges 381824 381832 8 0.0
efr32 lighting-app BRD4161A+rs911x (read/write) 1030960 1030992 32 0.0
.text 842192 842224 32 0.0
BRD4187C (read/write) 1145876 1145900 24 0.0
.text 980044 980068 24 0.0
window-app BRD4187C (read/write) 1139312 1139336 24 0.0
.text 972016 972040 24 0.0
esp32 all-clusters-app c3devkit (read only) 1223338 1223342 4 0.0
.flash.text 1223338 1223342 4 0.0
m5stack (read/write) 564204 564212 8 0.0
.flash.rodata 314928 314936 8 0.0
linux thermostat-no-ble arm64 (read only) 2390380 2390524 144 0.0
.text 2003040 2003184 144 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read/write) 1745164 1745212 48 0.0
.debug_aranges 111856 111872 16 0.0
.debug_frame 373484 373516 32 0.0
.debug_info 26831616 26832043 427 0.0
.debug_line 3672032 3672175 143 0.0
.debug_loc 3589149 3589235 86 0.0
.debug_ranges 339712 339728 16 0.0
.text 1545400 1545448 48 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read/write) 1687748 1687796 48 0.0
.debug_aranges 111328 111344 16 0.0
.debug_frame 376564 376596 32 0.0
.debug_info 26568399 26568825 426 0.0
.debug_line 3692749 3692892 143 0.0
.debug_loc 3576786 3576872 86 0.0
.debug_ranges 338328 338344 16 0.0
.text 1488720 1488768 48 0.0
light cy8ckit_062s2_43012 (read/write) 1606292 1606356 64 0.0
.debug_aranges 103536 103552 16 0.0
.debug_frame 346896 346928 32 0.0
.debug_info 22032120 22032549 429 0.0
.debug_line 3262673 3262816 143 0.0
.debug_loc 3274748 3274834 86 0.0
.debug_ranges 303632 303648 16 0.0
.text 1415456 1415520 64 0.0
lock cy8ckit_062s2_43012 (read/write) 1640212 1640276 64 0.0
.debug_aranges 103936 103952 16 0.0
.debug_frame 348788 348820 32 0.0
.debug_info 22270816 22271243 427 0.0
.debug_line 3260534 3260677 143 0.0
.debug_loc 3303341 3303427 86 0.0
.debug_ranges 305576 305592 16 0.0
.text 1444360 1444424 64 0.0
Decreases (11 builds for bl702, efr32, esp32, nrfconnect, psoc6, telink)
platform target config section ac19e88 baf1b28 change % change
bl702 lighting-app bl702+rpc (read/write) 1284579 1284355 -224 -0.0
.text 1030728 1030502 -226 -0.0
efr32 lighting-app BRD4161A+rpc (read/write) 973892 973860 -32 -0.0
.text 819372 819340 -32 -0.0
esp32 all-clusters-app c3devkit (read/write) 1788302 1788294 -8 -0.0
.flash.rodata 257872 257864 -8 -0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 803600 803596 -4 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_abbrev 1229390 1229384 -6 -0.0
all-clusters-minimal cy8ckit_062s2_43012 .debug_abbrev 1221189 1221183 -6 -0.0
light cy8ckit_062s2_43012 .debug_abbrev 1055300 1055294 -6 -0.0
lock cy8ckit_062s2_43012 .debug_abbrev 1057426 1057420 -6 -0.0
telink light-switch-app tlsr9518adk80d text 553140 553136 -4 -0.0
lighting-app tlsr9518adk80d (read/write) 811476 811468 -8 -0.0
text 571358 571354 -4 -0.0
ota-requestor-app tlsr9518adk80d text 577544 577540 -4 -0.0
Full report (31 builds for bl602, bl702, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section ac19e88 baf1b28 change % change
bl602 lighting-app bl602 (read/write) 1389646 1389710 64 0.0
.bss 90729 90729 0 0.0
.data 9928 9928 0 0.0
.text 1069052 1069118 66 0.0
bl602+rpc (read/write) 1434866 1434934 68 0.0
.bss 98161 98161 0 0.0
.data 10312 10312 0 0.0
.text 1100402 1100466 64 0.0
bl702 lighting-app bl702 (read only) 3262 3262 0 0.0
(read/write) 1188659 1188675 16 0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 67102 67102 0 0.0
.bss_psram 29696 29696 0 0.0
.comment 48 48 0 0.0
.data 4272 4272 0 0.0
.debug_abbrev 1506865 1506865 0 0.0
.debug_aranges 133128 133136 8 0.0
.debug_frame 486580 486600 20 0.0
.debug_info 37905259 37905412 153 0.0
.debug_line 5256764 5256822 58 0.0
.debug_loc 3367112 3367145 33 0.0
.debug_ranges 359368 359376 8 0.0
.debug_str 3457811 3457811 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 116744 116744 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 565071 565071 0 0.0
.symtab 171664 171664 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
957026 957056 30 0.0
bl702+rpc (read only) 3262 3262 0 0.0
(read/write) 1284579 1284355 -224 -0.0
.bleromro 6296 6296 0 0.0
.bleromrw 124 124 0 0.0
.boot2 688 688 0 0.0
.bss 75150 75150 0 0.0
.bss_psram 29936 29936 0 0.0
.comment 48 48 0 0.0
.data 4800 4800 0 0.0
.debug_abbrev 1644410 1644410 0 0.0
.debug_aranges 140632 140640 8 0.0
.debug_frame 511956 511972 16 0.0
.debug_info 4181187 41812026 154 0.0
.debug_line 5631299 5631353 54 0.0
.debug_loc 3559772 3559792 20 0.0
.debug_ranges 381824 381832 8 0.0
.debug_str 3853711 3853711 0 0.0
.hbn 509 509 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 130136 130136 0 0.0
.rsvd 3188 3188 0 0.0
.shstrtab 293 293 0 0.0
.stack 2048 2048 0 0.0
.strtab 624244 624244 0 0.0
.symtab 189472 189472 0 0.0
.tcm_data 36 36 0 0.0
.tcmcode 3262 3262 0 0.0
.text 0 0 0 0.0
1030728 1030502 -226 -0.0
cyw30739 light cyw930739m2evb_01 (read/write) 587914 587914 0 0.0
.app_xip_area 464524 464524 0 0.0
.bss 65808 65808 0 0.0
.data 760 760 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 592162 592162 0 0.0
.app_xip_area 463452 463452 0 0.0
.bss 71120 71120 0 0.0
.data 768 768 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 543958 543958 0 0.0
.app_xip_area 425624 425624 0 0.0
.bss 60800 60800 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+rpc (read/write) 973892 973860 -32 -0.0
.bss 152252 152252 0 0.0
.data 2248 2248 0 0.0
.text 819372 819340 -32 -0.0
BRD4161A+rs911x (read/write) 1030960 1030992 32 0.0
.bss 186656 186656 0 0.0
.data 2092 2092 0 0.0
.text 842192 842224 32 0.0
BRD4187C (read/write) 1145876 1145900 24 0.0
.bss 138640 138640 0 0.0
.data 2596 2596 0 0.0
.text 980044 980068 24 0.0
lock-app BRD4161A+wf200 (read/write) 1157024 1157024 0 0.0
.bss 158208 158208 0 0.0
.data 2100 2100 0 0.0
.text 996696 996696 0 0.0
window-app BRD4187C (read/write) 1139312 1139336 24 0.0
.bss 140080 140080 0 0.0
.data 2620 2620 0 0.0
.text 972016 972040 24 0.0
esp32 all-clusters-app c3devkit (read only) 1223338 1223342 4 0.0
(read/write) 1788302 1788294 -8 -0.0
.dram0.bss 76944 76944 0 0.0
.dram0.data 13840 13840 0 0.0
.flash.rodata 257872 257864 -8 -0.0
.flash.text 1223338 1223342 4 0.0
.iram0.text 65204 65204 0 0.0
m5stack (read only) 1233415 1233415 0 0.0
(read/write) 564204 564212 8 0.0
.dram0.bss 82312 82312 0 0.0
.dram0.data 34296 34296 0 0.0
.flash.rodata 314928 314936 8 0.0
.flash.text 1228031 1228031 0 0.0
.iram0.text 123939 123939 0 0.0
k32w contact k32w0+release (read/write) 661284 661284 0 0.0
.bss 77040 77040 0 0.0
.data 2104 2104 0 0.0
.text 563028 563028 0 0.0
light k32w0+release (read/write) 671280 671280 0 0.0
.bss 74816 74816 0 0.0
.data 2060 2060 0 0.0
.text 591676 591676 0 0.0
lock k32w0+release (read/write) 633092 633092 0 0.0
.bss 75600 75600 0 0.0
.data 2080 2080 0 0.0
.text 552684 552684 0 0.0
linux chip-tool-ipv6only arm64 (read only) 10429476 10429476 0 0.0
(read/write) 706353 706353 0 0.0
.bss 33953 33953 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 650632 650632 0 0.0
.dynamic 560 560 0 0.0
.got 13896 13896 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 518132 518132 0 0.0
.text 8255780 8255780 0 0.0
thermostat-no-ble arm64 (read only) 2390380 2390524 144 0.0
(read/write) 143633 143633 0 0.0
.bss 55377 55377 0 0.0
.data 1816 1816 0 0.0
.data.rel.ro 77256 77256 0 0.0
.dynamic 560 560 0 0.0
.got 5176 5176 0 0.0
.init 24 24 0 0.0
.init_array 440 440 0 0.0
.rodata 144436 144436 0 0.0
.text 2003040 2003184 144 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2452168 2452168 0 0.0
.bss 215028 215028 0 0.0
.data 5872 5872 0 0.0
.text 1414812 1414812 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183451 1183451 0 0.0
bss 144441 144441 0 0.0
rodata 144396 144396 0 0.0
text 815708 815708 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1162119 1162119 0 0.0
bss 143668 143668 0 0.0
rodata 135968 135968 0 0.0
text 803600 803596 -4 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 841968 841968 0 0.0
(read/write) 1745164 1745212 48 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188712 188712 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1229390 1229384 -6 -0.0
.debug_aranges 111856 111872 16 0.0
.debug_frame 373484 373516 32 0.0
.debug_info 26831616 26832043 427 0.0
.debug_line 3672032 3672175 143 0.0
.debug_loc 3589149 3589235 86 0.0
.debug_ranges 339712 339728 16 0.0
.debug_str 3441214 3441214 0 0.0
.heap 841968 841968 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 569639 569639 0 0.0
.symtab 421184 421184 0 0.0
.text 1545400 1545448 48 0.0
.zero.table 8 8 0 0.0
text 0 0 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 842704 842704 0 0.0
(read/write) 1687748 1687796 48 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187976 187976 0 0.0
.comment 204 204 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 2664 2664 0 0.0
.debug_abbrev 1221189 1221183 -6 -0.0
.debug_aranges 111328 111344 16 0.0
.debug_frame 376564 376596 32 0.0
.debug_info 26568399 26568825 426 0.0
.debug_line 3692749 3692892 143 0.0
.debug_loc 3576786 3576872 86 0.0
.debug_ranges 338328 338344 16 0.0
.debug_str 3430227 3430227 0 0.0
.heap 842704 842704 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 533728 533728 0 0.0
.symtab 407616 407616 0 0.0
.text 1488720 1488768 48 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 850896 850896 0 0.0
(read/write) 1606292 1606356 64 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 179992 179992 0 0.0
.comment 204 204 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 2456 2456 0 0.0
.debug_abbrev 1055300 1055294 -6 -0.0
.debug_aranges 103536 103552 16 0.0
.debug_frame 346896 346928 32 0.0
.debug_info 22032120 22032549 429 0.0
.debug_line 3262673 3262816 143 0.0
.debug_loc 3274748 3274834 86 0.0
.debug_ranges 303632 303648 16 0.0
.debug_str 3235759 3235759 0 0.0
.heap 850896 850896 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 470105 470105 0 0.0
.symtab 376064 376064 0 0.0
.text 1415456 1415520 64 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 845880 845880 0 0.0
(read/write) 1640212 1640276 64 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184992 184992 0 0.0
.comment 204 204 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 2472 2472 0 0.0
.debug_abbrev 1057426 1057420 -6 -0.0
.debug_aranges 103936 103952 16 0.0
.debug_frame 348788 348820 32 0.0
.debug_info 22270816 22271243 427 0.0
.debug_line 3260534 3260677 143 0.0
.debug_loc 3303341 3303427 86 0.0
.debug_ranges 305576 305592 16 0.0
.debug_str 3255273 3255273 0 0.0
.heap 845880 845880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 288 288 0 0.0
.stab 156 156 0 0.0
.stabstr 335 335 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 472512 472512 0 0.0
.symtab 377728 377728 0 0.0
.text 1444360 1444424 64 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1148632 1148632 0 0.0
.bss 110556 110556 0 0.0
.data 832 832 0 0.0
.text 595732 595732 0 0.0
lock-app qpg6105+debug (read/write) 1113712 1113712 0 0.0
.bss 106372 106372 0 0.0
.data 836 836 0 0.0
.text 560808 560808 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 789364 789364 0 0.0
bss 72480 72480 0 0.0
noinit 43520 43520 0 0.0
text 553140 553136 -4 -0.0
lighting-app tlsr9518adk80d (read/write) 811476 811468 -8 -0.0
bss 73328 73328 0 0.0
noinit 43520 43520 0 0.0
text 571358 571354 -4 -0.0
ota-requestor-app tlsr9518adk80d (read/write) 819412 819412 0 0.0
bss 74236 74236 0 0.0
noinit 43520 43520 0 0.0
text 577544 577540 -4 -0.0

@andy31415 andy31415 merged commit b96f795 into project-chip:master Oct 17, 2022
@@ -17,12 +17,27 @@
* limitations under the License.
*/

#include <app-common/zap-generated/af-structs.h>
#include <app-common/zap-generated/attribute-id.h>
#include <app-common/zap-generated/cluster-id.h>
Copy link
Contributor

Choose a reason for hiding this comment

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

This is just right. We should not be including code-generated files from common library code.

DECLARE_DYNAMIC_ATTRIBUTE(ZCL_SERVER_LIST_ATTRIBUTE_ID, ARRAY, kDescriptorAttributeArraySize, 0), /* server list */
DECLARE_DYNAMIC_ATTRIBUTE(ZCL_CLIENT_LIST_ATTRIBUTE_ID, ARRAY, kDescriptorAttributeArraySize, 0), /* client list */
DECLARE_DYNAMIC_ATTRIBUTE(ZCL_PARTS_LIST_ATTRIBUTE_ID, ARRAY, kDescriptorAttributeArraySize, 0), /* parts list */
DECLARE_DYNAMIC_ATTRIBUTE_LIST_END();
Copy link
Contributor

Choose a reason for hiding this comment

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

There must be a better solution that hand-crafting these.

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