How to fix undefined references to secure engine functions in a user application that uses SBSFU
I have an undefined reference error to several secure engine functions, for example SE_APP_GetActiveFwState
I have read this thread:
And what I think needs to be done to resolve this problem is to:
-add the function names to se_interface.txt in the SBSFU folder
-rebuild SBSFU
-add the generated se_interface_app.o as additional object file in my project settings > MCU GCC Linker > Misc
-Add other flags, in project settings > MCU GCC Linker > Misc to be the same as the userapp
After doing this however the problem still persists, and I'm having a hard time finding it. I made sure to copy all project settings from the SBSFU UserApp example, added all the includes and compared the linker scripts, now I have reached a dead end...
The contents of my se_interface.txt file is:
SE_APP_GetActiveFwInfo
SE_APP_GetActiveFwState
SE_APP_ValidateFw
