-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[OIS] Add TF-M support to Matter examples #23951
Conversation
d167eef
to
3ce6998
Compare
PR #23951: Size comparison from 5cf0748 to 3ce6998 Increases (6 builds for bl602, esp32, k32w, telink)
Decreases (6 builds for bl602, psoc6, telink)
Full report (54 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
a2a9c2d
to
60ca33a
Compare
PR #23951: Size comparison from e48fe6a to 60ca33a Increases (5 builds for cc13x2_26x2, psoc6, telink)
Decreases (8 builds for bl602, bl702, cc13x2_26x2, esp32, psoc6, qpg, telink)
Full report (54 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
PR #23951: Size comparison from 4b0aefe to 2666efb Increases (3 builds for cc13x2_26x2, esp32, telink)
Decreases (11 builds for bl602, bl702, cc13x2_26x2, cyw30739, psoc6, telink)
Full report (54 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
PR #23951: Size comparison from 21f2ddc to a116640 Increases (6 builds for bl602, bl702, cc13x2_26x2, nrfconnect, telink)
Decreases (9 builds for bl602, cc13x2_26x2, nrfconnect, psoc6, telink)
Full report (47 builds for bl602, bl702, cc13x2_26x2, cyw30739, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
Remove redundant steps: - removing old artifacts to force linking - removing access to ARM GCC toolchain from Matter environment now Pigweed env contains compatible ARM GCC version. Signed-off-by: ATmobica <[email protected]>
Add storage library that implements custom Flash Block Device class. OpenIoTSDKConfig uses the getter to block device object and pass it to TDBstore. Custom flash bd is a workaround solution for issues in MDH flash driver. We need to use the non-secure SRAM memory instead of secure part. Signed-off-by: ATmobica <[email protected]>
Add SCOPE option - it allows to pass the Cmake scope keyword that defines the scope of included sources. Data model sources will not always be added to the application target directly. Adding the scope option makes it more flexible. Signed-off-by: ATmobica <[email protected]>
Move init ZCL Data Model and start server to openiotsdk-app target. Implement openiotsdk_chip_run() and openiotsdk_chip_shutdown() Add chip_add_data_model() cmake function to add specified data model to target. Apply changes in lock-app example. Signed-off-by: ATmobica <[email protected]>
This commit updates the external version of mbedtls used by the Matter integration with the IoT SDK, to the latest available. Signed-off-by: Anna Bridge <[email protected]>
Udpate Open IoT SDK version to the latest available. Refactoring the Cmake build system for passing the SDK targets to the CHIP build in a more generic way. Signed-off-by: ATmobica <[email protected]>
Extend OIS Python package requirements with imgtool. Add custom TF-M AN552 platform implementation - flash layout and memory usage adaptation for Matter examples. Build lock-app and shell examples with TF-M support. They are built as non-secure apps and merged with bootloader and secure TF-M app. Build script adaptation - set TF-M support and get app version. Launch task adaptation to TF-M examples. Signed-off-by: ATmobica <[email protected]>
Add KV store class base on PSA Protected Storage. Rename OpenIoTSDKConfig to KVBlockDeviceStore. Build system adaptation to support various storage type. Change KV manager and Configuration manager to support various storage type. Add CONFIG_CHIP_OPEN_IOT_SDK_USE_PSA_PS Cmake flag to enable PSA PS support. Initialize the KV store manager during CHIP stack setup. Signed-off-by: ATmobica <[email protected]>
@andy31415 @bzbarsky-apple Can we go forward with this PR? |
@ATmobica some CI was failing, restarted them. However I will bypass pullapprove for merging purposes as I cannot kick that one. |
* [OIS] Build scripts improvements Remove redundant steps: - removing old artifacts to force linking - removing access to ARM GCC toolchain from Matter environment now Pigweed env contains compatible ARM GCC version. Signed-off-by: ATmobica <[email protected]> * [OIS] Improve OIS platform storage Add storage library that implements custom Flash Block Device class. OpenIoTSDKConfig uses the getter to block device object and pass it to TDBstore. Custom flash bd is a workaround solution for issues in MDH flash driver. We need to use the non-secure SRAM memory instead of secure part. Signed-off-by: ATmobica <[email protected]> * [OIS] Extend chip_data_model Cmake Add SCOPE option - it allows to pass the Cmake scope keyword that defines the scope of included sources. Data model sources will not always be added to the application target directly. Adding the scope option makes it more flexible. Signed-off-by: ATmobica <[email protected]> * [OIS] Make init ZCL Data Model and start server common Move init ZCL Data Model and start server to openiotsdk-app target. Implement openiotsdk_chip_run() and openiotsdk_chip_shutdown() Add chip_add_data_model() cmake function to add specified data model to target. Apply changes in lock-app example. Signed-off-by: ATmobica <[email protected]> * [OIS] Update external version of mbedtls used by Matter This commit updates the external version of mbedtls used by the Matter integration with the IoT SDK, to the latest available. Signed-off-by: Anna Bridge <[email protected]> * [OIS] Update SDK version Udpate Open IoT SDK version to the latest available. Refactoring the Cmake build system for passing the SDK targets to the CHIP build in a more generic way. Signed-off-by: ATmobica <[email protected]> * [OIS] Add TF-M support in Matter examples Extend OIS Python package requirements with imgtool. Add custom TF-M AN552 platform implementation - flash layout and memory usage adaptation for Matter examples. Build lock-app and shell examples with TF-M support. They are built as non-secure apps and merged with bootloader and secure TF-M app. Build script adaptation - set TF-M support and get app version. Launch task adaptation to TF-M examples. Signed-off-by: ATmobica <[email protected]> * [OIS] PSA protected storage support Add KV store class base on PSA Protected Storage. Rename OpenIoTSDKConfig to KVBlockDeviceStore. Build system adaptation to support various storage type. Change KV manager and Configuration manager to support various storage type. Add CONFIG_CHIP_OPEN_IOT_SDK_USE_PSA_PS Cmake flag to enable PSA PS support. Initialize the KV store manager during CHIP stack setup. Signed-off-by: ATmobica <[email protected]> --------- Signed-off-by: ATmobica <[email protected]> Signed-off-by: Anna Bridge <[email protected]> Co-authored-by: Anna Bridge <[email protected]>
Enhancement to Open IoT SDK platform which demonstrates the usage of TF-M component in Matter examples.