Hi.
I'm facing an issue following this guide (https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/software/posts/using-a-custom-secure-partition-manager-wtih-your-application?CommentSortBy=CreatedDate&CommentSortOrder=Descending), as I've found out I cannot pass arguments to the secure function when I got this error while building: 'cmse_nonsecure_entry' attribute not available to functions with arguments passed on the stack.
Is there any way to use variables located in the non-secure side of the application in the secure side? I couldn't find any guide or method to do it.
Thanks.
EDIT: I don't know what I changed exactly, but now it seems I'm able to pass arguments to the function, as well as return values. I got a new problem when using spm_request_random_number function in the main.c file of the spm module, saying it's undefined (undefined reference to `spm_request_random_number').
Any idea to solve it?
Thanks.