Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OIS] Add TF-M support to Matter examples (#23951)
* [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 <artur.tynecki@arm.com> * [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 <artur.tynecki@arm.com> * [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 <artur.tynecki@arm.com> * [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 <artur.tynecki@arm.com> * [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 <anna.bridge@arm.com> * [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 <artur.tynecki@arm.com> * [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 <artur.tynecki@arm.com> * [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 <artur.tynecki@arm.com> --------- Signed-off-by: ATmobica <artur.tynecki@arm.com> Signed-off-by: Anna Bridge <anna.bridge@arm.com> Co-authored-by: Anna Bridge <anna.bridge@arm.com>
- Loading branch information