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

[NXP] Move some components in common #35594

Merged
merged 16 commits into from
Sep 17, 2024

Conversation

marius-alex-tache
Copy link
Contributor

@marius-alex-tache marius-alex-tache commented Sep 16, 2024

Doing some folder restructure by moving a couple of k32w1 components from the platform specific device layer to a common NXP location. These components can be reused by other platforms.

Changelog:

  • secure subsystem crypto PAL is moved to a common area
  • BLE manager implementation is moved to a common area. Move some BLE SDK specific headers in nxp_matter_support submodule
  • multi-image OTA is moved to a common area
  • factory data provider is moved to a common area (legacy)
  • update build system for k32w1 and mcxw71 NXP reference apps

This can be reused by other platforms as long as they are using
the same SDK.

Signed-off-by: marius-alex-tache <[email protected]>
OTAFirmwareProcessor and OTAHooks could be reused by other platforms
as long as the SDK is the same, so moving them from k32w1 folder.

Signed-off-by: marius-alex-tache <[email protected]>
Some components were implemented for k32w1, but can be reused as long as the
used SDK is the same. Moving them to factory_data/legacy until synchronizing
with the other factory data implementation.

Signed-off-by: marius-alex-tache <[email protected]>
Copy link

semanticdiff-com bot commented Sep 16, 2024

Review changes with SemanticDiff.

Analyzed 1 of 51 files.

File Information
Filename Status
✔️ third_party/nxp/nxp_matter_support Analyzed
src/platform/nxp/mcxw71_k32w1/BLEManagerImpl.h Unsupported file format
src/platform/nxp/mcxw71_k32w1/BUILD.gn Unsupported file format
src/platform/nxp/mcxw71_k32w1/ble_function_mux.c Unsupported file format
src/platform/nxp/mcxw71_k32w1/ble_function_mux.h Unsupported file format
src/platform/nxp/mcxw71_k32w1/gatt_db.h Unsupported file format
src/platform/nxp/mcxw71_k32w1/gatt_uuid128.h Unsupported file format
src/platform/nxp/k32w0/BLEManagerImpl.h Unsupported file format
src/platform/nxp/k32w0/BUILD.gn Unsupported file format
src/platform/nxp/k32w0/OTAFactoryDataProcessor.cpp Unsupported file format
src/platform/nxp/k32w0/OTAFactoryDataProcessor.h Unsupported file format
src/platform/nxp/k32w0/OTAFirmwareProcessor.cpp Unsupported file format
src/platform/nxp/k32w0/OTAFirmwareProcessor.h Unsupported file format
src/platform/nxp/k32w0/OTAHooks.cpp Unsupported file format
src/platform/nxp/k32w0/args.gni Unsupported file format
src/platform/nxp/common/ota/OTAFactoryDataProcessor.cpp Unsupported file format
src/platform/nxp/common/ota/OTAFactoryDataProcessor.h Unsupported file format
src/platform/nxp/common/ota/OTAFirmwareProcessor.cpp Unsupported file format
src/platform/nxp/common/ota/OTAFirmwareProcessor.h Unsupported file format
src/platform/nxp/common/ota/OTAHooks.cpp Unsupported file format
src/platform/nxp/common/ota/OTAImageProcessorImpl.cpp Unsupported file format
src/platform/nxp/common/ota/OTAImageProcessorImpl.h Unsupported file format
src/platform/nxp/common/ota/OTATlvProcessor.cpp Unsupported file format
src/platform/nxp/common/ota/OTATlvProcessor.h Unsupported file format
src/platform/nxp/common/ota/README.md Unsupported file format
src/platform/nxp/common/legacy/gatt_db.h Unsupported file format
src/platform/nxp/common/legacy/gatt_uuid128.h Unsupported file format
src/platform/nxp/common/factory_data/legacy/FactoryDataDriver.cpp Unsupported file format
src/platform/nxp/common/factory_data/legacy/FactoryDataDriver.h Unsupported file format
src/platform/nxp/common/factory_data/legacy/FactoryDataDriverImpl.cpp Unsupported file format
src/platform/nxp/common/factory_data/legacy/FactoryDataDriverImpl.h Unsupported file format
src/platform/nxp/common/factory_data/legacy/FactoryDataProvider.cpp Unsupported file format
src/platform/nxp/common/factory_data/legacy/FactoryDataProvider.h Unsupported file format
src/platform/nxp/common/factory_data/legacy/FactoryDataProviderImpl.cpp Unsupported file format
src/platform/nxp/common/factory_data/legacy/FactoryDataProviderImpl.h Unsupported file format
src/platform/nxp/common/crypto/CHIPCryptoPalS200.cpp Unsupported file format
src/platform/nxp/common/crypto/PersistentStorageOpKeystoreS200.cpp Unsupported file format
src/platform/nxp/common/crypto/PersistentStorageOpKeystoreS200.h Unsupported file format
src/platform/nxp/common/ble/BLEManagerCommon.cpp Unsupported file format
src/platform/nxp/common/ble/BLEManagerCommon.h Unsupported file format
src/platform/nxp/common/ble/BLEManagerImpl.cpp Unsupported file format
scripts/tools/nxp/ota/README.md Unsupported file format
examples/platform/nxp/common/operational_keystore/source/OperationalKeystoreS200.cpp Unsupported file format
examples/lock-app/nxp/mcxw71/BUILD.gn Unsupported file format
examples/lock-app/nxp/k32w1/BUILD.gn Unsupported file format
examples/lighting-app/nxp/mcxw71/BUILD.gn Unsupported file format
examples/lighting-app/nxp/k32w1/BUILD.gn Unsupported file format
examples/lighting-app/nxp/k32w0/main/AppTask.cpp Unsupported file format
examples/contact-sensor-app/nxp/mcxw71/BUILD.gn Unsupported file format
examples/contact-sensor-app/nxp/k32w1/BUILD.gn Unsupported file format
examples/contact-sensor-app/nxp/k32w0/main/AppTask.cpp Unsupported file format

@doru91 doru91 added the changing-submodules-on-purpose Marker that this PR is changing submodules (and it is not a "commit all" typo/mistake) label Sep 16, 2024
@marius-alex-tache marius-alex-tache force-pushed the move-some-components-in-common branch from bb3a345 to b215269 Compare September 16, 2024 06:48
Copy link

github-actions bot commented Sep 16, 2024

PR #35594: Size comparison from ba9faf2 to cd4d106

Increases above 0.2%:

platform target config section ba9faf2 cd4d106 change % change
nxp contact k32w1+release RAM 62560 62904 344 0.5
mcxw71+release RAM 62560 62904 344 0.5
light k32w1+release RAM 48176 48512 336 0.7
mcxw71+release RAM 48176 48512 336 0.7
lock k32w1+release RAM 66716 67044 328 0.5
mcxw71+release RAM 66716 67044 328 0.5
Full report (47 builds for bl602, bl702, bl702l, cyw30739, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, tizen)
platform target config section ba9faf2 cd4d106 change % change
bl602 lighting-app bl602 FLASH 1278156 1278156 0 0.0
RAM 95832 95832 0 0.0
bl602+mfd FLASH 1292266 1292266 0 0.0
RAM 95968 95968 0 0.0
bl602+rpc FLASH 1317120 1317120 0 0.0
RAM 104256 104256 0 0.0
bl702 lighting-app bl702 FLASH 943866 943866 0 0.0
RAM 15153 15153 0 0.0
bl702+mfd FLASH 946266 946266 0 0.0
RAM 15305 15305 0 0.0
bl702+rpc FLASH 1039186 1039186 0 0.0
RAM 24173 24173 0 0.0
bl706-eth FLASH 646062 646062 0 0.0
RAM 25241 25241 0 0.0
bl706-wifi FLASH 894064 894064 0 0.0
RAM 14477 14477 0 0.0
bl702l lighting-app bl702l FLASH 960526 960526 0 0.0
RAM 16812 16812 0 0.0
bl702l+mfd FLASH 963148 963148 0 0.0
RAM 16964 16964 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 677249 677249 0 0.0
RAM 78492 78492 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 697101 697101 0 0.0
RAM 81132 81132 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 697101 697101 0 0.0
RAM 81132 81132 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 654037 654037 0 0.0
RAM 73560 73560 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613441 613441 0 0.0
RAM 71460 71460 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633077 633077 0 0.0
RAM 74004 74004 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633077 633077 0 0.0
RAM 74004 74004 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 632561 632561 0 0.0
RAM 74508 74508 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 652277 652277 0 0.0
RAM 77052 77052 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 652277 652277 0 0.0
RAM 77052 77052 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608073 608073 0 0.0
RAM 68596 68596 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 627925 627925 0 0.0
RAM 71236 71236 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 627925 627925 0 0.0
RAM 71236 71236 0 0.0
esp32 all-clusters-app c3devkit DRAM 94168 94168 0 0.0
FLASH 1539610 1539610 0 0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115112 115112 0 0.0
FLASH 1549934 1549934 0 0.0
IRAM 117039 117039 0 0.0
linux chip-tool-ipv6only arm64 unknown 20384 20384 0 0.0
FLASH 11341508 11341508 0 0.0
RAM 612376 612376 0 0.0
thermostat-no-ble arm64 unknown 9336 9336 0 0.0
FLASH 4333172 4333172 0 0.0
RAM 242400 242400 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915220 915220 0 0.0
RAM 142272 142272 0 0.0
nrf7002dk_nrf5340_cpuapp FLASH 886524 886524 0 0.0
RAM 140411 140411 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846560 846560 0 0.0
RAM 141090 141090 0 0.0
nxp contact k32w0+release FLASH 580516 580516 0 0.0
RAM 70720 70720 0 0.0
k32w1+release FLASH 593264 593328 64 0.0
RAM 62560 62904 344 0.5
mcxw71+release FLASH 593016 593080 64 0.0
RAM 62560 62904 344 0.5
light k32w0+release FLASH 616312 616312 0 0.0
RAM 70184 70184 0 0.0
k32w1+release FLASH 679512 679576 64 0.0
RAM 48176 48512 336 0.7
mcxw71+release FLASH 679528 679592 64 0.0
RAM 48176 48512 336 0.7
lock k32w1+release FLASH 701824 701888 64 0.0
RAM 66716 67044 328 0.5
mcxw71+release FLASH 701832 701896 64 0.0
RAM 66716 67044 328 0.5
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647004 1647004 0 0.0
RAM 210968 210968 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1550628 1550628 0 0.0
RAM 207680 207680 0 0.0
light cy8ckit_062s2_43012 FLASH 1466436 1466436 0 0.0
RAM 200672 200672 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462956 1462956 0 0.0
RAM 225024 225024 0 0.0
qpg lighting-app qpg6105+debug FLASH 659084 659084 0 0.0
RAM 105220 105220 0 0.0
lock-app qpg6105+debug FLASH 616976 616976 0 0.0
RAM 99688 99688 0 0.0
stm32 light STM32WB5MM-DK FLASH 480560 480560 0 0.0
RAM 144676 144676 0 0.0
tizen all-clusters-app arm unknown 4852 4852 0 0.0
FLASH 1724820 1724820 0 0.0
RAM 89608 89608 0 0.0
chip-tool-ubsan arm unknown 10284 10284 0 0.0
FLASH 17532010 17532010 0 0.0
RAM 7609740 7609740 0 0.0

k32w0_sdk_root set was moved to nxp_matter_support submodule

Signed-off-by: Marius Tache <[email protected]>
Copy link

github-actions bot commented Sep 16, 2024

PR #35594: Size comparison from ba9faf2 to 96a88c2

Increases above 0.2%:

platform target config section ba9faf2 96a88c2 change % change
nxp contact k32w1+release RAM 62560 62904 344 0.5
mcxw71+release RAM 62560 62904 344 0.5
light k32w1+release RAM 48176 48512 336 0.7
mcxw71+release RAM 48176 48512 336 0.7
lock k32w1+release RAM 66716 67044 328 0.5
mcxw71+release RAM 66716 67044 328 0.5
Full report (82 builds for bl602, bl702, bl702l, cyw30739, efr32, esp32, linux, nrfconnect, nxp, psoc6, qpg, stm32, telink, tizen)
platform target config section ba9faf2 96a88c2 change % change
bl602 lighting-app bl602 FLASH 1278156 1278156 0 0.0
RAM 95832 95832 0 0.0
bl602+mfd FLASH 1292266 1292266 0 0.0
RAM 95968 95968 0 0.0
bl602+rpc FLASH 1317120 1317120 0 0.0
RAM 104256 104256 0 0.0
bl702 lighting-app bl702 FLASH 943866 943866 0 0.0
RAM 15153 15153 0 0.0
bl702+mfd FLASH 946266 946266 0 0.0
RAM 15305 15305 0 0.0
bl702+rpc FLASH 1039186 1039186 0 0.0
RAM 24173 24173 0 0.0
bl706-eth FLASH 646062 646062 0 0.0
RAM 25241 25241 0 0.0
bl706-wifi FLASH 894064 894064 0 0.0
RAM 14477 14477 0 0.0
bl702l lighting-app bl702l FLASH 960526 960526 0 0.0
RAM 16812 16812 0 0.0
bl702l+mfd FLASH 963148 963148 0 0.0
RAM 16964 16964 0 0.0
cyw30739 light CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 677249 677249 0 0.0
RAM 78492 78492 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 697101 697101 0 0.0
RAM 81132 81132 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 697101 697101 0 0.0
RAM 81132 81132 0 0.0
CYW930739M2EVB-02 unknown 2040 2040 0 0.0
FLASH 654037 654037 0 0.0
RAM 73560 73560 0 0.0
light-switch CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 613441 613441 0 0.0
RAM 71460 71460 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 633077 633077 0 0.0
RAM 74004 74004 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 633077 633077 0 0.0
RAM 74004 74004 0 0.0
lock CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 632561 632561 0 0.0
RAM 74508 74508 0 0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 652277 652277 0 0.0
RAM 77052 77052 0 0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 652277 652277 0 0.0
RAM 77052 77052 0 0.0
thermostat CYW30739B2-P5-EVK-01 unknown 2040 2040 0 0.0
FLASH 608073 607985 -88 -0.0
RAM 68596 68588 -8 -0.0
CYW30739B2-P5-EVK-02 unknown 2040 2040 0 0.0
FLASH 627925 627837 -88 -0.0
RAM 71236 71228 -8 -0.0
CYW30739B2-P5-EVK-03 unknown 2040 2040 0 0.0
FLASH 627925 627837 -88 -0.0
RAM 71236 71228 -8 -0.0
efr32 lighting-app BRD4187C FLASH 932464 932464 0 0.0
RAM 135060 135060 0 0.0
lock-app BRD2605a FLASH 739956 739948 -8 -0.0
RAM 231212 231212 0 0.0
BRD4338a FLASH 740604 740596 -8 -0.0
RAM 231244 231244 0 0.0
window-app BRD4187C FLASH 1015500 1015492 -8 -0.0
RAM 127000 127000 0 0.0
esp32 all-clusters-app c3devkit DRAM 94168 94160 -8 -0.0
FLASH 1539610 1539514 -96 -0.0
IRAM 82538 82538 0 0.0
m5stack DRAM 115112 115096 -16 -0.0
FLASH 1549934 1549838 -96 -0.0
IRAM 117039 117039 0 0.0
linux air-purifier-app debug unknown 4688 4688 0 0.0
FLASH 2771107 2771107 0 0.0
RAM 128928 128928 0 0.0
all-clusters-app debug unknown 5456 5456 0 0.0
FLASH 6082634 6082602 -32 -0.0
RAM 514432 514272 -160 -0.0
all-clusters-minimal-app debug unknown 5352 5352 0 0.0
FLASH 5406690 5406690 0 0.0
RAM 240784 240624 -160 -0.1
bridge-app debug unknown 5336 5336 0 0.0
FLASH 4740170 4740170 0 0.0
RAM 217824 217824 0 0.0
chip-tool debug unknown 5888 5888 0 0.0
FLASH 12676228 12676228 0 0.0
RAM 562250 562250 0 0.0
chip-tool-ipv6only arm64 unknown 20384 20384 0 0.0
FLASH 11341508 11341508 0 0.0
RAM 612376 612376 0 0.0
fabric-admin debug unknown 5720 5720 0 0.0
FLASH 10978783 10978783 0 0.0
RAM 561306 561306 0 0.0
fabric-bridge-app debug unknown 4568 4568 0 0.0
FLASH 4562906 4562906 0 0.0
RAM 204440 204440 0 0.0
lighting-app debug+rpc+ui unknown 5984 5984 0 0.0
FLASH 5676481 5676481 0 0.0
RAM 228112 228112 0 0.0
lock-app debug unknown 5272 5272 0 0.0
FLASH 4789448 4789448 0 0.0
RAM 203912 203912 0 0.0
ota-provider-app debug unknown 4648 4648 0 0.0
FLASH 4422638 4422638 0 0.0
RAM 197616 197616 0 0.0
ota-requestor-app debug unknown 4584 4584 0 0.0
FLASH 4561382 4561382 0 0.0
RAM 202184 202184 0 0.0
shell debug unknown 4216 4216 0 0.0
FLASH 3107805 3107773 -32 -0.0
RAM 159624 159432 -192 -0.1
thermostat-no-ble arm64 unknown 9336 9336 0 0.0
FLASH 4333172 4333164 -8 -0.0
RAM 242400 242256 -144 -0.1
tv-app debug unknown 5552 5552 0 0.0
FLASH 6022133 6022133 0 0.0
RAM 587104 587104 0 0.0
tv-casting-app debug unknown 5208 5208 0 0.0
FLASH 10883805 10883805 0 0.0
RAM 650224 650224 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 FLASH 915220 915124 -96 -0.0
RAM 142272 142259 -13 -0.0
nrf7002dk_nrf5340_cpuapp FLASH 886524 886428 -96 -0.0
RAM 140411 140398 -13 -0.0
all-clusters-minimal-app nrf52840dk_nrf52840 FLASH 846560 846468 -92 -0.0
RAM 141090 141077 -13 -0.0
nxp contact k32w0+release FLASH 580516 580516 0 0.0
RAM 70720 70720 0 0.0
k32w1+release FLASH 593264 593328 64 0.0
RAM 62560 62904 344 0.5
mcxw71+release FLASH 593016 593080 64 0.0
RAM 62560 62904 344 0.5
light k32w0+release FLASH 616312 616312 0 0.0
RAM 70184 70184 0 0.0
k32w1+release FLASH 679512 679576 64 0.0
RAM 48176 48512 336 0.7
mcxw71+release FLASH 679528 679592 64 0.0
RAM 48176 48512 336 0.7
lock k32w1+release FLASH 701824 701888 64 0.0
RAM 66716 67044 328 0.5
mcxw71+release FLASH 701832 701896 64 0.0
RAM 66716 67044 328 0.5
psoc6 all-clusters cy8ckit_062s2_43012 FLASH 1647004 1646908 -96 -0.0
RAM 210968 210960 -8 -0.0
all-clusters-minimal cy8ckit_062s2_43012 FLASH 1550628 1550532 -96 -0.0
RAM 207680 207672 -8 -0.0
light cy8ckit_062s2_43012 FLASH 1466436 1466436 0 0.0
RAM 200672 200672 0 0.0
lock cy8ckit_062s2_43012 FLASH 1462956 1462956 0 0.0
RAM 225024 225024 0 0.0
qpg lighting-app qpg6105+debug FLASH 659084 659084 0 0.0
RAM 105220 105220 0 0.0
lock-app qpg6105+debug FLASH 616976 616976 0 0.0
RAM 99688 99688 0 0.0
stm32 light STM32WB5MM-DK FLASH 480560 480560 0 0.0
RAM 144676 144676 0 0.0
telink air-quality-sensor-app tlsr9528a_retention FLASH 621704 621704 0 0.0
RAM 50964 50964 0 0.0
all-clusters-app tlsr9118bdk40d FLASH 688206 688206 0 0.0
RAM 148400 148388 -12 -0.0
all-clusters-minimal-app tlsr9528a FLASH 779888 779888 0 0.0
RAM 110768 110756 -12 -0.0
bridge-app tlsr9258a FLASH 680724 680724 0 0.0
RAM 91620 91620 0 0.0
contact-sensor-app tlsr9528a_retention FLASH 621468 621468 0 0.0
RAM 50916 50916 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a FLASH 707400 707400 0 0.0
RAM 74256 74256 0 0.0
lighting-app-ota-factory-data tlsr9118bdk40d FLASH 624622 624622 0 0.0
RAM 144292 144292 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d FLASH 810030 810030 0 0.0
RAM 99424 99424 0 0.0
lock-app-dfu tlsr9528a FLASH 655220 655220 0 0.0
RAM 66976 66976 0 0.0
ota-requestor-app tlsr9258a FLASH 696700 696700 0 0.0
RAM 91212 91212 0 0.0
pump-app-usb tlsr9518adk80d FLASH 633056 633056 0 0.0
RAM 55792 55792 0 0.0
pump-controller-app tlsr9518adk80d FLASH 610246 610246 0 0.0
RAM 53036 53036 0 0.0
shell tlsr9518adk80d FLASH 467176 467176 0 0.0
RAM 68668 68668 0 0.0
smoke_co_alarm-app tlsr9528a_retention FLASH 628246 628246 0 0.0
RAM 52636 52636 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d FLASH 652382 652382 0 0.0
RAM 56584 56584 0 0.0
thermostat tlsr9518adk80d FLASH 636976 636976 0 0.0
RAM 53440 53428 -12 -0.0
window-covering tlsr9118bdk40d FLASH 523152 523152 0 0.0
RAM 97268 97268 0 0.0
tizen all-clusters-app arm unknown 4852 4852 0 0.0
FLASH 1724820 1724808 -12 -0.0
RAM 89608 89516 -92 -0.1
chip-tool-ubsan arm unknown 10284 10284 0 0.0
FLASH 17532010 17532010 0 0.0
RAM 7609740 7609740 0 0.0

@andy31415 andy31415 merged commit 89c8d33 into project-chip:master Sep 17, 2024
71 checks passed
@marius-alex-tache marius-alex-tache deleted the move-some-components-in-common branch October 1, 2024 14:06
dinabenamar pushed a commit to NXP/matter that referenced this pull request Oct 24, 2024
* [nxp][platform][common] Rename S200 crypto PAL and move it to common

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][examples][common] Make S200 Operational Keystore common

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][platform][common] Make k32w1 BLEManager implementation common

This can be reused by other platforms as long as they are using
the same SDK.

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][platform][common] Move OTA related files to a common folder

OTAFirmwareProcessor and OTAHooks could be reused by other platforms
as long as the SDK is the same, so moving them from k32w1 folder.

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][platform][common] Move Factory Data provider into a common folder

Some components were implemented for k32w1, but can be reused as long as the
used SDK is the same. Moving them to factory_data/legacy until synchronizing
with the other factory data implementation.

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][platform][k32w0] Update files after moving some components

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][mcxw71_k32w1] Update build system after moving some components

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][examples][k32w0] Update build system after moving some components

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][scripts][common] Update list of supported devices for multi-image OTA

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp] Bump nxp_matter_support

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][mcxw71_k32w1][lock-app] Update build system after moving some components

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][mcxw71_k32w1] Fix factory data compilation issue

Signed-off-by: Doru Gucea <[email protected]>

* Restyled by gn

* [nxp][ota] Fix spelling of platforms

Signed-off-by: marius-alex-tache <[email protected]>

* Restyled by gn

* [nxp][platform][k32w0] Move setting of k32w0_sdk_root

k32w0_sdk_root set was moved to nxp_matter_support submodule

Signed-off-by: Marius Tache <[email protected]>

---------

Signed-off-by: marius-alex-tache <[email protected]>
Signed-off-by: Doru Gucea <[email protected]>
Signed-off-by: Marius Tache <[email protected]>
Co-authored-by: Doru Gucea <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
(cherry picked from commit 89c8d33)
dinabenamar pushed a commit to NXP/matter that referenced this pull request Oct 24, 2024
yyzhong-g pushed a commit to yyzhong-g/connectedhomeip that referenced this pull request Dec 12, 2024
* [nxp][platform][common] Rename S200 crypto PAL and move it to common

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][examples][common] Make S200 Operational Keystore common

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][platform][common] Make k32w1 BLEManager implementation common

This can be reused by other platforms as long as they are using
the same SDK.

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][platform][common] Move OTA related files to a common folder

OTAFirmwareProcessor and OTAHooks could be reused by other platforms
as long as the SDK is the same, so moving them from k32w1 folder.

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][platform][common] Move Factory Data provider into a common folder

Some components were implemented for k32w1, but can be reused as long as the
used SDK is the same. Moving them to factory_data/legacy until synchronizing
with the other factory data implementation.

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][platform][k32w0] Update files after moving some components

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][mcxw71_k32w1] Update build system after moving some components

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][examples][k32w0] Update build system after moving some components

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][scripts][common] Update list of supported devices for multi-image OTA

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp] Bump nxp_matter_support

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][mcxw71_k32w1][lock-app] Update build system after moving some components

Signed-off-by: marius-alex-tache <[email protected]>

* [nxp][mcxw71_k32w1] Fix factory data compilation issue

Signed-off-by: Doru Gucea <[email protected]>

* Restyled by gn

* [nxp][ota] Fix spelling of platforms

Signed-off-by: marius-alex-tache <[email protected]>

* Restyled by gn

* [nxp][platform][k32w0] Move setting of k32w0_sdk_root

k32w0_sdk_root set was moved to nxp_matter_support submodule

Signed-off-by: Marius Tache <[email protected]>

---------

Signed-off-by: marius-alex-tache <[email protected]>
Signed-off-by: Doru Gucea <[email protected]>
Signed-off-by: Marius Tache <[email protected]>
Co-authored-by: Doru Gucea <[email protected]>
Co-authored-by: Restyled.io <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changing-submodules-on-purpose Marker that this PR is changing submodules (and it is not a "commit all" typo/mistake) examples platform review - approved scripts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants