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

Introduce a Shutdown method to DeviceControllerFactory #14723

Conversation

kianooshkarami
Copy link
Contributor

@kianooshkarami kianooshkarami commented Feb 2, 2022

Change overview

The new method would be the symmetrical API for DeviceControllerFactory's
already existing Init() API.

What is the root of the problem?

The problem we intend to solve is that we'd like to use Shutdown() method
to shut down and clean up any memory/functionality enabled by Init() as
opposed to waiting for the DeviceControllerFactory destructor, which only
happens once the program shuts down due to the nature of how
DeviceControllerFactory is instantiated.

DeviceControllerFactory can only be instantiated through ::GetInstance(),
this method constructs DeviceControllerFactory only once for the life of
the program (the constructor is a private method). Once the Init() is
invoked, the mSystemState is allocated as shown in the following:

    mSystemState = chip::Platform::New<DeviceControllerSystemState>(stateParams);

However, in DeviceControllerFactory's destructor, which currently is only
invoked once the program shuts down, the deallocation of mSystemState
is requested via chip::Platform::Delete. This can be problematic since
the application will need to ensure chip::Platform memory stays initialized
throughout the memory shutdown.

Adding a shutdown method allows the applications to have symmetry between
the initialization and shutdown sequence related to the
DeviceControllerFactory

Problem

What is being fixed?
Potentially Memory crashes when freeing mSystemState when the process shuts down

Testing

How was this tested? (at least one bullet point required)

  • If new unit tests are not added, why not?

I could use some assistance if there are already existing unit tests that would help with the validation

@github-actions
Copy link

github-actions bot commented Feb 2, 2022

PR #14723: Size comparison from 22f5d22 to caa01ed

Increases (3 builds for linux)
platform target config section 22f5d22 caa01ed3 change % change
linux chip-tool debug (read only) 7140509 7140621 112 0.0
.text 6365573 6365685 112 0.0
chip-tool-ipv6only arm64 (read only) 7092068 7092148 80 0.0
.text 6101124 6101204 80 0.0
tv-app debug (read only) 2410617 2410729 112 0.0
.text 2047346 2047458 112 0.0
Full report (43 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 22f5d22 caa01ed3 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 576874 576874 0 0.0
.app_xip_area 484368 484368 0 0.0
.bss 75252 75252 0 0.0
.data 596 596 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 534634 534634 0 0.0
.app_xip_area 443696 443696 0 0.0
.bss 73724 73724 0 0.0
.data 560 560 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 559102 559102 0 0.0
.app_xip_area 458844 458844 0 0.0
.bss 82716 82716 0 0.0
.data 504 504 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 843568 843568 0 0.0
(read/write) 124792 124792 0 0.0
.bss 122896 122896 0 0.0
.data 1892 1892 0 0.0
.text 843560 843560 0 0.0
BRD4161A+rpc (read only) 830920 830920 0 0.0
(read/write) 141448 141448 0 0.0
.bss 139456 139456 0 0.0
.data 1992 1992 0 0.0
.text 830912 830912 0 0.0
window-app BRD4161A (read only) 815796 815796 0 0.0
(read/write) 123412 123412 0 0.0
.bss 121564 121564 0 0.0
.data 1848 1848 0 0.0
.text 815788 815788 0 0.0
esp32 all-clusters-app c3devkit (read only) 934044 934044 0 0.0
(read/write) 1400954 1400954 0 0.0
.dram0.bss 70048 70048 0 0.0
.dram0.data 14268 14268 0 0.0
.flash.rodata 197744 197744 0 0.0
.flash.text 934044 934044 0 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 982083 982083 0 0.0
(read/write) 465320 465320 0 0.0
.dram0.bss 74808 74808 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 224360 224360 0 0.0
.flash.text 976699 976699 0 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 661112 661112 0 0.0
.bss 74948 74948 0 0.0
.data 1852 1852 0 0.0
.text 578512 578512 0 0.0
lock k32w061+release (read/write) 662388 662388 0 0.0
.bss 75268 75268 0 0.0
.data 1892 1892 0 0.0
.text 579428 579428 0 0.0
linux all-clusters-app debug (read only) 2306625 2306625 0 0.0
(read/write) 139744 139744 0 0.0
.bss 54464 54464 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 78392 78392 0 0.0
.dynamic 592 592 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 203973 203973 0 0.0
.text 1940674 1940674 0 0.0
bridge-app debug+rpc (read only) 1634181 1634181 0 0.0
(read/write) 80424 80424 0 0.0
.bss 35904 35904 0 0.0
.data 1922 1922 0 0.0
.data.rel.ro 37440 37440 0 0.0
.dynamic 592 592 0 0.0
.got 3968 3968 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 137556 137556 0 0.0
.text 1381557 1381557 0 0.0
chip-tool debug (read only) 7140509 7140621 112 0.0
(read/write) 180872 180872 0 0.0
.bss 28776 28776 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 145008 145008 0 0.0
.dynamic 608 608 0 0.0
.got 4760 4760 0 0.0
.init 27 27 0 0.0
.init_array 600 600 0 0.0
.rodata 407445 407445 0 0.0
.text 6365573 6365685 112 0.0
chip-tool-ipv6only arm64 (read only) 7092068 7092148 80 0.0
(read/write) 283521 283521 0 0.0
.bss 47089 47089 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 186304 186304 0 0.0
.dynamic 560 560 0 0.0
.got 45216 45216 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 390476 390476 0 0.0
.text 6101124 6101204 80 0.0
door-lock-app debug (read only) 1855417 1855417 0 0.0
(read/write) 110304 110304 0 0.0
.bss 42080 42080 0 0.0
.data 962 962 0 0.0
.data.rel.ro 61856 61856 0 0.0
.dynamic 592 592 0 0.0
.got 4104 4104 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 170876 170876 0 0.0
.text 1536498 1536498 0 0.0
lighting-app debug+rpc (read only) 1956801 1956801 0 0.0
(read/write) 115424 115424 0 0.0
.bss 43032 43032 0 0.0
.data 1392 1392 0 0.0
.data.rel.ro 65504 65504 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 704 704 0 0.0
.rodata 160913 160913 0 0.0
.text 1641490 1641490 0 0.0
ota-provider-app debug (read only) 1637873 1637873 0 0.0
(read/write) 79912 79912 0 0.0
.bss 40960 40960 0 0.0
.data 1064 1064 0 0.0
.data.rel.ro 32376 32376 0 0.0
.dynamic 608 608 0 0.0
.got 4240 4240 0 0.0
.init 27 27 0 0.0
.init_array 608 608 0 0.0
.rodata 148422 148422 0 0.0
.text 1372034 1372034 0 0.0
ota-requestor-app debug (read only) 1643449 1643449 0 0.0
(read/write) 82896 82896 0 0.0
.bss 42272 42272 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 34248 34248 0 0.0
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 143799 143799 0 0.0
.text 1383410 1383410 0 0.0
shell debug (read only) 2280929 2280929 0 0.0
(read/write) 141104 141104 0 0.0
.bss 61760 61760 0 0.0
.data 768 768 0 0.0
.data.rel.ro 72896 72896 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 204754 204754 0 0.0
.text 1920130 1920130 0 0.0
thermostat-no-ble arm64 (read only) 2090044 2090044 0 0.0
(read/write) 140273 140273 0 0.0
.bss 57585 57585 0 0.0
.data 952 952 0 0.0
.data.rel.ro 74624 74624 0 0.0
.dynamic 560 560 0 0.0
.got 4136 4136 0 0.0
.init 24 24 0 0.0
.init_array 336 336 0 0.0
.rodata 130716 130716 0 0.0
.text 1741616 1741616 0 0.0
tv-app debug (read only) 2410617 2410729 112 0.0
(read/write) 138640 138640 0 0.0
.bss 57024 57024 0 0.0
.data 3104 3104 0 0.0
.data.rel.ro 72504 72504 0 0.0
.dynamic 592 592 0 0.0
.got 4520 4520 0 0.0
.init 27 27 0 0.0
.init_array 872 872 0 0.0
.rodata 191788 191788 0 0.0
.text 2047346 2047458 112 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2385568 2385568 0 0.0
.bss 188964 188964 0 0.0
.data 5288 5288 0 0.0
.text 1348168 1348168 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2338256 2338256 0 0.0
.bss 177888 177888 0 0.0
.data 5568 5568 0 0.0
.text 1300856 1300856 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2302040 2302040 0 0.0
.bss 177776 177776 0 0.0
.data 5544 5544 0 0.0
.text 1264640 1264640 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2292484 2292484 0 0.0
.bss 175052 175052 0 0.0
.data 5368 5368 0 0.0
.text 1255056 1255056 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 980291 980291 0 0.0
bss 118260 118260 0 0.0
rodata 116280 116280 0 0.0
text 667968 667968 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 965867 965867 0 0.0
bss 115304 115304 0 0.0
rodata 107752 107752 0 0.0
text 664408 664408 0 0.0
nrf52840dongle_nrf52840 (read/write) 996387 996387 0 0.0
bss 119432 119432 0 0.0
rodata 115124 115124 0 0.0
text 673360 673360 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 889522 889522 0 0.0
bss 115044 115044 0 0.0
rodata 109572 109572 0 0.0
text 584156 584156 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 912667 912667 0 0.0
bss 116620 116620 0 0.0
rodata 104552 104552 0 0.0
text 614096 614096 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822698 822698 0 0.0
bss 113440 113440 0 0.0
rodata 97756 97756 0 0.0
text 531064 531064 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 541779 541779 0 0.0
bss 52588 52588 0 0.0
rodata 50048 50048 0 0.0
text 376940 376940 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 915335 915335 0 0.0
bss 116380 116380 0 0.0
rodata 105068 105068 0 0.0
text 616436 616436 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 910543 910543 0 0.0
bss 116388 116388 0 0.0
rodata 104172 104172 0 0.0
text 612496 612496 0 0.0
shell nrf52840dk_nrf52840 (read/write) 798363 798363 0 0.0
bss 109772 109772 0 0.0
rodata 78352 78352 0 0.0
text 533732 533732 0 0.0
p6 all-clusters-app default (read/write) 2446672 2446672 0 0.0
.bss 117116 117116 0 0.0
.data 2576 2576 0 0.0
.text 1404936 1404936 0 0.0
light-app default (read/write) 2340256 2340256 0 0.0
.bss 103084 103084 0 0.0
.data 2400 2400 0 0.0
.text 1298520 1298520 0 0.0
lock-app default (read/write) 2305304 2305304 0 0.0
.bss 102804 102804 0 0.0
.data 2360 2360 0 0.0
.text 1263568 1263568 0 0.0
qpg lighting-app qpg6105+debug (read only) 570760 570760 0 0.0
(read/write) 146940 146940 0 0.0
.bss 87232 87232 0 0.0
.data 1056 1056 0 0.0
.text 565440 565440 0 0.0
lock-app qpg6105+debug (read only) 516600 516600 0 0.0
(read/write) 146940 146940 0 0.0
.bss 86680 86680 0 0.0
.data 992 992 0 0.0
.text 511280 511280 0 0.0
persistent-storage-app qpg6105+debug (read only) 107140 107140 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38504 38504 0 0.0
.data 288 288 0 0.0
.text 101820 101820 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 844862 844862 0 0.0
bss 85288 85288 0 0.0
noinit 37160 37160 0 0.0
text 592146 592146 0 0.0

Copy link
Contributor

@bzbarsky-apple bzbarsky-apple left a comment

Choose a reason for hiding this comment

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

Should probably be a void method.... I don't know what a consumer would do with an error return from this.

@bzbarsky-apple
Copy link
Contributor

@kianooshkarami please fix "restyled" bits so this will request reviews...

The new method would the symmetrical API for DeviceControllerFactory's
already existing `Init()` API.

What is the root of the problem?

The problem we intend to solve is that we'd like to use `Shutdown()` method
to shut down and clean up any memory/functionality enabled by `Init()` as
opposed to waiting for the DeviceControllerFactory desctructor, which only
happens once the program shuts down due to the nature of how
DeviceControllerFactory is instantiated.

DeviceControllerFactory can only be instantiated through ::GetInstance(),
this method constructs DeviceControllerFactory only once for the life of
the program (the constructor is a private method). Once the Init() is
invoked, the `mSystemState` is allocated as shown in the following:

```
    mSystemState = chip::Platform::New<DeviceControllerSystemState>(stateParams);
```

However, in DeviceControllerFactory's destructor, which currently is only
invoked once the program shuts down, the deallocation of `mSystemState`
is requested via `chip::Platform::Delete`. This can be problematic since
the application will need to ensure `chip::Platform` memory stays initailized
throughout the memory shutdown.

Adding a shutdown methods allows the applications to have a symmetry between
the initialization and shutdown sequence related to the
DeviceControllerFactory
@kianooshkarami
Copy link
Contributor Author

@kianooshkarami please fix "restyled" bits so this will request reviews...

@bzbarsky-apple Thanks. Done, also changed the method to a void return.

@github-actions
Copy link

github-actions bot commented Feb 3, 2022

PR #14723: Size comparison from 1ee9366 to 85a56f9

Increases (3 builds for linux)
platform target config section 1ee9366 85a56f9 change % change
linux chip-tool debug (read only) 7218469 7218501 32 0.0
.text 6440645 6440677 32 0.0
chip-tool-ipv6only arm64 (read only) 7167204 7167236 32 0.0
.text 6173044 6173076 32 0.0
tv-app debug (read only) 2512681 2512713 32 0.0
.text 2146322 2146354 32 0.0
Full report (31 builds for cyw30739, efr32, k32w, linux, mbed, p6, qpg, telink)
platform target config section 1ee9366 85a56f9 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 586754 586754 0 0.0
.app_xip_area 493352 493352 0 0.0
.bss 76124 76124 0 0.0
.data 620 620 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 544578 544578 0 0.0
.app_xip_area 452744 452744 0 0.0
.bss 74596 74596 0 0.0
.data 584 584 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 467880 467880 0 0.0
.bss 83588 83588 0 0.0
.data 528 528 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 855944 855944 0 0.0
(read/write) 125888 125888 0 0.0
.bss 123968 123968 0 0.0
.data 1920 1920 0 0.0
.text 855936 855936 0 0.0
BRD4161A+rpc (read only) 843320 843320 0 0.0
(read/write) 142552 142552 0 0.0
.bss 140528 140528 0 0.0
.data 2020 2020 0 0.0
.text 843312 843312 0 0.0
window-app BRD4161A (read only) 828100 828100 0 0.0
(read/write) 124520 124520 0 0.0
.bss 122644 122644 0 0.0
.data 1876 1876 0 0.0
.text 828092 828092 0 0.0
k32w light k32w061+release (read/write) 671036 671036 0 0.0
.bss 75836 75836 0 0.0
.data 1880 1880 0 0.0
.text 587520 587520 0 0.0
lock k32w061+release (read/write) 672528 672528 0 0.0
.bss 76148 76148 0 0.0
.data 1920 1920 0 0.0
.text 588660 588660 0 0.0
linux all-clusters-app debug (read only) 2309953 2309953 0 0.0
(read/write) 139872 139872 0 0.0
.bss 54592 54592 0 0.0
.data 1200 1200 0 0.0
.data.rel.ro 78392 78392 0 0.0
.dynamic 592 592 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 204037 204037 0 0.0
.text 1943938 1943938 0 0.0
bridge-app debug+rpc (read only) 1695405 1695405 0 0.0
(read/write) 84536 84536 0 0.0
.bss 39296 39296 0 0.0
.data 1986 1986 0 0.0
.data.rel.ro 38096 38096 0 0.0
.dynamic 592 592 0 0.0
.got 3968 3968 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 139028 139028 0 0.0
.text 1440085 1440085 0 0.0
chip-tool debug (read only) 7218469 7218501 32 0.0
(read/write) 182152 182152 0 0.0
.bss 29352 29352 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 145736 145736 0 0.0
.dynamic 608 608 0 0.0
.got 4760 4760 0 0.0
.init 27 27 0 0.0
.init_array 600 600 0 0.0
.rodata 408629 408629 0 0.0
.text 6440645 6440677 32 0.0
chip-tool-ipv6only arm64 (read only) 7167204 7167236 32 0.0
(read/write) 284929 284929 0 0.0
.bss 47585 47585 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 187056 187056 0 0.0
.dynamic 560 560 0 0.0
.got 45376 45376 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 391436 391436 0 0.0
.text 6173044 6173076 32 0.0
door-lock-app debug (read only) 1892977 1892977 0 0.0
(read/write) 110696 110696 0 0.0
.bss 42272 42272 0 0.0
.data 962 962 0 0.0
.data.rel.ro 62048 62048 0 0.0
.dynamic 592 592 0 0.0
.got 4104 4104 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 171804 171804 0 0.0
.text 1572914 1572914 0 0.0
lighting-app debug+rpc (read only) 1995273 1995273 0 0.0
(read/write) 115816 115816 0 0.0
.bss 43224 43224 0 0.0
.data 1392 1392 0 0.0
.data.rel.ro 65696 65696 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 712 712 0 0.0
.rodata 161777 161777 0 0.0
.text 1678882 1678882 0 0.0
ota-provider-app debug (read only) 1691233 1691233 0 0.0
(read/write) 80560 80560 0 0.0
.bss 41152 41152 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 32808 32808 0 0.0
.dynamic 608 608 0 0.0
.got 4240 4240 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 149414 149414 0 0.0
.text 1423778 1423778 0 0.0
ota-requestor-app debug (read only) 1696433 1696433 0 0.0
(read/write) 83512 83512 0 0.0
.bss 42464 42464 0 0.0
.data 1128 1128 0 0.0
.data.rel.ro 34616 34616 0 0.0
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 144727 144727 0 0.0
.text 1434866 1434866 0 0.0
shell debug (read only) 2283153 2283153 0 0.0
(read/write) 141360 141360 0 0.0
.bss 62016 62016 0 0.0
.data 768 768 0 0.0
.data.rel.ro 72896 72896 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 204786 204786 0 0.0
.text 1922322 1922322 0 0.0
thermostat-no-ble arm64 (read only) 2121852 2121852 0 0.0
(read/write) 140737 140737 0 0.0
.bss 57761 57761 0 0.0
.data 952 952 0 0.0
.data.rel.ro 74904 74904 0 0.0
.dynamic 560 560 0 0.0
.got 4152 4152 0 0.0
.init 24 24 0 0.0
.init_array 336 336 0 0.0
.rodata 131084 131084 0 0.0
.text 1772768 1772768 0 0.0
tv-app debug (read only) 2512681 2512713 32 0.0
(read/write) 139640 139640 0 0.0
.bss 57248 57248 0 0.0
.data 3104 3104 0 0.0
.data.rel.ro 73272 73272 0 0.0
.dynamic 592 592 0 0.0
.got 4520 4520 0 0.0
.init 27 27 0 0.0
.init_array 880 880 0 0.0
.rodata 193292 193292 0 0.0
.text 2146322 2146354 32 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2386320 2386320 0 0.0
.bss 188964 188964 0 0.0
.data 5280 5280 0 0.0
.text 1348920 1348920 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2347256 2347256 0 0.0
.bss 181080 181080 0 0.0
.data 5592 5592 0 0.0
.text 1309856 1309856 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2311112 2311112 0 0.0
.bss 180960 180960 0 0.0
.data 5576 5576 0 0.0
.text 1273712 1273712 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139712 1139712 0 0.0
.bss 11756 11756 0 0.0
.data 4368 4368 0 0.0
.text 103096 103096 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2301492 2301492 0 0.0
.bss 178244 178244 0 0.0
.data 5392 5392 0 0.0
.text 1264064 1264064 0 0.0
p6 all-clusters-app default (read/write) 2447176 2447176 0 0.0
.bss 117124 117124 0 0.0
.data 2568 2568 0 0.0
.text 1405440 1405440 0 0.0
light-app default (read/write) 2352496 2352496 0 0.0
.bss 106268 106268 0 0.0
.data 2432 2432 0 0.0
.text 1310760 1310760 0 0.0
lock-app default (read/write) 2317608 2317608 0 0.0
.bss 105980 105980 0 0.0
.data 2392 2392 0 0.0
.text 1275872 1275872 0 0.0
qpg lighting-app qpg6105+debug (read only) 579316 579316 0 0.0
(read/write) 146936 146936 0 0.0
.bss 88120 88120 0 0.0
.data 1084 1084 0 0.0
.text 573996 573996 0 0.0
lock-app qpg6105+debug (read only) 525296 525296 0 0.0
(read/write) 146936 146936 0 0.0
.bss 87560 87560 0 0.0
.data 1020 1020 0 0.0
.text 519976 519976 0 0.0
persistent-storage-app qpg6105+debug (read only) 107140 107140 0 0.0
(read/write) 146940 146940 0 0.0
.bss 38504 38504 0 0.0
.data 288 288 0 0.0
.text 101820 101820 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 857950 857950 0 0.0
bss 88480 88480 0 0.0
noinit 37160 37160 0 0.0
text 601174 601174 0 0.0

@andy31415 andy31415 merged commit 9b75267 into project-chip:master Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants