This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

EDIT: SOLVED. Can't build application using custom SPM

Hi.
I'm trying to build the hello world sample using the NCS following this guide, but I get this error: 


Building ‘modules/secure_module/spm_subimage-prefix/src/spm_subimage-stamp/spm_subimage-build’ from solution ‘build’ in configuration ‘Common’
Combining ‘modules/secure_module/spm_subimage-prefix/src/spm_subimage-stamp/spm_subimage-build’
cortex_m/tz.h: No such file or directory

How could I fix it?
Thanks.

EDIT: To anyone facing the same issue, I just changed #include <cortex_m/tz.h> to #include <aarch32/cortex_m/tz.h> and added CONFIG_SPM_SERVICE_RNG=y to the SPM prj.conf file, as there was another error.

Related