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

Compile-time generation for CHIPClusters-JNI.cpp #15171

Merged
merged 6 commits into from
Feb 16, 2022

Conversation

austinh0
Copy link
Contributor

@austinh0 austinh0 commented Feb 15, 2022

Problem
CHIPClusters-JNI.cpp causing CI to hit OOM. Compile-time generation is the first step in splitting into per-cluster generated files.

Change overview
Move code generation to build-time for CHIPClusters-JNI. Same as #14519 with minor fixes (check optional correctly in boxed_java_signature and FieldToGlobalName) and updated to latest master.

What's in this PR

Testing
Ran diff after ./scripts/codegen.py --generator java --output-dir ./out/java_test_gen/ src/controller/data_model/controller-clusters.matter && clang-format -i out/java_test_gen/jni/CHIPClusters.cpp

The files were the same EXCEPT: 'license blurb' and some newlines in between method definition (had a hard time matching empty lines, was unsure if worth it).

@austinh0 austinh0 force-pushed the move_clusters_to_compile_gen branch from c399e46 to 2585e90 Compare February 15, 2022 00:36
@github-actions
Copy link

github-actions bot commented Feb 15, 2022

PR #15171: Size comparison from d1c7e85 to 2585e90

Full report (43 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section d1c7e85 2585e90 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 592462 592462 0 0.0
.app_xip_area 498164 498164 0 0.0
.bss 76996 76996 0 0.0
.data 644 644 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 550522 550522 0 0.0
.app_xip_area 457792 457792 0 0.0
.bss 75468 75468 0 0.0
.data 608 608 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 569034 569034 0 0.0
.app_xip_area 467048 467048 0 0.0
.bss 84396 84396 0 0.0
.data 552 552 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 909056 909056 0 0.0
(read/write) 127160 127160 0 0.0
.bss 125128 125128 0 0.0
.data 2032 2032 0 0.0
.text 909048 909048 0 0.0
BRD4161A+rpc (read only) 937752 937752 0 0.0
(read/write) 144080 144080 0 0.0
.bss 141904 141904 0 0.0
.data 2172 2172 0 0.0
.text 937744 937744 0 0.0
window-app BRD4161A (read only) 844244 844244 0 0.0
(read/write) 125220 125220 0 0.0
.bss 123320 123320 0 0.0
.data 1900 1900 0 0.0
.text 844236 844236 0 0.0
esp32 all-clusters-app c3devkit (read only) 944980 944980 0 0.0
(read/write) 1398370 1398370 0 0.0
.dram0.bss 66168 66168 0 0.0
.dram0.data 14268 14268 0 0.0
.flash.rodata 199032 199032 0 0.0
.flash.text 944980 944980 0 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 994991 994991 0 0.0
(read/write) 463656 463656 0 0.0
.dram0.bss 71312 71312 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226152 226152 0 0.0
.flash.text 989607 989607 0 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 682980 682980 0 0.0
.bss 76432 76432 0 0.0
.data 1904 1904 0 0.0
.text 598844 598844 0 0.0
lock k32w061+release (read/write) 688532 688532 0 0.0
.bss 76824 76824 0 0.0
.data 1948 1948 0 0.0
.text 603960 603960 0 0.0
linux all-clusters-app debug (read only) 2357297 2357297 0 0.0
(read/write) 140128 140128 0 0.0
.bss 54656 54656 0 0.0
.data 1296 1296 0 0.0
.data.rel.ro 78504 78504 0 0.0
.dynamic 592 592 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205637 205637 0 0.0
.text 1989314 1989314 0 0.0
bridge-app debug+rpc (read only) 1726381 1726381 0 0.0
(read/write) 84200 84200 0 0.0
.bss 38928 38928 0 0.0
.data 2034 2034 0 0.0
.data.rel.ro 38080 38080 0 0.0
.dynamic 592 592 0 0.0
.got 3976 3976 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 141676 141676 0 0.0
.text 1468085 1468085 0 0.0
chip-tool debug (read only) 8541269 8541269 0 0.0
(read/write) 245824 245824 0 0.0
.bss 31816 31816 0 0.0
.data 1184 1184 0 0.0
.data.rel.ro 206768 206768 0 0.0
.dynamic 608 608 0 0.0
.got 4792 4792 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 459317 459317 0 0.0
.text 7565653 7565653 0 0.0
chip-tool-ipv6only arm64 (read only) 8302276 8302276 0 0.0
(read/write) 353505 353505 0 0.0
.bss 50113 50113 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 249216 249216 0 0.0
.dynamic 560 560 0 0.0
.got 49168 49168 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 435292 435292 0 0.0
.text 7104788 7104788 0 0.0
door-lock-app debug (read only) 1931633 1931633 0 0.0
(read/write) 110104 110104 0 0.0
.bss 41616 41616 0 0.0
.data 1010 1010 0 0.0
.data.rel.ro 62080 62080 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 173074 173074 0 0.0
.text 1609970 1609970 0 0.0
lighting-app debug+rpc (read only) 2055281 2055281 0 0.0
(read/write) 115448 115448 0 0.0
.bss 42720 42720 0 0.0
.data 1400 1400 0 0.0
.data.rel.ro 65832 65832 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 165393 165393 0 0.0
.text 1735074 1735074 0 0.0
ota-provider-app debug (read only) 1864433 1864433 0 0.0
(read/write) 105848 105848 0 0.0
.bss 41504 41504 0 0.0
.data 1224 1224 0 0.0
.data.rel.ro 57480 57480 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 157643 157643 0 0.0
.text 1556130 1556130 0 0.0
ota-requestor-app debug (read only) 1859857 1859857 0 0.0
(read/write) 106904 106904 0 0.0
.bss 41760 41760 0 0.0
.data 1160 1160 0 0.0
.data.rel.ro 58536 58536 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 151196 151196 0 0.0
.text 1559746 1559746 0 0.0
shell debug (read only) 2341545 2341545 0 0.0
(read/write) 141616 141616 0 0.0
.bss 61920 61920 0 0.0
.data 832 832 0 0.0
.data.rel.ro 73192 73192 0 0.0
.dynamic 592 592 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 206482 206482 0 0.0
.text 1978210 1978210 0 0.0
thermostat-no-ble arm64 (read only) 2151148 2151148 0 0.0
(read/write) 140337 140337 0 0.0
.bss 57169 57169 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 75024 75024 0 0.0
.dynamic 560 560 0 0.0
.got 4144 4144 0 0.0
.init 24 24 0 0.0
.init_array 328 328 0 0.0
.rodata 132908 132908 0 0.0
.text 1799984 1799984 0 0.0
tv-app debug (read only) 2529193 2529193 0 0.0
(read/write) 140960 140960 0 0.0
.bss 58720 58720 0 0.0
.data 3200 3200 0 0.0
.data.rel.ro 73008 73008 0 0.0
.dynamic 592 592 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 197477 197477 0 0.0
.text 2158674 2158674 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2398112 2398112 0 0.0
.bss 188252 188252 0 0.0
.data 5320 5320 0 0.0
.text 1360712 1360712 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360344 2360344 0 0.0
.bss 180864 180864 0 0.0
.data 5624 5624 0 0.0
.text 1322944 1322944 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2323872 2323872 0 0.0
.bss 180752 180752 0 0.0
.data 5600 5600 0 0.0
.text 1286472 1286472 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139648 1139648 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103032 103032 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2308900 2308900 0 0.0
.bss 178004 178004 0 0.0
.data 5424 5424 0 0.0
.text 1271472 1271472 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1015827 1015827 0 0.0
bss 121188 121188 0 0.0
rodata 120096 120096 0 0.0
text 695616 695616 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 985103 985103 0 0.0
bss 118376 118376 0 0.0
rodata 111620 111620 0 0.0
text 675508 675508 0 0.0
nrf52840dongle_nrf52840 (read/write) 1031687 1031687 0 0.0
bss 122576 122576 0 0.0
rodata 118976 118976 0 0.0
text 700236 700236 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 922502 922502 0 0.0
bss 117752 117752 0 0.0
rodata 113336 113336 0 0.0
text 610636 610636 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 945683 945683 0 0.0
bss 119560 119560 0 0.0
rodata 108856 108856 0 0.0
text 638652 638652 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 853114 853114 0 0.0
bss 116152 116152 0 0.0
rodata 102028 102028 0 0.0
text 554444 554444 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 527595 527595 0 0.0
bss 53632 53632 0 0.0
rodata 49976 49976 0 0.0
text 361016 361016 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 944375 944375 0 0.0
bss 119280 119280 0 0.0
rodata 107812 107812 0 0.0
text 638708 638708 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 940335 940335 0 0.0
bss 119284 119284 0 0.0
rodata 107508 107508 0 0.0
text 634948 634948 0 0.0
shell nrf52840dk_nrf52840 (read/write) 807147 807147 0 0.0
bss 111216 111216 0 0.0
rodata 79104 79104 0 0.0
text 539244 539244 0 0.0
p6 all-clusters-app default (read/write) 2483200 2483200 0 0.0
.bss 117520 117520 0 0.0
.data 2672 2672 0 0.0
.text 1441464 1441464 0 0.0
light-app default (read/write) 2390016 2390016 0 0.0
.bss 107168 107168 0 0.0
.data 2520 2520 0 0.0
.text 1348280 1348280 0 0.0
lock-app default (read/write) 2353480 2353480 0 0.0
.bss 106888 106888 0 0.0
.data 2480 2480 0 0.0
.text 1311744 1311744 0 0.0
qpg lighting-app qpg6105+debug (read only) 594996 594996 0 0.0
(read/write) 146936 146936 0 0.0
.bss 88824 88824 0 0.0
.data 1108 1108 0 0.0
.text 589676 589676 0 0.0
lock-app qpg6105+debug (read only) 560732 560732 0 0.0
(read/write) 146936 146936 0 0.0
.bss 88808 88808 0 0.0
.data 1060 1060 0 0.0
.text 555412 555412 0 0.0
persistent-storage-app qpg6105+debug (read only) 99520 99520 0 0.0
(read/write) 146940 146940 0 0.0
.bss 24004 24004 0 0.0
.data 176 176 0 0.0
.text 94200 94200 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 874782 874782 0 0.0
bss 88496 88496 0 0.0
noinit 37160 37160 0 0.0
text 614746 614746 0 0.0

@github-actions
Copy link

github-actions bot commented Feb 15, 2022

PR #15171: Size comparison from 101ff17 to 41b8563

Full report (41 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 101ff17 41b8563 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 593786 593786 0 0.0
.app_xip_area 499384 499384 0 0.0
.bss 77100 77100 0 0.0
.data 644 644 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 551846 551846 0 0.0
.app_xip_area 459012 459012 0 0.0
.bss 75572 75572 0 0.0
.data 608 608 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 570394 570394 0 0.0
.app_xip_area 468304 468304 0 0.0
.bss 84500 84500 0 0.0
.data 552 552 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 911220 911220 0 0.0
(read/write) 127264 127264 0 0.0
.bss 125232 125232 0 0.0
.data 2032 2032 0 0.0
.text 911212 911212 0 0.0
BRD4161A+rpc (read only) 939928 939928 0 0.0
(read/write) 144184 144184 0 0.0
.bss 142008 142008 0 0.0
.data 2172 2172 0 0.0
.text 939920 939920 0 0.0
window-app BRD4161A (read only) 846432 846432 0 0.0
(read/write) 125328 125328 0 0.0
.bss 123424 123424 0 0.0
.data 1900 1900 0 0.0
.text 846424 846424 0 0.0
esp32 all-clusters-app c3devkit (read only) 946006 946006 0 0.0
(read/write) 1398882 1398882 0 0.0
.dram0.bss 66248 66248 0 0.0
.dram0.data 14268 14268 0 0.0
.flash.rodata 199464 199464 0 0.0
.flash.text 946006 946006 0 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 995839 995839 0 0.0
(read/write) 464144 464144 0 0.0
.dram0.bss 71392 71392 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226560 226560 0 0.0
.flash.text 990455 990455 0 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 685044 685044 0 0.0
.bss 76536 76536 0 0.0
.data 1904 1904 0 0.0
.text 600804 600804 0 0.0
lock k32w061+release (read/write) 690528 690528 0 0.0
.bss 76928 76928 0 0.0
.data 1948 1948 0 0.0
.text 605852 605852 0 0.0
linux all-clusters-app debug (read only) 2361761 2361761 0 0.0
(read/write) 141760 141760 0 0.0
.bss 56288 56288 0 0.0
.data 1296 1296 0 0.0
.data.rel.ro 78504 78504 0 0.0
.dynamic 592 592 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 205893 205893 0 0.0
.text 1993522 1993522 0 0.0
bridge-app debug+rpc (read only) 1728077 1728077 0 0.0
(read/write) 85672 85672 0 0.0
.bss 40400 40400 0 0.0
.data 2034 2034 0 0.0
.data.rel.ro 38080 38080 0 0.0
.dynamic 592 592 0 0.0
.got 3976 3976 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 141868 141868 0 0.0
.text 1469589 1469589 0 0.0
chip-tool debug (read only) 8552181 8552181 0 0.0
(read/write) 245952 245952 0 0.0
.bss 31816 31816 0 0.0
.data 1184 1184 0 0.0
.data.rel.ro 206896 206896 0 0.0
.dynamic 608 608 0 0.0
.got 4792 4792 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 459541 459541 0 0.0
.text 7576149 7576149 0 0.0
door-lock-app debug (read only) 1933377 1933377 0 0.0
(read/write) 111576 111576 0 0.0
.bss 43088 43088 0 0.0
.data 1010 1010 0 0.0
.data.rel.ro 62080 62080 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 173330 173330 0 0.0
.text 1611458 1611458 0 0.0
lighting-app debug+rpc (read only) 2057025 2057025 0 0.0
(read/write) 116920 116920 0 0.0
.bss 44192 44192 0 0.0
.data 1400 1400 0 0.0
.data.rel.ro 65832 65832 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 720 720 0 0.0
.rodata 165649 165649 0 0.0
.text 1736562 1736562 0 0.0
ota-provider-app debug (read only) 1866161 1866161 0 0.0
(read/write) 107320 107320 0 0.0
.bss 42976 42976 0 0.0
.data 1224 1224 0 0.0
.data.rel.ro 57480 57480 0 0.0
.dynamic 608 608 0 0.0
.got 4368 4368 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 157867 157867 0 0.0
.text 1557634 1557634 0 0.0
ota-requestor-app debug (read only) 1861601 1861601 0 0.0
(read/write) 108376 108376 0 0.0
.bss 43232 43232 0 0.0
.data 1160 1160 0 0.0
.data.rel.ro 58536 58536 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 151452 151452 0 0.0
.text 1561234 1561234 0 0.0
shell debug (read only) 2343321 2343321 0 0.0
(read/write) 144560 144560 0 0.0
.bss 64864 64864 0 0.0
.data 832 832 0 0.0
.data.rel.ro 73192 73192 0 0.0
.dynamic 592 592 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 206770 206770 0 0.0
.text 1979698 1979698 0 0.0
tv-app debug (read only) 2530873 2530873 0 0.0
(read/write) 142432 142432 0 0.0
.bss 60192 60192 0 0.0
.data 3200 3200 0 0.0
.data.rel.ro 73008 73008 0 0.0
.dynamic 592 592 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 197669 197669 0 0.0
.text 2160162 2160162 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2398544 2398544 0 0.0
.bss 188252 188252 0 0.0
.data 5320 5320 0 0.0
.text 1361144 1361144 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2360768 2360768 0 0.0
.bss 180864 180864 0 0.0
.data 5624 5624 0 0.0
.text 1323368 1323368 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2324368 2324368 0 0.0
.bss 180752 180752 0 0.0
.data 5600 5600 0 0.0
.text 1286968 1286968 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139648 1139648 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103032 103032 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2309324 2309324 0 0.0
.bss 178004 178004 0 0.0
.data 5424 5424 0 0.0
.text 1271896 1271896 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1017347 1017347 0 0.0
bss 121292 121292 0 0.0
rodata 120304 120304 0 0.0
text 696800 696800 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 986639 986639 0 0.0
bss 118480 118480 0 0.0
rodata 111828 111828 0 0.0
text 676700 676700 0 0.0
nrf52840dongle_nrf52840 (read/write) 1033207 1033207 0 0.0
bss 122680 122680 0 0.0
rodata 119184 119184 0 0.0
text 701420 701420 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 923990 923990 0 0.0
bss 117856 117856 0 0.0
rodata 113544 113544 0 0.0
text 611816 611816 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 947075 947075 0 0.0
bss 119664 119664 0 0.0
rodata 109064 109064 0 0.0
text 639832 639832 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 854602 854602 0 0.0
bss 116256 116256 0 0.0
rodata 102236 102236 0 0.0
text 555624 555624 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 527595 527595 0 0.0
bss 53632 53632 0 0.0
rodata 49976 49976 0 0.0
text 361016 361016 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 945891 945891 0 0.0
bss 119384 119384 0 0.0
rodata 108016 108016 0 0.0
text 639888 639888 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 941839 941839 0 0.0
bss 119388 119388 0 0.0
rodata 107716 107716 0 0.0
text 636128 636128 0 0.0
shell nrf52840dk_nrf52840 (read/write) 807447 807447 0 0.0
bss 111236 111236 0 0.0
rodata 79132 79132 0 0.0
text 539384 539384 0 0.0
p6 all-clusters-app default (read/write) 2484072 2484072 0 0.0
.bss 117608 117608 0 0.0
.data 2672 2672 0 0.0
.text 1442336 1442336 0 0.0
light-app default (read/write) 2390920 2390920 0 0.0
.bss 107248 107248 0 0.0
.data 2520 2520 0 0.0
.text 1349184 1349184 0 0.0
lock-app default (read/write) 2354384 2354384 0 0.0
.bss 106976 106976 0 0.0
.data 2480 2480 0 0.0
.text 1312648 1312648 0 0.0
qpg lighting-app qpg6105+debug (read only) 596228 596228 0 0.0
(read/write) 146936 146936 0 0.0
.bss 88928 88928 0 0.0
.data 1108 1108 0 0.0
.text 590908 590908 0 0.0
lock-app qpg6105+debug (read only) 561972 561972 0 0.0
(read/write) 146936 146936 0 0.0
.bss 88912 88912 0 0.0
.data 1060 1060 0 0.0
.text 556652 556652 0 0.0
persistent-storage-app qpg6105+debug (read only) 99520 99520 0 0.0
(read/write) 146940 146940 0 0.0
.bss 24004 24004 0 0.0
.data 176 176 0 0.0
.text 94200 94200 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 876614 876614 0 0.0
bss 88600 88600 0 0.0
noinit 37160 37160 0 0.0
text 616262 616262 0 0.0

@austinh0
Copy link
Contributor Author

File splitting seems to have done the trick for RAM but now the runner is running out of disk space. Will put up another fix

@andy31415 andy31415 merged commit fb46917 into project-chip:master Feb 16, 2022
jamesluo11 pushed a commit to jamesluo11/connectedhomeip that referenced this pull request Apr 26, 2022
* Compile-time generation for CHIPClusters-JNI.cpp

* Split Android-generated CHIPClusters.cpp into per-cluster files

* Restyled by whitespace

* Restyled by clang-format

* Update tests

Co-authored-by: Restyled.io <[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.

6 participants