Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OIS] Platform and examples implementation (#23382)
* [OIS] Open IoT SDK build system integration Add Open IoT SDK build system configuration directory. Create GN project to build CHIP library for Open IoT SDK port. Implement CMake file to build and expose CHIP library. Create python script to build GN arguments file. Provide mbedtls and LwIP default configuration. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK platform layer implementation Add platform layer adaptation files Open IoT SKD platform layer GN build integration Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK system layer adaptation Add cmsis-rtos locking option. Implement cmsis-rtos system mutex. Open IoT SDK system layer GN build integration. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Add Open IoT SDK platform to common GN build settings Propagate Open IoT SDK platform settings in build system of Matter components. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK streamer implementation Add Open IoT SDK shell streamer based on SDK retarget. Use default shell main loop. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK examples common Add Open IoT SDK example platform target that contains source code shared between examples. Create common Cmake settings - sdk, chip and linker common cmake files. Create custome Corstone 300 GCC linker scripts. Create Corstone 300 FVP configuraiton file. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK shell example Implement Open IoT SDK shell example. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK lock-app example Implement Open IoT SDK lock-app example. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Open IoT SDK examples helper tools Add Open IoT SDK example script which allows build and run supported examples. Implement OpenIotSdkBuilder Python class with generating and building examples support. Add Open IoT SDK targets to Python builder. Add Open IoT SDK memory configuration to memory script tool. Add Open IoT SDK VSCode tasks integration - build, run and debug OIS examples tasks. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Add Open IoT SDK examples workflow Github workflow to validate Open IoT SDK examples Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Add integration tests for Open IoT SDK examples Add network setup script to enable/disable the TAP/TUN network environment. Create TAP/TUN device and bridge interface to connect it with the ethernet network interface. Create Pytest implementation of Open IoT SDK examples integration tests. Implement lock-app and shell examples tests cases. Add test command to Open IoT SDK example script. Add integrations tests to CI workflow. Add Open IoT SDK examples testing to Vscode tasks. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Add Open IoT SDK platform documentation Create Open IoT SDK platform overview, commissioning approach description and common examples guide. Add README files to shell and lock-app examples. Signed-off-by: ATmobica <artur.tynecki@arm.com> * [OIS] Add Open IoT SDK unit-tests Adaptation changes: Exclude LwIP initialization for Open IoT SDK platform in unit tests implementation. Skip read/write chunking tests in controller component. Skip CommissionerDUTVectors test in credentials component. Skip ControllerTests - #23747 issue Skip CHIP stack initialization in FailSafeContext test. Add Open IoT SDK platform unit-tests application in src/test_driver/openiotsdk/unit-tests directory. Add unit tests to Open IoT SDK example script, CI workflow and VScode tasks. Add unit-tests application documentation. Signed-off-by: ATmobica <artur.tynecki@arm.com> Signed-off-by: ATmobica <artur.tynecki@arm.com>
- Loading branch information