Skip to content

Import TF-M OS wrapper dependencies to Mbed OS #93

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

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

LDong-Arm
Copy link
Contributor

@LDong-Arm LDong-Arm commented Mar 8, 2021

The following PRs are related, we should coordinate to get them in roughly at the same time:
ARMmbed/trusted-firmware-m#16
ARMmbed/tf-m-tests#3
#93
ARMmbed/mbed-os#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

  • 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

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 commit
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants