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

[TI] initial cc32xx support #18822

Merged
merged 15 commits into from
Jun 28, 2022
Merged

[TI] initial cc32xx support #18822

merged 15 commits into from
Jun 28, 2022

Conversation

abiradarti
Copy link
Contributor

Co-authored-by: Suyash Jain [email protected]
Co-authored-by: Kobi Leibovitch [email protected]

Problem

  • There was no support for the TI CC32xx platform in this repo

Change overview

TI CC32xx platform support

Testing

*lock app functional building and testing

Co-authored-by: Suyash Jain <[email protected]>
Co-authored-by: Kobi Leibovitch <[email protected]>
@CLAassistant
Copy link

CLAassistant commented May 25, 2022

CLA assistant check
All committers have signed the CLA.

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.

Fast tracking platform changes

Copy link
Contributor

@andy31415 andy31415 left a comment

Choose a reason for hiding this comment

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

This is a very large change (5K lines added) so I did not actually do a full review, just a quick glance over.

src/lwip/cc32xx/arch/cc.h Show resolved Hide resolved
src/platform/cc32xx/Logging.cpp Show resolved Hide resolved
@boring-cyborg boring-cyborg bot added the github label Jun 20, 2022
.github/.wordlist.txt Outdated Show resolved Hide resolved
.github/.wordlist.txt Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Jun 23, 2022

PR #18822: Size comparison from 2517dd5 to 785132b

Increases (3 builds for efr32, telink)
platform target config section 2517dd5 785132b change % change
efr32 lock-app BRD4161A+wf200 (read/write) 1112108 1112124 16 0.0
.text 969528 969544 16 0.0
telink light-switch-app tlsr9518adk80d text 561122 561124 2 0.0
lighting-app tlsr9518adk80d (read/write) 812744 812752 8 0.0
text 577584 577586 2 0.0
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 2517dd5 785132b change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 660427 660427 0 0.0
(read/write) 191644 191644 0 0.0
.bss 74964 74964 0 0.0
.data 3356 3356 0 0.0
.rodata 87011 87011 0 0.0
.text 573104 573104 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 649319 649319 0 0.0
(read/write) 158524 158524 0 0.0
.bss 74252 74252 0 0.0
.data 3356 3356 0 0.0
.rodata 90623 90623 0 0.0
.text 558376 558376 0 0.0
lock-ftd LP_CC2652R7 (read only) 692067 692067 0 0.0
(read/write) 150116 150116 0 0.0
.bss 71964 71964 0 0.0
.data 3280 3280 0 0.0
.rodata 99467 99467 0 0.0
.text 592116 592116 0 0.0
lock-mtd LP_CC2652R7 (read only) 641491 641491 0 0.0
(read/write) 145096 145096 0 0.0
.bss 67700 67700 0 0.0
.data 3280 3280 0 0.0
.rodata 99355 99355 0 0.0
.text 541644 541644 0 0.0
pump-app LP_CC2652R7 (read only) 673319 673319 0 0.0
(read/write) 169760 169760 0 0.0
.bss 72092 72092 0 0.0
.data 3280 3280 0 0.0
.rodata 87783 87783 0 0.0
.text 585052 585052 0 0.0
pump-controller-app LP_CC2652R7 (read only) 659191 659191 0 0.0
(read/write) 184000 184000 0 0.0
.bss 72204 72204 0 0.0
.data 3276 3276 0 0.0
.rodata 83623 83623 0 0.0
.text 575088 575088 0 0.0
shell LP_CC2652R7 (read only) 690258 690258 0 0.0
(read/write) 157316 157316 0 0.0
.bss 77268 77268 0 0.0
.data 3360 3360 0 0.0
.rodata 109866 109866 0 0.0
.text 580080 580080 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 592610 592610 0 0.0
.app_xip_area 462724 462724 0 0.0
.bss 72848 72848 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) 589994 589994 0 0.0
.app_xip_area 459932 459932 0 0.0
.bss 73024 73024 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) 595126 595126 0 0.0
.app_xip_area 466112 466112 0 0.0
.bss 72032 72032 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) 1071824 1071824 0 0.0
.bss 133716 133716 0 0.0
.data 2048 2048 0 0.0
.text 936040 936040 0 0.0
BRD4161A+rpc (read/write) 1125892 1125892 0 0.0
.bss 150404 150404 0 0.0
.data 2260 2260 0 0.0
.text 973204 973204 0 0.0
BRD4161A+rs911x (read/write) 936512 936512 0 0.0
.bss 140088 140088 0 0.0
.data 2048 2048 0 0.0
.text 794356 794356 0 0.0
lock-app BRD4161A+wf200 (read/write) 1112108 1112124 16 0.0
.bss 140504 140504 0 0.0
.data 2056 2056 0 0.0
.text 969528 969544 16 0.0
window-app BRD4161A (read/write) 1057076 1057076 0 0.0
.bss 133788 133788 0 0.0
.data 2076 2076 0 0.0
.text 921192 921192 0 0.0
esp32 all-clusters-app c3devkit (read only) 1014220 1014220 0 0.0
(read/write) 1485666 1485666 0 0.0
.dram0.bss 71424 71424 0 0.0
.dram0.data 14632 14632 0 0.0
.flash.rodata 214176 214176 0 0.0
.flash.text 1014220 1014220 0 0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1068515 1068515 0 0.0
(read/write) 487752 487752 0 0.0
.dram0.bss 76936 76936 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 244676 244676 0 0.0
.flash.text 1063131 1063131 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 662188 662188 0 0.0
.bss 70396 70396 0 0.0
.data 1992 1992 0 0.0
.text 584000 584000 0 0.0
lock k32w061+release (read/write) 724200 724200 0 0.0
.bss 70844 70844 0 0.0
.data 2000 2000 0 0.0
.text 645556 645556 0 0.0
linux all-clusters-app debug (read only) 2939113 2939113 0 0.0
(read/write) 177136 177136 0 0.0
.bss 84192 84192 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 84696 84696 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 2501026 2501026 0 0.0
all-clusters-minimal-app debug (read only) 2792921 2792921 0 0.0
(read/write) 169040 169040 0 0.0
.bss 83520 83520 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 77336 77336 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 2355378 2355378 0 0.0
bridge-app debug+rpc (read only) 2296905 2296905 0 0.0
(read/write) 147936 147936 0 0.0
.bss 71616 71616 0 0.0
.data 3792 3792 0 0.0
.data.rel.ro 66760 66760 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 1939234 1939234 0 0.0
chip-tool debug (read only) 10168973 10168973 0 0.0
(read/write) 610600 610600 0 0.0
.bss 24416 24416 0 0.0
.data 1088 1088 0 0.0
.data.rel.ro 578800 578800 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 8252293 8252293 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9905148 9905148 0 0.0
(read/write) 675281 675281 0 0.0
.bss 42641 42641 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 614200 614200 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 471452 471452 0 0.0
.text 7894788 7894788 0 0.0
lighting-app debug+rpc (read only) 2533673 2533673 0 0.0
(read/write) 151928 151928 0 0.0
.bss 72064 72064 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 71912 71912 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 2151666 2151666 0 0.0
lock-app debug (read only) 2466945 2466945 0 0.0
(read/write) 146672 146672 0 0.0
.bss 70496 70496 0 0.0
.data 1680 1680 0 0.0
.data.rel.ro 68632 68632 0 0.0
.dynamic 608 608 0 0.0
.got 4432 4432 0 0.0
.init 27 27 0 0.0
.init_array 776 776 0 0.0
.rodata 225864 225864 0 0.0
.text 2076642 2076642 0 0.0
ota-provider-app debug (read only) 2304817 2304817 0 0.0
(read/write) 140776 140776 0 0.0
.bss 70176 70176 0 0.0
.data 1912 1912 0 0.0
.data.rel.ro 62872 62872 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 1940450 1940450 0 0.0
ota-requestor-app debug (read only) 2421889 2421889 0 0.0
(read/write) 147648 147648 0 0.0
.bss 72544 72544 0 0.0
.data 2200 2200 0 0.0
.data.rel.ro 67048 67048 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 2045298 2045298 0 0.0
shell debug (read only) 2612825 2612825 0 0.0
(read/write) 196120 196120 0 0.0
.bss 111304 111304 0 0.0
.data 1232 1232 0 0.0
.data.rel.ro 77832 77832 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 2221378 2221378 0 0.0
thermostat-no-ble arm64 (read only) 2579052 2579052 0 0.0
(read/write) 180673 180673 0 0.0
.bss 87905 87905 0 0.0
.data 1704 1704 0 0.0
.data.rel.ro 82952 82952 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 164684 164684 0 0.0
.text 2175152 2175152 0 0.0
tv-app debug (read only) 3082881 3082881 0 0.0
(read/write) 277864 277864 0 0.0
.bss 187720 187720 0 0.0
.data 4656 4656 0 0.0
.data.rel.ro 79048 79048 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 247840 247840 0 0.0
.text 2648082 2648082 0 0.0
tv-casting-app debug (read only) 5573521 5573521 0 0.0
(read/write) 184144 184144 0 0.0
.bss 72872 72872 0 0.0
.data 2448 2448 0 0.0
.data.rel.ro 102608 102608 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 341929 341929 0 0.0
.text 4955266 4955266 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2439536 2439536 0 0.0
.bss 214692 214692 0 0.0
.data 5864 5864 0 0.0
.text 1402180 1402180 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1203155 1203155 0 0.0
bss 143646 143646 0 0.0
rodata 156388 156388 0 0.0
text 824212 824212 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1150503 1150503 0 0.0
bss 142882 142882 0 0.0
rodata 132720 132720 0 0.0
text 796004 796004 0 0.0
p6 all-clusters-app default (read/write) 2555992 2555992 0 0.0
.bss 149872 149872 0 0.0
.data 2776 2776 0 0.0
.text 1514256 1514256 0 0.0
all-clusters-minimal-app default (read/write) 2501840 2501840 0 0.0
.bss 149152 149152 0 0.0
.data 2776 2776 0 0.0
.text 1460104 1460104 0 0.0
light-app default (read/write) 2432592 2432592 0 0.0
.bss 141232 141232 0 0.0
.data 2592 2592 0 0.0
.text 1390856 1390856 0 0.0
lock-app default (read/write) 2453320 2453320 0 0.0
.bss 141056 141056 0 0.0
.data 2600 2600 0 0.0
.text 1411584 1411584 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 793040 793040 0 0.0
bss 71924 71924 0 0.0
noinit 40416 40416 0 0.0
text 561122 561124 2 0.0
lighting-app tlsr9518adk80d (read/write) 812744 812752 8 0.0
bss 72172 72172 0 0.0
noinit 40416 40416 0 0.0
text 577584 577586 2 0.0

@github-actions
Copy link

github-actions bot commented Jun 24, 2022

PR #18822: Size comparison from 2d0c529 to 953c166

Decreases (4 builds for esp32, k32w, nrfconnect, telink)
platform target config section 2d0c529 953c166 change % change
esp32 all-clusters-app c3devkit (read only) 1014322 1014320 -2 -0.0
.flash.text 1014322 1014320 -2 -0.0
k32w lock k32w061+release (read/write) 695120 695104 -16 -0.0
.text 615860 615844 -16 -0.0
nrfconnect all-clusters-minimal-app nrf52840dk_nrf52840 text 796096 796092 -4 -0.0
telink light-switch-app tlsr9518adk80d text 561224 561222 -2 -0.0
Full report (30 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 2d0c529 953c166 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 660539 660539 0 0.0
(read/write) 192132 192132 0 0.0
.bss 75564 75564 0 0.0
.data 3352 3352 0 0.0
.rodata 87059 87059 0 0.0
.text 573168 573168 0 0.0
all-clusters-minimal-app LP_CC2652R7 (read only) 649431 649431 0 0.0
(read/write) 159120 159120 0 0.0
.bss 74852 74852 0 0.0
.data 3352 3352 0 0.0
.rodata 90671 90671 0 0.0
.text 558440 558440 0 0.0
lock-ftd LP_CC2652R7 (read only) 663523 663523 0 0.0
(read/write) 179292 179292 0 0.0
.bss 72596 72596 0 0.0
.data 3276 3276 0 0.0
.rodata 75179 75179 0 0.0
.text 587864 587864 0 0.0
lock-mtd LP_CC2652R7 (read only) 612931 612931 0 0.0
(read/write) 145724 145724 0 0.0
.bss 68332 68332 0 0.0
.data 3276 3276 0 0.0
.rodata 75059 75059 0 0.0
.text 537384 537384 0 0.0
pump-app LP_CC2652R7 (read only) 673439 673439 0 0.0
(read/write) 170240 170240 0 0.0
.bss 72692 72692 0 0.0
.data 3276 3276 0 0.0
.rodata 87831 87831 0 0.0
.text 585124 585124 0 0.0
pump-controller-app LP_CC2652R7 (read only) 659319 659319 0 0.0
(read/write) 184472 184472 0 0.0
.bss 72804 72804 0 0.0
.data 3272 3272 0 0.0
.rodata 83671 83671 0 0.0
.text 575168 575168 0 0.0
shell LP_CC2652R7 (read only) 690378 690378 0 0.0
(read/write) 157796 157796 0 0.0
.bss 77868 77868 0 0.0
.data 3356 3356 0 0.0
.rodata 109922 109922 0 0.0
.text 580144 580144 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 592610 592610 0 0.0
.app_xip_area 462732 462732 0 0.0
.bss 72848 72848 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) 594218 594218 0 0.0
.app_xip_area 464132 464132 0 0.0
.bss 73048 73048 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) 595238 595238 0 0.0
.app_xip_area 466232 466232 0 0.0
.bss 72032 72032 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) 1073348 1073348 0 0.0
.bss 134316 134316 0 0.0
.data 2044 2044 0 0.0
.text 936968 936968 0 0.0
BRD4161A+rpc (read/write) 1127436 1127436 0 0.0
.bss 151004 151004 0 0.0
.data 2256 2256 0 0.0
.text 974156 974156 0 0.0
BRD4161A+rs911x (read/write) 937376 937376 0 0.0
.bss 140088 140088 0 0.0
.data 2044 2044 0 0.0
.text 795220 795220 0 0.0
lock-app BRD4161A+wf200 (read/write) 1117580 1117580 0 0.0
.bss 140536 140536 0 0.0
.data 2056 2056 0 0.0
.text 974968 974968 0 0.0
window-app BRD4161A (read/write) 1058600 1058600 0 0.0
.bss 134388 134388 0 0.0
.data 2072 2072 0 0.0
.text 922120 922120 0 0.0
esp32 all-clusters-app c3devkit (read only) 1014322 1014320 -2 -0.0
(read/write) 1485698 1485698 0 0.0
.dram0.bss 71424 71424 0 0.0
.dram0.data 14624 14624 0 0.0
.flash.rodata 214224 214224 0 0.0
.flash.text 1014322 1014320 -2 -0.0
.iram0.text 62902 62902 0 0.0
m5stack (read only) 1068583 1068583 0 0.0
(read/write) 487800 487800 0 0.0
.dram0.bss 76936 76936 0 0.0
.dram0.data 34144 34144 0 0.0
.flash.rodata 244724 244724 0 0.0
.flash.text 1063199 1063199 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 662824 662824 0 0.0
.bss 70988 70988 0 0.0
.data 1988 1988 0 0.0
.text 584048 584048 0 0.0
lock k32w061+release (read/write) 695120 695104 -16 -0.0
.bss 71460 71460 0 0.0
.data 2000 2000 0 0.0
.text 615860 615844 -16 -0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9903788 9903788 0 0.0
(read/write) 675249 675249 0 0.0
.bss 42641 42641 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 614176 614176 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 471484 471484 0 0.0
.text 7893428 7893428 0 0.0
thermostat-no-ble arm64 (read only) 2579164 2579164 0 0.0
(read/write) 180593 180593 0 0.0
.bss 87905 87905 0 0.0
.data 1696 1696 0 0.0
.data.rel.ro 82888 82888 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 2175296 2175296 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2444192 2444192 0 0.0
.bss 214724 214724 0 0.0
.data 5872 5872 0 0.0
.text 1406836 1406836 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1203803 1203803 0 0.0
bss 144246 144246 0 0.0
rodata 156436 156436 0 0.0
text 824304 824304 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1151151 1151151 0 0.0
bss 143482 143482 0 0.0
rodata 132768 132768 0 0.0
text 796096 796092 -4 -0.0
p6 all-clusters-app default (read/write) 2556024 2556024 0 0.0
.bss 149872 149872 0 0.0
.data 2768 2768 0 0.0
.text 1514288 1514288 0 0.0
all-clusters-minimal-app default (read/write) 2501872 2501872 0 0.0
.bss 149152 149152 0 0.0
.data 2768 2768 0 0.0
.text 1460136 1460136 0 0.0
light-app default (read/write) 2432632 2432632 0 0.0
.bss 141232 141232 0 0.0
.data 2584 2584 0 0.0
.text 1390896 1390896 0 0.0
lock-app default (read/write) 2458896 2458896 0 0.0
.bss 141080 141080 0 0.0
.data 2600 2600 0 0.0
.text 1417160 1417160 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 793188 793188 0 0.0
bss 71924 71924 0 0.0
noinit 40416 40416 0 0.0
text 561224 561222 -2 -0.0
lighting-app tlsr9518adk80d (read/write) 813500 813500 0 0.0
bss 72772 72772 0 0.0
noinit 40416 40416 0 0.0
text 577684 577684 0 0.0

@andy31415 andy31415 merged commit f496784 into project-chip:master Jun 28, 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.

5 participants