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

[Infineon] Update P6 assets to latest tag along BT API changes #20899

Merged

Conversation

woody-apple
Copy link
Contributor

Problem

Infineon P6 assets are not updated to latest tag for example apps

Change overview

Updated all the P6 assets to latest tag available
Update BLE abstraction layer based on the latest P6 BT-stack updates
Add device-type for lighting and lock example apps for P6
Rename some of the functions in buttonhandler for better readability

Testing

Manually tested commissioning for lock app, lighting app & all-clusters app

@woody-apple woody-apple merged commit 69bfcc7 into sve Jul 18, 2022
@woody-apple woody-apple deleted the cherry-pick-a15e2b07edbaa0283096fe376a5a6c1030c1feac branch July 18, 2022 23:55
@github-actions
Copy link

github-actions bot commented Jul 19, 2022

PR #20899: Size comparison from 3d2e23a to 03589a8

Increases (4 builds for bl602, cc13x2_26x2, telink)
platform target config section 3d2e23a 03589a8 change % change
bl602 lighting-app bl602 (read/write) 1383570 1383578 8 0.0
.text 1053616 1053620 4 0.0
bl602+rpc .text 1085300 1085304 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read/write) 182928 182936 8 0.0
telink light-switch-app tlsr9518adk80d (read/write) 798596 798604 8 0.0
text 566712 566714 2 0.0
Decreases (6 builds for cc13x2_26x2, esp32, p6)
platform target config section 3d2e23a 03589a8 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668311 668303 -8 -0.0
.text 579676 579668 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1021654 1021652 -2 -0.0
.flash.text 1021654 1021652 -2 -0.0
p6 all-clusters-app default (read/write) 2568568 1685004 -883564 -34.4
.bss 149120 148560 -560 -0.4
.data 2776 2648 -128 -4.6
.text 1526832 1525408 -1424 -0.1
all-clusters-minimal-app default (read/write) 2513432 1629164 -884268 -35.2
.bss 148400 147840 -560 -0.4
.data 2776 2648 -128 -4.6
.text 1471696 1470288 -1408 -0.1
light-app default (read/write) 2443424 1549188 -894236 -36.6
.bss 140456 139744 -712 -0.5
.data 2592 2440 -152 -5.9
.text 1401688 1398616 -3072 -0.2
lock-app default (read/write) 2470512 1576188 -894324 -36.2
.bss 140304 139600 -704 -0.5
.data 2600 2456 -144 -5.5
.text 1428776 1425744 -3032 -0.2
Full report (43 builds for bl602, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 3d2e23a 03589a8 change % change
bl602 lighting-app bl602 (read/write) 1383570 1383578 8 0.0
.bss 116978 116978 0 0.0
.data 4480 4480 0 0.0
.text 1053616 1053620 4 0.0
bl602+rpc (read/write) 1429010 1429010 0 0.0
.bss 124418 124418 0 0.0
.data 4600 4600 0 0.0
.text 1085300 1085304 4 0.0
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668311 668303 -8 -0.0
(read/write) 182928 182936 8 0.0
.bss 74132 74132 0 0.0
.data 3356 3356 0 0.0
.rodata 88319 88319 0 0.0
.text 579676 579668 -8 -0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 633951 633951 0 0.0
(read/write) 157700 157700 0 0.0
.bss 73428 73428 0 0.0
.data 3356 3356 0 0.0
.rodata 77551 77551 0 0.0
.text 556076 556076 0 0.0
lock-ftd LP_CC2652R7 (read only) 671507 671507 0 0.0
(read/write) 169908 169908 0 0.0
.bss 71196 71196 0 0.0
.data 3280 3280 0 0.0
.rodata 76451 76451 0 0.0
.text 594576 594576 0 0.0
lock-mtd LP_CC2652R7 (read only) 653791 653791 0 0.0
(read/write) 183312 183312 0 0.0
.bss 66884 66884 0 0.0
.data 3280 3280 0 0.0
.rodata 101199 101199 0 0.0
.text 552112 552112 0 0.0
pump-app LP_CC2652R7 (read only) 680499 680499 0 0.0
(read/write) 161764 161764 0 0.0
.bss 71276 71276 0 0.0
.data 3280 3280 0 0.0
.rodata 88811 88811 0 0.0
.text 591204 591204 0 0.0
pump-controller-app LP_CC2652R7 (read only) 666291 666291 0 0.0
(read/write) 176092 176092 0 0.0
.bss 71396 71396 0 0.0
.data 3276 3276 0 0.0
.rodata 84675 84675 0 0.0
.text 581136 581136 0 0.0
shell LP_CC2652R7 (read only) 660802 660802 0 0.0
(read/write) 185940 185940 0 0.0
.bss 76436 76436 0 0.0
.data 3360 3360 0 0.0
.rodata 85098 85098 0 0.0
.text 575388 575388 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 581830 581830 0 0.0
.app_xip_area 460536 460536 0 0.0
.bss 64232 64232 0 0.0
.data 716 716 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 587754 587754 0 0.0
.app_xip_area 461732 461732 0 0.0
.bss 68960 68960 0 0.0
.data 720 720 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 585178 585178 0 0.0
.app_xip_area 464732 464732 0 0.0
.bss 63440 63440 0 0.0
.data 660 660 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read/write) 1084760 1084760 0 0.0
.bss 133044 133044 0 0.0
.data 2048 2048 0 0.0
.text 949648 949648 0 0.0
BRD4161A+rpc (read/write) 1139100 1139100 0 0.0
.bss 149724 149724 0 0.0
.data 2260 2260 0 0.0
.text 987092 987092 0 0.0
BRD4161A+rs911x (read/write) 950128 950128 0 0.0
.bss 140768 140768 0 0.0
.data 2048 2048 0 0.0
.text 807292 807292 0 0.0
lock-app BRD4161A+wf200 (read/write) 1127908 1127908 0 0.0
.bss 144136 144136 0 0.0
.data 2056 2056 0 0.0
.text 981696 981696 0 0.0
window-app BRD4161A (read/write) 1078268 1078268 0 0.0
.bss 134516 134516 0 0.0
.data 2076 2076 0 0.0
.text 941656 941656 0 0.0
esp32 all-clusters-app c3devkit (read only) 1021654 1021652 -2 -0.0
(read/write) 1486026 1486026 0 0.0
.dram0.bss 70080 70080 0 0.0
.dram0.data 14600 14600 0 0.0
.flash.rodata 215912 215912 0 0.0
.flash.text 1021654 1021652 -2 -0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1075363 1075363 0 0.0
(read/write) 488064 488064 0 0.0
.dram0.bss 75600 75600 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 246324 246324 0 0.0
.flash.text 1069979 1069979 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 660604 660604 0 0.0
.bss 69540 69540 0 0.0
.data 1992 1992 0 0.0
.text 583272 583272 0 0.0
lock k32w061+release (read/write) 687588 687588 0 0.0
.bss 70004 70004 0 0.0
.data 2004 2004 0 0.0
.text 609780 609780 0 0.0
linux all-clusters-app debug (read only) 2973433 2973433 0 0.0
(read/write) 155016 155016 0 0.0
.bss 61664 61664 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 85048 85048 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 1056 1056 0 0.0
.rodata 264733 264733 0 0.0
.text 2531010 2531010 0 0.0
all-clusters-minimal-app debug (read only) 2820041 2820041 0 0.0
(read/write) 146688 146688 0 0.0
.bss 60864 60864 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 77608 77608 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 1048 1048 0 0.0
.rodata 265661 265661 0 0.0
.text 2379346 2379346 0 0.0
bridge-app debug+rpc (read only) 2320313 2320313 0 0.0
(read/write) 125504 125504 0 0.0
.bss 48928 48928 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 66984 66984 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 198272 198272 0 0.0
.text 1960306 1960306 0 0.0
chip-tool debug (read only) 10294345 10294345 0 0.0
(read/write) 629504 629504 0 0.0
.bss 24728 24728 0 0.0
.data 3234 3234 0 0.0
.data.rel.ro 595152 595152 0 0.0
.dynamic 608 608 0 0.0
.got 5096 5096 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 514933 514933 0 0.0
.text 8331284 8331284 0 0.0
chip-tool-ipv6only arm64 (read only) 10034572 10034572 0 0.0
(read/write) 694577 694577 0 0.0
.bss 42961 42961 0 0.0
.data 3304 3304 0 0.0
.data.rel.ro 630768 630768 0 0.0
.dynamic 528 528 0 0.0
.got 13624 13624 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 479052 479052 0 0.0
.text 7975556 7975556 0 0.0
lighting-app debug+rpc (read only) 2558073 2558073 0 0.0
(read/write) 129528 129528 0 0.0
.bss 49440 49440 0 0.0
.data 2096 2096 0 0.0
.data.rel.ro 72136 72136 0 0.0
.dynamic 608 608 0 0.0
.got 4392 4392 0 0.0
.init 27 27 0 0.0
.init_array 816 816 0 0.0
.rodata 214024 214024 0 0.0
.text 2174082 2174082 0 0.0
lock-app debug (read only) 2522889 2522889 0 0.0
(read/write) 124512 124512 0 0.0
.bss 47840 47840 0 0.0
.data 1712 1712 0 0.0
.data.rel.ro 69096 69096 0 0.0
.dynamic 608 608 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 229064 229064 0 0.0
.text 2128658 2128658 0 0.0
ota-provider-app debug (read only) 2326497 2326497 0 0.0
(read/write) 118312 118312 0 0.0
.bss 47488 47488 0 0.0
.data 1944 1944 0 0.0
.data.rel.ro 63096 63096 0 0.0
.dynamic 608 608 0 0.0
.got 4488 4488 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 203864 203864 0 0.0
.text 1959858 1959858 0 0.0
ota-requestor-app debug (read only) 2444073 2444073 0 0.0
(read/write) 125248 125248 0 0.0
.bss 49856 49856 0 0.0
.data 2232 2232 0 0.0
.data.rel.ro 67304 67304 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 207584 207584 0 0.0
.text 2065314 2065314 0 0.0
shell debug (read only) 2560337 2560337 0 0.0
(read/write) 141104 141104 0 0.0
.bss 57448 57448 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 76688 76688 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 228114 228114 0 0.0
.text 2175122 2175122 0 0.0
thermostat-no-ble arm64 (read only) 2600052 2600052 0 0.0
(read/write) 158257 158257 0 0.0
.bss 65249 65249 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 83216 83216 0 0.0
.dynamic 528 528 0 0.0
.got 5072 5072 0 0.0
.init 24 24 0 0.0
.init_array 400 400 0 0.0
.rodata 165748 165748 0 0.0
.text 2194560 2194560 0 0.0
tv-app debug (read only) 3108097 3108097 0 0.0
(read/write) 257704 257704 0 0.0
.bss 167016 167016 0 0.0
.data 4848 4848 0 0.0
.data.rel.ro 79392 79392 0 0.0
.dynamic 608 608 0 0.0
.got 4848 4848 0 0.0
.init 27 27 0 0.0
.init_array 952 952 0 0.0
.rodata 249504 249504 0 0.0
.text 2670690 2670690 0 0.0
tv-casting-app debug (read only) 5350369 5350369 0 0.0
(read/write) 156848 156848 0 0.0
.bss 50248 50248 0 0.0
.data 2416 2416 0 0.0
.data.rel.ro 97928 97928 0 0.0
.dynamic 608 608 0 0.0
.got 4744 4744 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 331689 331689 0 0.0
.text 4753330 4753330 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2449064 2449064 0 0.0
.bss 213940 213940 0 0.0
.data 5872 5872 0 0.0
.text 1411708 1411708 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1176547 1176547 0 0.0
bss 142900 142900 0 0.0
rodata 142204 142204 0 0.0
text 812544 812544 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1156611 1156611 0 0.0
bss 142136 142136 0 0.0
rodata 133748 133748 0 0.0
text 801852 801852 0 0.0
p6 all-clusters-app default (read/write) 2568568 1685004 -883564 -34.4
.bss 149120 148560 -560 -0.4
.data 2776 2648 -128 -4.6
.text 1526832 1525408 -1424 -0.1
all-clusters-minimal-app default (read/write) 2513432 1629164 -884268 -35.2
.bss 148400 147840 -560 -0.4
.data 2776 2648 -128 -4.6
.text 1471696 1470288 -1408 -0.1
light-app default (read/write) 2443424 1549188 -894236 -36.6
.bss 140456 139744 -712 -0.5
.data 2592 2440 -152 -5.9
.text 1401688 1398616 -3072 -0.2
lock-app default (read/write) 2470512 1576188 -894324 -36.2
.bss 140304 139600 -704 -0.5
.data 2600 2456 -144 -5.5
.text 1428776 1425744 -3032 -0.2
telink light-switch-app tlsr9518adk80d (read/write) 798596 798604 8 0.0
bss 70576 70576 0 0.0
noinit 40416 40416 0 0.0
text 566712 566714 2 0.0
lighting-app tlsr9518adk80d (read/write) 818636 818636 0 0.0
bss 71420 71420 0 0.0
noinit 40416 40416 0 0.0
text 583248 583248 0 0.0

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.

2 participants