Hi All,

 

I’m using the latest TF-M, embedTLS, and CMSIS 5 code (repo HEAD).  I renamed embedtls to embed-crypto.  I ran “cmake ../ -G"Unix Makefiles" -DTARGET_PLATFORM=AN521 -DCOMPILER=GNUARM” which seemed to execute fine, but I’m getting an error on the next step.  Does anyone know the solution?

 

mnt/c/Gits/trusted-firmware-m/cmake_build$ cmake --build ./ -- install                                               

[  0%] Built target tfm_s_pp_image_macros_to_preprocess_s_1                                                                            

[  0%] Built target tfm_s_pp_tfm_common_s_1                                                                                          

 [  0%] Building C object secure_fw/CMakeFiles/tfm_s_obj_lib.dir/spm/spm_func.o                                                        

/tmp/ccpVCp1C.s: Assembler messages:                                                                                                 

 /tmp/ccpVCp1C.s:47: Error: syntax error -- `msr psplim,r3'                                                                            

secure_fw/CMakeFiles/tfm_s_obj_lib.dir/build.make:86: recipe for target 'secure_fw/CMakeFiles/tfm_s_obj_lib.dir/spm/spm_func.o' failed

make[2]: *** [secure_fw/CMakeFiles/tfm_s_obj_lib.dir/spm/spm_func.o] Error 1                                                          

CMakeFiles/Makefile2:189: recipe for target 'secure_fw/CMakeFiles/tfm_s_obj_lib.dir/all' failed                                      

make[1]: *** [secure_fw/CMakeFiles/tfm_s_obj_lib.dir/all] Error 2                                                                     

Makefile:129: recipe for target 'all' failed                                                                                           

make: *** [all] Error 2                       

 

Regards,

 

Brian Quach

SimpleLink MCU

Texas Instruments Inc.

12500 TI Blvd, MS F-4000

Dallas, TX 75243

214-479-4076