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

[EFR32] Support external flash on EFRMG24 boards #18095

Merged
merged 24 commits into from
May 5, 2022

Conversation

selissia
Copy link
Contributor

@selissia selissia commented May 5, 2022

Problem

EFRMG24 boards need to support external flash for the OTA Software update opration

Change overview

Point third_party/efr32_sdk/ repo to the latest commit that introduces external flash support on EFRMG24 boards (change LCD to use USART, change VCOM to use EUSART, change the external flash to use USART). Update Matter EFR32 platform files to sync with this change.

Testing

The following functionality was tested on BRD4161A (an MG12 board) and BRD4186A (an MG24 board)

  • OTA software update with external flash
  • LCD operation
  • OpenTread CLI operation (verifies VCOM functionality)

kowsisoundhar12 and others added 22 commits March 8, 2022 22:28
* Added new manual scripts

* Added Auto generated File
* [ota] Store Default OTA Providers in flash

Store Default OTA Providers in flash each time the attribute
is modified and load it back on the application startup.

* Restyled by clang-format

* Fix build and reduce flash usage

Co-authored-by: Restyled.io <commits@restyled.io>
Point third_party/efr32_sdk/ repo to the latest commit that introduces external flash support on EFRMG24 boards (change LCD to use USART, change VCOM to use EUSART, change the external flash to use USART). Update Matter EFR32 platform files to sync with this change.
@github-actions
Copy link

github-actions bot commented May 5, 2022

PR #18095: Size comparison from d228b75 to 318ebb3

Full report (23 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, mbed, nrfconnect, p6, telink)
platform target config section d228b75 318ebb3 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 690331 690331 0 0.0
(read/write) 162012 162012 0 0.0
.bss 75324 75324 0 0.0
.data 3412 3412 0 0.0
.rodata 102899 102899 0 0.0
.text 586948 586948 0 0.0
lock-ftd LP_CC2652R7 (read only) 677911 677911 0 0.0
(read/write) 165536 165536 0 0.0
.bss 73484 73484 0 0.0
.data 3236 3236 0 0.0
.rodata 94695 94695 0 0.0
.text 582736 582736 0 0.0
lock-mtd LP_CC2652R7 (read only) 626663 626663 0 0.0
(read/write) 146300 146300 0 0.0
.bss 69204 69204 0 0.0
.data 3236 3236 0 0.0
.rodata 94583 94583 0 0.0
.text 531592 531592 0 0.0
pump-app LP_CC2652R7 (read only) 662427 662427 0 0.0
(read/write) 182316 182316 0 0.0
.bss 73756 73756 0 0.0
.data 3268 3268 0 0.0
.rodata 80891 80891 0 0.0
.text 581052 581052 0 0.0
pump-controller-app LP_CC2652R7 (read only) 655351 655351 0 0.0
(read/write) 189192 189192 0 0.0
.bss 73812 73812 0 0.0
.data 3232 3232 0 0.0
.rodata 83847 83847 0 0.0
.text 571020 571020 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 627026 627026 0 0.0
.app_xip_area 529616 529616 0 0.0
.bss 80052 80052 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 625930 625930 0 0.0
.app_xip_area 529984 529984 0 0.0
.bss 78620 78620 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 574722 574722 0 0.0
.app_xip_area 469060 469060 0 0.0
.bss 88040 88040 0 0.0
.data 584 584 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 909744 909744 0 0.0
(read/write) 134520 134520 0 0.0
.bss 132456 132456 0 0.0
.data 2064 2064 0 0.0
.text 909736 909736 0 0.0
BRD4161A+rpc (read only) 944088 944088 0 0.0
(read/write) 151208 151208 0 0.0
.bss 148936 148936 0 0.0
.data 2268 2268 0 0.0
.text 944080 944080 0 0.0
BRD4161A+rs911x (read only) 747932 747932 0 0.0
(read/write) 128700 128700 0 0.0
.bss 126708 126708 0 0.0
.data 1992 1992 0 0.0
.text 747924 747924 0 0.0
lock-app BRD4161A+wf200 (read only) 917636 917636 0 0.0
(read/write) 127480 127480 0 0.0
.bss 125532 125532 0 0.0
.data 1948 1948 0 0.0
.text 917628 917628 0 0.0
window-app BRD4161A (read only) 847000 847000 0 0.0
(read/write) 132608 132608 0 0.0
.bss 130632 130632 0 0.0
.data 1976 1976 0 0.0
.text 846992 846992 0 0.0
esp32 all-clusters-app c3devkit (read only) 1000528 1000528 0 0.0
(read/write) 1475258 1475258 0 0.0
.dram0.bss 68464 68464 0 0.0
.dram0.data 14444 14444 0 0.0
.flash.rodata 207904 207904 0 0.0
.flash.text 1000528 1000528 0 0.0
.iram0.text 62020 62020 0 0.0
m5stack (read only) 1055547 1055547 0 0.0
(read/write) 477680 477680 0 0.0
.dram0.bss 73976 73976 0 0.0
.dram0.data 34184 34184 0 0.0
.flash.rodata 237684 237684 0 0.0
.flash.text 1050163 1050163 0 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 684560 684560 0 0.0
.bss 81248 81248 0 0.0
.data 2020 2020 0 0.0
.text 599588 599588 0 0.0
lock k32w061+release (read/write) 729900 729900 0 0.0
.bss 81680 81680 0 0.0
.data 1980 1980 0 0.0
.text 644536 644536 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2419124 2419124 0 0.0
.bss 205820 205820 0 0.0
.data 5872 5872 0 0.0
.text 1381724 1381724 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1179187 1179187 0 0.0
bss 139676 139676 0 0.0
rodata 151460 151460 0 0.0
text 809328 809328 0 0.0
p6 all-clusters-app default (read/write) 2530480 2530480 0 0.0
.bss 139328 139328 0 0.0
.data 2808 2808 0 0.0
.text 1488744 1488744 0 0.0
light-app default (read/write) 2420560 2420560 0 0.0
.bss 132648 132648 0 0.0
.data 2608 2608 0 0.0
.text 1378824 1378824 0 0.0
lock-app default (read/write) 2430064 2430064 0 0.0
.bss 132472 132472 0 0.0
.data 2568 2568 0 0.0
.text 1388328 1388328 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 805408 805408 0 0.0
bss 72172 72172 0 0.0
noinit 40416 40416 0 0.0
text 571882 571882 0 0.0

@selissia selissia merged commit 89eceb5 into project-chip:master May 5, 2022
@selissia selissia deleted the ota-mg24-ext-flash branch May 12, 2022 15:57
mkardous-silabs pushed a commit to mkardous-silabs/connectedhomeip that referenced this pull request Jun 13, 2022
* Changes to support external flash on EFRMG24 boards

Point third_party/efr32_sdk/ repo to the latest commit that introduces external flash support on EFRMG24 boards (change LCD to use USART, change VCOM to use EUSART, change the external flash to use USART). Update Matter EFR32 platform files to sync with this change.
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.

8 participants