STM32U5/B-U585I-IOT02A define my own secure function with TF-M
Hello,
I am using the X-AZURE-CUBE example that integrates Azure RTOS with TF-M. I would like to define a function in the secure part to be called from the non-secure part. Following the SBSFU example I created a .c file in /Secure/Src, defined the .h file in Secure_nsclib and the function in the .c file has is defined with CMSE_NS_ENTRY. When I call this function from the non-secure part the microcontroller resets.
Thanks
