Previous, we patched TF-M to replace its OS wrapper with CMSIS RTOS to resolve manage management issue when integrated with Mbed OS. But as of TF-M v1.2, the OS wrapper has been reworked in the vanilla TF-M, and now it makes identical calls to its underlying CMSIS RTOS as our patches do. So, we remove our patches and use vanilla TF-M's OS wrapper instead to avoid extra maintenance overhead.
This PR
updates tfm_ns_import.yaml to imports necessary OS wrapper dependencies into Mbed OS
removes tfm/app/os_wrapper_cmsis_rtos_v2.c from this repository, as the file is now imported to Mbed OS which requires it
The following PRs are related, we should coordinate to get them in roughly at the same time: https://github.com/ARMmbed/trusted-firmware-m/pull/16 https://github.com/ARMmbed/tf-m-tests/pull/3 https://github.com/ARMmbed/mbed-os-tf-m-regression-tests/pull/93 https://github.com/ARMmbed/mbed-os/pull/14396
Previous, we patched TF-M to replace its OS wrapper with CMSIS RTOS to resolve manage management issue when integrated with Mbed OS. But as of TF-M v1.2, the OS wrapper has been reworked in the vanilla TF-M, and now it makes identical calls to its underlying CMSIS RTOS as our patches do. So, we remove our patches and use vanilla TF-M's OS wrapper instead to avoid extra maintenance overhead.
This PR
tfm_ns_import.yaml
to imports necessary OS wrapper dependencies into Mbed OStfm/app/os_wrapper_cmsis_rtos_v2.c
from this repository, as the file is now imported to Mbed OS which requires it