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

[BL602] 1.Enable async log output, 2.Adjuct DeviceInfoProvider init b… #19955

Merged
merged 3 commits into from
Jun 24, 2022

Conversation

jczhang777
Copy link
Contributor

…efore device manager init

Problem

What is being fixed? Examples:

  • Enable async log output
  • Adjuct DeviceInfoProvider init before device manager init.

Change overview

1.Enable async log output, 2.Adjuct DeviceInfoProvider init before device manager init.

Testing

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

  • Enable async log output.
    use "picocom -b 115200 /dev/ttyACM0", and log can output normally.
  • Adjuct DeviceInfoProvider init before device manager init.
    You can successfully commission with chip-tool and bl602.

@github-actions
Copy link

github-actions bot commented Jun 24, 2022

PR #19955: Size comparison from 2502b78 to 507c24e

Increases (1 build for telink)
platform target config section 2502b78 507c24ed change % change
telink light-switch-app tlsr9518adk80d text 561380 561382 2 0.0
Decreases (2 builds for nrfconnect, telink)
platform target config section 2502b78 507c24ed change % change
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1204027 1204011 -16 -0.0
text 824472 824468 -4 -0.0
telink lighting-app tlsr9518adk80d (read/write) 813716 813708 -8 -0.0
text 577842 577840 -2 -0.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 2502b78 507c24ed change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 660723 660723 0 0.0
(read/write) 191956 191956 0 0.0
.bss 75572 75572 0 0.0
.data 3352 3352 0 0.0
.rodata 87107 87107 0 0.0
.text 573304 573304 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 649623 649623 0 0.0
(read/write) 159128 159128 0 0.0
.bss 74860 74860 0 0.0
.data 3352 3352 0 0.0
.rodata 90719 90719 0 0.0
.text 558584 558584 0 0.0
lock-ftd LP_CC2652R7 (read only) 663707 663707 0 0.0
(read/write) 179116 179116 0 0.0
.bss 72604 72604 0 0.0
.data 3276 3276 0 0.0
.rodata 75227 75227 0 0.0
.text 588000 588000 0 0.0
lock-mtd LP_CC2652R7 (read only) 613123 613123 0 0.0
(read/write) 145732 145732 0 0.0
.bss 68340 68340 0 0.0
.data 3276 3276 0 0.0
.rodata 75107 75107 0 0.0
.text 537528 537528 0 0.0
pump-app LP_CC2652R7 (read only) 673631 673631 0 0.0
(read/write) 170056 170056 0 0.0
.bss 72700 72700 0 0.0
.data 3276 3276 0 0.0
.rodata 87879 87879 0 0.0
.text 585268 585268 0 0.0
pump-controller-app LP_CC2652R7 (read only) 659503 659503 0 0.0
(read/write) 184296 184296 0 0.0
.bss 72812 72812 0 0.0
.data 3272 3272 0 0.0
.rodata 83719 83719 0 0.0
.text 575304 575304 0 0.0
shell LP_CC2652R7 (read only) 690562 690562 0 0.0
(read/write) 157620 157620 0 0.0
.bss 77876 77876 0 0.0
.data 3356 3356 0 0.0
.rodata 109970 109970 0 0.0
.text 580280 580280 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 592786 592786 0 0.0
.app_xip_area 462892 462892 0 0.0
.bss 72864 72864 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) 594394 594394 0 0.0
.app_xip_area 464292 464292 0 0.0
.bss 73064 73064 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 595422 595422 0 0.0
.app_xip_area 466400 466400 0 0.0
.bss 72048 72048 0 0.0
.data 656 656 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1073484 1073484 0 0.0
.bss 134324 134324 0 0.0
.data 2044 2044 0 0.0
.text 937096 937096 0 0.0
BRD4161A+rpc (read/write) 1127572 1127572 0 0.0
.bss 151012 151012 0 0.0
.data 2256 2256 0 0.0
.text 974284 974284 0 0.0
BRD4161A+rs911x (read/write) 937672 937672 0 0.0
.bss 140096 140096 0 0.0
.data 2044 2044 0 0.0
.text 795508 795508 0 0.0
lock-app BRD4161A+wf200 (read/write) 1117780 1117780 0 0.0
.bss 140544 140544 0 0.0
.data 2056 2056 0 0.0
.text 975160 975160 0 0.0
window-app BRD4161A (read/write) 1058752 1058752 0 0.0
.bss 134396 134396 0 0.0
.data 2072 2072 0 0.0
.text 922264 922264 0 0.0
esp32 all-clusters-app c3devkit (read only) 1014490 1014490 0 0.0
(read/write) 1485762 1485762 0 0.0
.dram0.bss 71432 71432 0 0.0
.dram0.data 14624 14624 0 0.0
.flash.rodata 214272 214272 0 0.0
.flash.text 1014490 1014490 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1068787 1068787 0 0.0
(read/write) 487856 487856 0 0.0
.dram0.bss 76944 76944 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 244772 244772 0 0.0
.flash.text 1063403 1063403 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 663008 663008 0 0.0
.bss 70996 70996 0 0.0
.data 1988 1988 0 0.0
.text 584224 584224 0 0.0
lock k32w061+release (read/write) 695304 695304 0 0.0
.bss 71468 71468 0 0.0
.data 2000 2000 0 0.0
.text 616036 616036 0 0.0
linux all-clusters-app debug (read only) 2939537 2939537 0 0.0
(read/write) 177136 177136 0 0.0
.bss 84192 84192 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 84728 84728 0 0.0
.dynamic 608 608 0 0.0
.got 4536 4536 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 261597 261597 0 0.0
.text 2501378 2501378 0 0.0
all-clusters-minimal-app debug (read only) 2793617 2793617 0 0.0
(read/write) 169040 169040 0 0.0
.bss 83520 83520 0 0.0
.data 2016 2016 0 0.0
.data.rel.ro 77368 77368 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1032 1032 0 0.0
.rodata 263229 263229 0 0.0
.text 2356002 2356002 0 0.0
bridge-app debug+rpc (read only) 2297681 2297681 0 0.0
(read/write) 147968 147968 0 0.0
.bss 71616 71616 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 66792 66792 0 0.0
.dynamic 608 608 0 0.0
.got 4400 4400 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 196416 196416 0 0.0
.text 1939938 1939938 0 0.0
chip-tool debug (read only) 10167965 10167965 0 0.0
(read/write) 610696 610696 0 0.0
.bss 24416 24416 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 578896 578896 0 0.0
.dynamic 624 624 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 508645 508645 0 0.0
.text 8251045 8251045 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9904844 9904844 0 0.0
(read/write) 675345 675345 0 0.0
.bss 42641 42641 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 614272 614272 0 0.0
.dynamic 528 528 0 0.0
.got 13472 13472 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 471564 471564 0 0.0
.text 7894164 7894164 0 0.0
lighting-app debug+rpc (read only) 2534369 2534369 0 0.0
(read/write) 151992 151992 0 0.0
.bss 72096 72096 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 71944 71944 0 0.0
.dynamic 608 608 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 212168 212168 0 0.0
.text 2152290 2152290 0 0.0
lock-app debug (read only) 2496553 2496553 0 0.0
(read/write) 147000 147000 0 0.0
.bss 70528 70528 0 0.0
.data 1680 1680 0 0.0
.data.rel.ro 68920 68920 0 0.0
.dynamic 608 608 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 227016 227016 0 0.0
.text 2104786 2104786 0 0.0
ota-provider-app debug (read only) 2305513 2305513 0 0.0
(read/write) 140808 140808 0 0.0
.bss 70176 70176 0 0.0
.data 1912 1912 0 0.0
.data.rel.ro 62904 62904 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 202072 202072 0 0.0
.text 1941074 1941074 0 0.0
ota-requestor-app debug (read only) 2422585 2422585 0 0.0
(read/write) 147680 147680 0 0.0
.bss 72544 72544 0 0.0
.data 2200 2200 0 0.0
.data.rel.ro 67080 67080 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 205920 205920 0 0.0
.text 2045922 2045922 0 0.0
shell debug (read only) 2613521 2613521 0 0.0
(read/write) 196184 196184 0 0.0
.bss 111336 111336 0 0.0
.data 1232 1232 0 0.0
.data.rel.ro 77864 77864 0 0.0
.dynamic 608 608 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 231666 231666 0 0.0
.text 2222002 2222002 0 0.0
thermostat-no-ble arm64 (read only) 2579964 2579964 0 0.0
(read/write) 180705 180705 0 0.0
.bss 87921 87921 0 0.0
.data 1696 1696 0 0.0
.data.rel.ro 82984 82984 0 0.0
.dynamic 528 528 0 0.0
.got 5088 5088 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 164812 164812 0 0.0
.text 2175856 2175856 0 0.0
tv-app debug (read only) 3083369 3083369 0 0.0
(read/write) 277896 277896 0 0.0
.bss 187720 187720 0 0.0
.data 4656 4656 0 0.0
.data.rel.ro 79080 79080 0 0.0
.dynamic 608 608 0 0.0
.got 4840 4840 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 247936 247936 0 0.0
.text 2648402 2648402 0 0.0
tv-casting-app debug (read only) 5572889 5572889 0 0.0
(read/write) 184144 184144 0 0.0
.bss 72872 72872 0 0.0
.data 2416 2416 0 0.0
.data.rel.ro 102640 102640 0 0.0
.dynamic 608 608 0 0.0
.got 4712 4712 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 341865 341865 0 0.0
.text 4954626 4954626 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2444432 2444432 0 0.0
.bss 214732 214732 0 0.0
.data 5872 5872 0 0.0
.text 1407076 1407076 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1204027 1204011 -16 -0.0
bss 144254 144254 0 0.0
rodata 156484 156484 0 0.0
text 824472 824468 -4 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1151503 1151503 0 0.0
bss 143490 143490 0 0.0
rodata 132816 132816 0 0.0
text 796264 796264 0 0.0
p6 all-clusters-app default (read/write) 2556232 2556232 0 0.0
.bss 149880 149880 0 0.0
.data 2768 2768 0 0.0
.text 1514496 1514496 0 0.0
all-clusters-minimal-app default (read/write) 2502096 2502096 0 0.0
.bss 149160 149160 0 0.0
.data 2768 2768 0 0.0
.text 1460360 1460360 0 0.0
light-app default (read/write) 2432840 2432840 0 0.0
.bss 141240 141240 0 0.0
.data 2584 2584 0 0.0
.text 1391104 1391104 0 0.0
lock-app default (read/write) 2459120 2459120 0 0.0
.bss 141088 141088 0 0.0
.data 2600 2600 0 0.0
.text 1417384 1417384 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 793404 793404 0 0.0
bss 71932 71932 0 0.0
noinit 40416 40416 0 0.0
text 561380 561382 2 0.0
lighting-app tlsr9518adk80d (read/write) 813716 813708 -8 -0.0
bss 72780 72780 0 0.0
noinit 40416 40416 0 0.0
text 577842 577840 -2 -0.0

@andy31415 andy31415 merged commit aaafe4c into project-chip:master Jun 24, 2022
@jczhang777 jczhang777 deleted the bl602_async_log branch July 1, 2022 07:09
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