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

Delete dynamic bridge example #27077

Merged
merged 6 commits into from
Jun 5, 2023

Conversation

andy31415
Copy link
Contributor

@andy31415 andy31415 commented Jun 5, 2023

Dynamic bridge is not maintained/used and it seems to periodically create compile errors. Since it uses std a lot (std::vector, std::string), its interoperability with embedded-friendly constructs in DataModel is non-trivial to maintain.

Delete example without a maintainer.

Likely fixes #26208 by making it obsolete (no more dynamic bridge app)

@github-actions github-actions bot added the lib label Jun 5, 2023
@github-actions
Copy link

github-actions bot commented Jun 5, 2023

PR #27077: Size comparison from 5165007 to a024790

Increases (3 builds for nrfconnect, psoc6)
platform target config section 5165007 a024790 change % change
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 788344 788348 4 0.0
psoc6 all-clusters-minimal cy8ckit_062s2_43012 .debug_info 31163852 31163854 2 0.0
light cy8ckit_062s2_43012 .debug_info 26038273 26038274 1 0.0
Decreases (5 builds for bl602, bl702, k32w, psoc6)
platform target config section 5165007 a024790 change % change
bl602 lighting-app bl602+rpc (read/write) 1403278 1403270 -8 -0.0
.text 1067986 1067982 -4 -0.0
bl702 lighting-app bl702+rpc (read/write) 1278019 1278003 -16 -0.0
.debug_info 49449433 49449432 -1 -0.0
.text 1040690 1040688 -2 -0.0
k32w light k32w0+release (read only) 583036 583020 -16 -0.0
.text 582500 582484 -16 -0.0
psoc6 all-clusters cy8ckit_062s2_43012 .debug_info 31612062 31612060 -2 -0.0
lock cy8ckit_062s2_43012 .debug_info 25604781 25604780 -1 -0.0
Full report (41 builds for bl602, bl702, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg)
platform target config section 5165007 a024790 change % change
bl602 lighting-app bl602 (read/write) 1356538 1356538 0 0.0
.bss 87886 87886 0 0.0
.data 9648 9648 0 0.0
.text 1036614 1036614 0 0.0
bl602+rpc (read/write) 1403278 1403270 -8 -0.0
.bss 95934 95934 0 0.0
.data 10040 10040 0 0.0
.text 1067986 1067982 -4 -0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1188479 1188479 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 1547345 1547345 0 0.0
.debug_aranges 148320 148320 0 0.0
.debug_frame 545208 545208 0 0.0
.debug_info 44507647 44507647 0 0.0
.debug_line 5557009 5557009 0 0.0
.debug_loc 3781981 3781981 0 0.0
.debug_ranges 391656 391656 0 0.0
.debug_str 4316972 4316972 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 581789 581789 0 0.0
.symtab 175360 175360 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
967030 967030 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1278019 1278003 -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 1706372 1706372 0 0.0
.debug_aranges 156608 156608 0 0.0
.debug_frame 573220 573220 0 0.0
.debug_info 49449433 49449432 -1 -0.0
.debug_line 5972942 5972942 0 0.0
.debug_loc 3985144 3985144 0 0.0
.debug_ranges 417136 417136 0 0.0
.debug_str 4742448 4742448 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 121712 121712 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 643292 643292 0 0.0
.symtab 193920 193920 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1040690 1040688 -2 -0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 606658 606658 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 947644 947644 0 0.0
.debug_aranges 117648 117648 0 0.0
.debug_frame 401208 401208 0 0.0
.debug_info 22659577 22659577 0 0.0
.debug_line 2853837 2853837 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1708617 1708617 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 106480 106480 0 0.0
.debug_str 3757790 3757790 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 104458 104458 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 484123 484123 0 0.0
.symtab 287280 287280 0 0.0
.text 500080 500080 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 541571 541571 0 0.0
.app_xip_area 434197 434197 0 0.0
.bss 62352 62352 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) 528979 528979 0 0.0
.app_xip_area 416469 416469 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) 566235 566235 0 0.0
.app_xip_area 459789 459789 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) 530635 530635 0 0.0
.app_xip_area 421621 421621 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) 986676 986676 0 0.0
.bss 179856 179856 0 0.0
.data 2144 2144 0 0.0
.text 804656 804656 0 0.0
BRD4187C (read/write) 1019096 1019096 0 0.0
.bss 159588 159588 0 0.0
.data 2788 2788 0 0.0
.text 856700 856700 0 0.0
lock-app BRD4161A+wf200 (read/write) 1068840 1068840 0 0.0
.bss 174160 174160 0 0.0
.data 2152 2152 0 0.0
.text 892508 892508 0 0.0
window-app BRD4187C (read/write) 1089216 1089216 0 0.0
.bss 142572 142572 0 0.0
.data 2680 2680 0 0.0
.text 943944 943944 0 0.0
esp32 all-clusters-app c3devkit (read only) 1068726 1068726 0 0.0
(read/write) 1584624 1584624 0 0.0
.dram0.bss 75704 75704 0 0.0
.dram0.data 13964 13964 0 0.0
.flash.rodata 215816 215816 0 0.0
.flash.text 1068726 1068726 0 0.0
.iram0.text 76740 76740 0 0.0
m5stack (read only) 1115099 1115099 0 0.0
(read/write) 493870 493870 0 0.0
.dram0.bss 80704 80704 0 0.0
.dram0.data 34304 34304 0 0.0
.flash.rodata 243712 243712 0 0.0
.flash.text 1109715 1109715 0 0.0
.iram0.text 126055 126055 0 0.0
k32w contact k32w0+release (read only) 584332 584332 0 0.0
(read/write) 90108 90108 0 0.0
.bss 66104 66104 0 0.0
.data 2168 2168 0 0.0
.text 583796 583796 0 0.0
light k32w0+release (read only) 583036 583020 -16 -0.0
(read/write) 89756 89756 0 0.0
.bss 65768 65768 0 0.0
.data 2156 2156 0 0.0
.text 582500 582484 -16 -0.0
lock k32w0+release (read only) 555756 555756 0 0.0
(read/write) 87556 87556 0 0.0
.bss 63632 63632 0 0.0
.data 2100 2100 0 0.0
.text 555220 555220 0 0.0
linux all-clusters-app debug (read only) 3243021 3243021 0 0.0
(read/write) 157400 157400 0 0.0
.bss 59232 59232 0 0.0
.data 2160 2160 0 0.0
.data.rel.ro 89496 89496 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 1136 1136 0 0.0
.rodata 231144 231144 0 0.0
.text 2822373 2822373 0 0.0
all-clusters-minimal-app debug (read only) 3036717 3036717 0 0.0
(read/write) 145448 145448 0 0.0
.bss 57792 57792 0 0.0
.data 2128 2128 0 0.0
.data.rel.ro 79128 79128 0 0.0
.dynamic 608 608 0 0.0
.got 4664 4664 0 0.0
.init 27 27 0 0.0
.init_array 1088 1088 0 0.0
.rodata 224008 224008 0 0.0
.text 2627605 2627605 0 0.0
bridge-app debug (read only) 2518317 2518317 0 0.0
(read/write) 129608 129608 0 0.0
.bss 50232 50232 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 69560 69560 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 172680 172680 0 0.0
.text 2173413 2173413 0 0.0
chip-tool debug (read only) 15485273 15485273 0 0.0
(read/write) 706752 706752 0 0.0
.bss 26424 26424 0 0.0
.data 3042 3042 0 0.0
.data.rel.ro 670496 670496 0 0.0
.dynamic 608 608 0 0.0
.got 5360 5360 0 0.0
.init 27 27 0 0.0
.init_array 768 768 0 0.0
.rodata 684309 684309 0 0.0
.text 13160788 13160788 0 0.0
chip-tool-ipv6only arm64 (read only) 14819572 14819572 0 0.0
(read/write) 759608 759608 0 0.0
.bss 34408 34408 0 0.0
.data 3008 3008 0 0.0
.data.rel.ro 700288 700288 0 0.0
.dynamic 560 560 0 0.0
.got 16664 16664 0 0.0
.init 24 24 0 0.0
.init_array 224 224 0 0.0
.rodata 620856 620856 0 0.0
.text 12401396 12401396 0 0.0
lighting-app debug+rpc+ui (read only) 3381177 3381177 0 0.0
(read/write) 136112 136112 0 0.0
.bss 49760 49760 0 0.0
.data 2704 2704 0 0.0
.data.rel.ro 76768 76768 0 0.0
.dynamic 656 656 0 0.0
.got 5280 5280 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 286196 286196 0 0.0
.text 2898290 2898290 0 0.0
lock-app debug (read only) 2610949 2610949 0 0.0
(read/write) 117008 117008 0 0.0
.bss 45344 45344 0 0.0
.data 1904 1904 0 0.0
.data.rel.ro 63720 63720 0 0.0
.dynamic 608 608 0 0.0
.got 4592 4592 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 200104 200104 0 0.0
.text 2246789 2246789 0 0.0
ota-provider-app debug (read only) 2208061 2208061 0 0.0
(read/write) 103600 103600 0 0.0
.bss 44528 44528 0 0.0
.data 2112 2112 0 0.0
.data.rel.ro 51880 51880 0 0.0
.dynamic 608 608 0 0.0
.got 3800 3800 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 153800 153800 0 0.0
.text 1912837 1912837 0 0.0
ota-requestor-app debug (read only) 2375925 2375925 0 0.0
(read/write) 111392 111392 0 0.0
.bss 46960 46960 0 0.0
.data 2512 2512 0 0.0
.data.rel.ro 56736 56736 0 0.0
.dynamic 608 608 0 0.0
.got 3784 3784 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 157896 157896 0 0.0
.text 2067733 2067733 0 0.0
shell debug (read only) 2776697 2776697 0 0.0
(read/write) 145784 145784 0 0.0
.bss 58152 58152 0 0.0
.data 1232 1232 0 0.0
.data.rel.ro 80552 80552 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 199250 199250 0 0.0
.text 2411970 2411970 0 0.0
thermostat-no-ble arm64 (read only) 2604924 2604924 0 0.0
(read/write) 142760 142760 0 0.0
.bss 52344 52344 0 0.0
.data 1736 1736 0 0.0
.data.rel.ro 79072 79072 0 0.0
.dynamic 560 560 0 0.0
.got 5512 5512 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 129608 129608 0 0.0
.text 2210324 2210324 0 0.0
tv-app debug (read only) 3313121 3313121 0 0.0
(read/write) 261472 261472 0 0.0
.bss 171232 171232 0 0.0
.data 4080 4080 0 0.0
.data.rel.ro 79424 79424 0 0.0
.dynamic 608 608 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 1080 1080 0 0.0
.rodata 222136 222136 0 0.0
.text 2894898 2894898 0 0.0
tv-casting-app debug (read only) 9049889 9049889 0 0.0
(read/write) 217960 217960 0 0.0
.bss 52064 52064 0 0.0
.data 1744 1744 0 0.0
.data.rel.ro 157600 157600 0 0.0
.dynamic 608 608 0 0.0
.got 4920 4920 0 0.0
.init 27 27 0 0.0
.init_array 992 992 0 0.0
.rodata 327500 327500 0 0.0
.text 8297250 8297250 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2497608 2497608 0 0.0
.bss 216304 216304 0 0.0
.data 5144 5144 0 0.0
.text 1460292 1460292 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1190172 1190172 0 0.0
bss 154135 154135 0 0.0
rodata 135660 135660 0 0.0
text 819588 819588 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1450040 1450040 0 0.0
bss 133875 133875 0 0.0
rodata 231720 231720 0 0.0
text 790340 790340 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1131264 1131264 0 0.0
bss 152775 152775 0 0.0
rodata 109472 109472 0 0.0
text 788344 788348 4 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 842096 842096 0 0.0
(read/write) 1724836 1724836 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 188684 188684 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 2560 2560 0 0.0
.debug_abbrev 1290539 1290539 0 0.0
.debug_aranges 146960 146960 0 0.0
.debug_frame 491356 491356 0 0.0
.debug_info 31612062 31612060 -2 -0.0
.debug_line 4000119 4000119 0 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2278239 2278239 0 0.0
.debug_rnglists 142517 142517 0 0.0
.debug_str 4317702 4317702 0 0.0
.heap 842096 842096 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 745913 745913 0 0.0
.symtab 475968 475968 0 0.0
.text 0 0 0 0.0
1525204 1525204 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 843424 843424 0 0.0
(read/write) 1660764 1660764 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 187356 187356 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 2560 2560 0 0.0
.debug_abbrev 1280217 1280217 0 0.0
.debug_aranges 146000 146000 0 0.0
.debug_frame 493344 493344 0 0.0
.debug_info 31163852 31163854 2 0.0
.debug_line 4011696 4011696 0 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2267772 2267772 0 0.0
.debug_rnglists 141282 141282 0 0.0
.debug_str 4302705 4302705 0 0.0
.heap 843424 843424 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 698479 698479 0 0.0
.symtab 458832 458832 0 0.0
.text 1462460 1462460 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 849560 849560 0 0.0
(read/write) 1593524 1593524 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 181388 181388 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 1117851 1117851 0 0.0
.debug_aranges 136360 136360 0 0.0
.debug_frame 457308 457308 0 0.0
.debug_info 26038273 26038274 1 0.0
.debug_line 3583410 3583410 0 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 2108976 2108976 0 0.0
.debug_rnglists 131292 131292 0 0.0
.debug_str 4116745 4116745 0 0.0
.heap 849560 849560 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 621977 621977 0 0.0
.symtab 424336 424336 0 0.0
.text 1401356 1401356 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 821960 821960 0 0.0
(read/write) 1626796 1626796 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 208988 208988 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 1100164 1100164 0 0.0
.debug_aranges 134840 134840 0 0.0
.debug_frame 451900 451900 0 0.0
.debug_info 25604781 25604780 -1 -0.0
.debug_line 3523186 3523186 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 2082302 2082302 0 0.0
.debug_rnglists 129332 129332 0 0.0
.debug_str 4078821 4078821 0 0.0
.heap 821960 821960 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 596024 596024 0 0.0
.symtab 416496 416496 0 0.0
.text 1407028 1407028 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1170004 1170004 0 0.0
.bss 99928 99928 0 0.0
.data 852 852 0 0.0
.text 617100 617100 0 0.0
lock-app qpg6105+debug (read/write) 1139436 1139436 0 0.0
.bss 94824 94824 0 0.0
.data 856 856 0 0.0
.text 586536 586536 0 0.0

@github-actions
Copy link

github-actions bot commented Jun 5, 2023

PR #27077: Size comparison from cd898c4 to c40f069

Decreases (1 build for nrfconnect)
platform target config section cd898c4 c40f069 change % change
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 788460 788456 -4 -0.0
Full report (4 builds for mbed, nrfconnect)
platform target config section cd898c4 c40f069 change % change
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2497608 2497608 0 0.0
.bss 216304 216304 0 0.0
.data 5144 5144 0 0.0
.text 1460292 1460292 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1190272 1190272 0 0.0
bss 154227 154227 0 0.0
rodata 135648 135648 0 0.0
text 819700 819700 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1450204 1450204 0 0.0
bss 133967 133967 0 0.0
rodata 231708 231708 0 0.0
text 790452 790452 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1131492 1131492 0 0.0
bss 152867 152867 0 0.0
rodata 109460 109460 0 0.0
text 788460 788456 -4 -0.0

@mustafayuce33
Copy link

mustafayuce33 commented Jan 17, 2025

@andy31415 What are your recommendations for mapping 3rd part devices to the Matter side?

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.

Dynamic Bridge Build Fail [BUG]
5 participants