ThreadX Modules with TrustZone using STM32CubeIDE
Hello Community,
I have been attempting to use the STM32CubeIDE to combine two examples:
- https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/NUCLEO-U545RE-Q/Applications/ThreadX/Tx_MPU
- https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/NUCLEO-U545RE-Q/Applications/ThreadX/Tx_SecureLEDToggle_TrustZone
Wherein I want to have a ThreadX module within the TrustZone.
I have been able to get both examples individually building, flashing, and debugging on my board. However any attempts to add modules/manager to the Trustzone example, and conversely Trustzone to the Module example have been entirely unsuccessful - due to my experience with the tool I am unable to add the middlewares.
Is there any example out there doing what I want?
Or if not, does anyone have any instructions on how to combine these two projects.
My assumption is that the solution will have three subprojects with three distinct linker files, with relevant partitioning of memory:
- Secure (Startup)
- Non secure (ThreadX Main and Manager)
- Secure (Module)
Thanks in advance.
