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

Roll up Pigweed to 444f6d0 #12648

Merged
merged 4 commits into from
Dec 13, 2021
Merged

Roll up Pigweed to 444f6d0 #12648

merged 4 commits into from
Dec 13, 2021

Conversation

yyzhong-g
Copy link
Contributor

Fix a linking error with building with pw_trace.

@woody-apple
Copy link
Contributor

What is failing to link? Why is CI passing without this change?

Copy link
Contributor

@woody-apple woody-apple left a comment

Choose a reason for hiding this comment

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

Can we add some CI/tests to verify pigweed? Sounds like it was broken without us knowing via CI.

@yyzhong-g
Copy link
Contributor Author

It is breaking esp32 all-cluster-app if RPC is turned on. CL didn't catch it since RPC is off according to the script and sdkconfig defaults in sdkconfig_c3devkit.defaults.

Do will want to have the cl run RPC turned on? Or both on and off.

@andy31415
Copy link
Contributor

I believe #12700 will add sufficient CI to validate RPC builds for ESP32 (and ipv6 as well).

Adding all possible builds is hard because there are a lot of variations, but we should try to have reasonable coverage.

@boring-cyborg boring-cyborg bot added the scripts label Dec 7, 2021
@yyzhong-g
Copy link
Contributor Author

/rebase

@github-actions
Copy link

github-actions bot commented Dec 7, 2021

PR #12648: Size comparison from 6f89b9b to a870b5f

Full report (10 builds for k32w, p6, qpg, telink)
platform target config section 6f89b9b a870b5f change % change
k32w lighting-app k32w061+se05x+release (read/write) 731948 731948 0 0.0
.bss 81240 81240 0 0.0
.data 1852 1852 0 0.0
.text 643056 643056 0 0.0
lock-app k32w061+debug (read/write) 622532 622532 0 0.0
.bss 71904 71904 0 0.0
.data 1820 1820 0 0.0
.text 543008 543008 0 0.0
shell k32w061+debug (read/write) 685624 685624 0 0.0
.bss 81604 81604 0 0.0
.data 1792 1792 0 0.0
.text 596428 596428 0 0.0
p6 all-clusters-app default (read/write) 2349808 2349808 0 0.0
.bss 113124 113124 0 0.0
.data 2512 2512 0 0.0
.heap 917704 917704 0 0.0
.text 1308072 1308072 0 0.0
light-app default (read/write) 2281112 2281112 0 0.0
.bss 100896 100896 0 0.0
.data 2328 2328 0 0.0
.heap 930120 930120 0 0.0
.text 1239376 1239376 0 0.0
lock-app default (read/write) 2257200 2257200 0 0.0
.bss 99776 99776 0 0.0
.data 2288 2288 0 0.0
.heap 931280 931280 0 0.0
.text 1215464 1215464 0 0.0
qpg lighting-app qpg6100+debug (read only) 511772 511772 0 0.0
(read/write) 122332 122332 0 0.0
.bss 82616 82616 0 0.0
.data 956 956 0 0.0
.text 506452 506452 0 0.0
lock-app qpg6100+debug (read only) 485956 485956 0 0.0
(read/write) 122336 122336 0 0.0
.bss 81752 81752 0 0.0
.data 912 912 0 0.0
.text 480636 480636 0 0.0
persistent-storage-app qpg6100+debug (read only) 108104 108104 0 0.0
(read/write) 122336 122336 0 0.0
.bss 36152 36152 0 0.0
.data 288 288 0 0.0
.text 102784 102784 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 800102 800102 0 0.0
bss 82756 82756 0 0.0
noinit 37160 37160 0 0.0
text 557204 557204 0 0.0

@woody-apple
Copy link
Contributor

/rebase

@woody-apple
Copy link
Contributor

Fast tracking third party updates

@github-actions
Copy link

github-actions bot commented Dec 9, 2021

PR #12648: Size comparison from d9e7e54 to 2e15278

Increases (2 builds for mbed)
platform target config section d9e7e54 2e15278 change % change
mbed lock-app CY8CPROTO_062_4343W+release .heap 856200 856208 8 0.0
pigweed-app CY8CPROTO_062_4343W+release .heap 1020312 1020320 8 0.0
Decreases (5 builds for efr32, mbed, nrfconnect)
platform target config section d9e7e54 2e15278 change % change
efr32 lighting-app BRD4161A+rpc (read only) 795008 794992 -16 -0.0
(read/write) 139696 139688 -8 -0.0
.data 1956 1948 -8 -0.4
.text 795000 794984 -16 -0.0
mbed lock-app CY8CPROTO_062_4343W+release .data 5520 5512 -8 -0.1
pigweed-app CY8CPROTO_062_4343W+release .data 4376 4368 -8 -0.2
nrfconnect lighting-app nrf52840dk_nrf52840+rpc text 586856 586852 -4 -0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497447 -16 -0.0
text 339492 339488 -4 -0.0
Full report (30 builds for efr32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section d9e7e54 2e15278 change % change
efr32 lighting-app BRD4161A (read only) 807372 807372 0 0.0
(read/write) 123008 123008 0 0.0
.bss 121160 121160 0 0.0
.data 1848 1848 0 0.0
.text 807364 807364 0 0.0
BRD4161A+rpc (read only) 795008 794992 -16 -0.0
(read/write) 139696 139688 -8 -0.0
.bss 137736 137736 0 0.0
.data 1956 1948 -8 -0.4
.text 795000 794984 -16 -0.0
window-app BRD4161A (read only) 784348 784348 0 0.0
(read/write) 121140 121140 0 0.0
.bss 119328 119328 0 0.0
.data 1812 1812 0 0.0
.text 784340 784340 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 668468 668468 0 0.0
.bss 73744 73744 0 0.0
.data 1880 1880 0 0.0
.text 587044 587044 0 0.0
lock-app k32w061+debug (read/write) 618428 618428 0 0.0
.bss 71896 71896 0 0.0
.data 1848 1848 0 0.0
.text 538884 538884 0 0.0
shell k32w061+debug (read/write) 623520 623520 0 0.0
.bss 74124 74124 0 0.0
.data 1820 1820 0 0.0
.text 541776 541776 0 0.0
linux chip-tool-ipv6only arm64 (read only) 6792492 6792492 0 0.0
(read/write) 318273 318273 0 0.0
.bss 51713 51713 0 0.0
.data 1096 1096 0 0.0
.data.rel.ro 208720 208720 0 0.0
.dynamic 560 560 0 0.0
.got 53048 53048 0 0.0
.init 24 24 0 0.0
.init_array 168 168 0 0.0
.rodata 363884 363884 0 0.0
.text 5749668 5749668 0 0.0
thermostat-no-ble arm64 (read only) 1943060 1943060 0 0.0
(read/write) 136865 136865 0 0.0
.bss 59441 59441 0 0.0
.data 824 824 0 0.0
.data.rel.ro 70160 70160 0 0.0
.dynamic 560 560 0 0.0
.got 3568 3568 0 0.0
.init 24 24 0 0.0
.init_array 264 264 0 0.0
.rodata 125300 125300 0 0.0
.text 1610608 1610608 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2323312 2323312 0 0.0
.bss 184972 184972 0 0.0
.data 5232 5232 0 0.0
.heap 846240 846240 0 0.0
.text 1285888 1285888 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2307944 2307944 0 0.0
.bss 175688 175688 0 0.0
.data 5520 5520 0 0.0
.heap 855240 855240 0 0.0
.text 1270544 1270544 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2281056 2281056 0 0.0
.bss 174728 174728 0 0.0
.data 5520 5512 -8 -0.1
.heap 856200 856208 8 0.0
.text 1243656 1243656 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4368 -8 -0.2
.heap 1020312 1020320 8 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2053344 2053344 0 0.0
.bss 156892 156892 0 0.0
.data 4864 4864 0 0.0
.heap 874688 874688 0 0.0
.text 1015944 1015944 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 905563 905563 0 0.0
bss 116168 116168 0 0.0
rodata 101676 101676 0 0.0
text 612128 612128 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 868603 868603 0 0.0
bss 112516 112516 0 0.0
rodata 92972 92972 0 0.0
text 586856 586852 -4 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 831570 831570 0 0.0
bss 117544 117544 0 0.0
rodata 96932 96932 0 0.0
text 542556 542556 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 878191 878191 0 0.0
bss 113432 113432 0 0.0
rodata 97792 97792 0 0.0
text 591572 591572 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 804438 804438 0 0.0
bss 114840 114840 0 0.0
rodata 93080 93080 0 0.0
text 522092 522092 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497447 -16 -0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339488 -4 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 883119 883119 0 0.0
bss 113344 113344 0 0.0
rodata 99144 99144 0 0.0
text 595160 595160 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 876363 876363 0 0.0
bss 113220 113220 0 0.0
rodata 97284 97284 0 0.0
text 590360 590360 0 0.0
shell nrf52840dk_nrf52840 (read/write) 781947 781947 0 0.0
bss 109544 109544 0 0.0
rodata 74280 74280 0 0.0
text 523604 523604 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 696994 696994 0 0.0
bss 110524 110524 0 0.0
rodata 68924 68924 0 0.0
text 444244 444244 0 0.0
p6 all-clusters-app default (read/write) 2360072 2360072 0 0.0
.bss 113108 113108 0 0.0
.data 2512 2512 0 0.0
.heap 917720 917720 0 0.0
.text 1318336 1318336 0 0.0
light-app default (read/write) 2292872 2292872 0 0.0
.bss 100880 100880 0 0.0
.data 2352 2352 0 0.0
.heap 930112 930112 0 0.0
.text 1251136 1251136 0 0.0
lock-app default (read/write) 2268936 2268936 0 0.0
.bss 99760 99760 0 0.0
.data 2320 2320 0 0.0
.heap 931264 931264 0 0.0
.text 1227200 1227200 0 0.0
qpg lighting-app qpg6100+debug (read only) 520260 520260 0 0.0
(read/write) 122336 122336 0 0.0
.bss 82616 82616 0 0.0
.data 984 984 0 0.0
.text 514940 514940 0 0.0
lock-app qpg6100+debug (read only) 494636 494636 0 0.0
(read/write) 122332 122332 0 0.0
.bss 81752 81752 0 0.0
.data 940 940 0 0.0
.text 489316 489316 0 0.0
persistent-storage-app qpg6100+debug (read only) 108104 108104 0 0.0
(read/write) 122336 122336 0 0.0
.bss 36152 36152 0 0.0
.data 288 288 0 0.0
.text 102784 102784 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 809658 809658 0 0.0
bss 82736 82736 0 0.0
noinit 37160 37160 0 0.0
text 565164 565164 0 0.0

@woody-apple
Copy link
Contributor

/rebase

@github-actions
Copy link

github-actions bot commented Dec 10, 2021

PR #12648: Size comparison from 586aca7 to 8a63286

Increases (2 builds for mbed)
platform target config section 586aca7 8a63286 change % change
mbed lock-app CY8CPROTO_062_4343W+release .heap 856064 856072 8 0.0
pigweed-app CY8CPROTO_062_4343W+release .heap 1020312 1020320 8 0.0
Decreases (4 builds for mbed, nrfconnect)
platform target config section 586aca7 8a63286 change % change
mbed lock-app CY8CPROTO_062_4343W+release .data 5520 5512 -8 -0.1
pigweed-app CY8CPROTO_062_4343W+release .data 4376 4368 -8 -0.2
nrfconnect lighting-app nrf52840dk_nrf52840+rpc (read/write) 869795 869787 -8 -0.0
text 587604 587600 -4 -0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497447 -16 -0.0
text 339492 339488 -4 -0.0
Full report (32 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 586aca7 8a63286 change % change
efr32 lighting-app BRD4161A (read only) 809204 809204 0 0.0
(read/write) 123148 123148 0 0.0
.bss 121288 121288 0 0.0
.data 1860 1860 0 0.0
.text 809196 809196 0 0.0
BRD4161A+rpc (read only) 796824 796824 0 0.0
(read/write) 139824 139824 0 0.0
.bss 137864 137864 0 0.0
.data 1960 1960 0 0.0
.text 796816 796816 0 0.0
window-app BRD4161A (read only) 786180 786180 0 0.0
(read/write) 121280 121280 0 0.0
.bss 119456 119456 0 0.0
.data 1824 1824 0 0.0
.text 786172 786172 0 0.0
esp32 all-clusters-app c3devkit (read only) 862792 862792 0 0.0
(read/write) 1306058 1306058 0 0.0
.dram0.bss 65832 65832 0 0.0
.dram0.data 14124 14124 0 0.0
.flash.rodata 173064 173064 0 0.0
.flash.text 862792 862792 0 0.0
.iram0.text 62076 62076 0 0.0
m5stack (read only) 966015 966015 0 0.0
(read/write) 451744 451744 0 0.0
.dram0.bss 75128 75128 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 210772 210772 0 0.0
.flash.text 960631 960631 0 0.0
.iram0.text 123451 123451 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 669560 669560 0 0.0
.bss 73872 73872 0 0.0
.data 1892 1892 0 0.0
.text 587996 587996 0 0.0
lock-app k32w061+debug (read/write) 619508 619508 0 0.0
.bss 72024 72024 0 0.0
.data 1852 1852 0 0.0
.text 539832 539832 0 0.0
shell k32w061+debug (read/write) 624608 624608 0 0.0
.bss 74252 74252 0 0.0
.data 1832 1832 0 0.0
.text 542724 542724 0 0.0
linux chip-tool-ipv6only arm64 (read only) 6864988 6864988 0 0.0
(read/write) 318785 318785 0 0.0
.bss 51985 51985 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 208776 208776 0 0.0
.dynamic 560 560 0 0.0
.got 53096 53096 0 0.0
.init 24 24 0 0.0
.init_array 176 176 0 0.0
.rodata 364764 364764 0 0.0
.text 5820564 5820564 0 0.0
thermostat-no-ble arm64 (read only) 1947444 1947444 0 0.0
(read/write) 137201 137201 0 0.0
.bss 59601 59601 0 0.0
.data 832 832 0 0.0
.data.rel.ro 70304 70304 0 0.0
.dynamic 560 560 0 0.0
.got 3592 3592 0 0.0
.init 24 24 0 0.0
.init_array 272 272 0 0.0
.rodata 125508 125508 0 0.0
.text 1614432 1614432 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2324328 2324328 0 0.0
.bss 185108 185108 0 0.0
.data 5240 5240 0 0.0
.heap 846096 846096 0 0.0
.text 1286904 1286904 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2308944 2308944 0 0.0
.bss 175824 175824 0 0.0
.data 5528 5528 0 0.0
.heap 855096 855096 0 0.0
.text 1271544 1271544 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2282064 2282064 0 0.0
.bss 174864 174864 0 0.0
.data 5520 5512 -8 -0.1
.heap 856064 856072 8 0.0
.text 1244664 1244664 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4368 -8 -0.2
.heap 1020312 1020320 8 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2053336 2053336 0 0.0
.bss 156900 156900 0 0.0
.data 4864 4864 0 0.0
.heap 874680 874680 0 0.0
.text 1015936 1015936 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 906747 906747 0 0.0
bss 116296 116296 0 0.0
rodata 101980 101980 0 0.0
text 612876 612876 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 869795 869787 -8 -0.0
bss 112644 112644 0 0.0
rodata 93276 93276 0 0.0
text 587604 587600 -4 -0.0
nrf5340dk_nrf5340_cpuapp (read/write) 832762 832762 0 0.0
bss 117672 117672 0 0.0
rodata 97236 97236 0 0.0
text 543304 543304 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 879375 879375 0 0.0
bss 113560 113560 0 0.0
rodata 98096 98096 0 0.0
text 592320 592320 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 805634 805634 0 0.0
bss 114968 114968 0 0.0
rodata 93388 93388 0 0.0
text 522840 522840 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497447 -16 -0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339488 -4 -0.0
pump-app nrf52840dk_nrf52840 (read/write) 884315 884315 0 0.0
bss 113472 113472 0 0.0
rodata 99452 99452 0 0.0
text 595912 595912 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 877555 877555 0 0.0
bss 113348 113348 0 0.0
rodata 97588 97588 0 0.0
text 591108 591108 0 0.0
shell nrf52840dk_nrf52840 (read/write) 781927 781927 0 0.0
bss 109544 109544 0 0.0
rodata 74276 74276 0 0.0
text 523588 523588 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 696974 696974 0 0.0
bss 110524 110524 0 0.0
rodata 68920 68920 0 0.0
text 444228 444228 0 0.0
p6 all-clusters-app default (read/write) 2361904 2361904 0 0.0
.bss 113244 113244 0 0.0
.data 2520 2520 0 0.0
.heap 917576 917576 0 0.0
.text 1320168 1320168 0 0.0
light-app default (read/write) 2294704 2294704 0 0.0
.bss 101016 101016 0 0.0
.data 2360 2360 0 0.0
.heap 929968 929968 0 0.0
.text 1252968 1252968 0 0.0
lock-app default (read/write) 2270784 2270784 0 0.0
.bss 99896 99896 0 0.0
.data 2328 2328 0 0.0
.heap 931120 931120 0 0.0
.text 1229048 1229048 0 0.0
qpg lighting-app qpg6100+debug (read only) 521320 521320 0 0.0
(read/write) 122336 122336 0 0.0
.bss 82712 82712 0 0.0
.data 992 992 0 0.0
.text 516000 516000 0 0.0
lock-app qpg6100+debug (read only) 495688 495688 0 0.0
(read/write) 122332 122332 0 0.0
.bss 81848 81848 0 0.0
.data 948 948 0 0.0
.text 490368 490368 0 0.0
persistent-storage-app qpg6100+debug (read only) 108104 108104 0 0.0
(read/write) 122336 122336 0 0.0
.bss 36160 36160 0 0.0
.data 288 288 0 0.0
.text 102784 102784 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 810954 810954 0 0.0
bss 82864 82864 0 0.0
noinit 37160 37160 0 0.0
text 566006 566006 0 0.0

@andy31415 andy31415 merged commit 2eda113 into project-chip:master Dec 13, 2021
@yyzhong-g yyzhong-g deleted the roll_pw branch January 5, 2022 02:08
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