This patch causing compiling error on PSoC64 platform
254ee97369 Core: Move PSA API to SPRTL
Based on code
cba9078290 (HEAD, origin/master, origin/HEAD) Core: Suppress NS jumping message
With compiler (GNUARM)
arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 8-2019-q3-update) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
On Regression IPC Level 2 configuration
Command example:
$ cmake ../ -G"Unix Makefiles" -DPROJ_CONFIG=`readlink -f ../configs/ConfigRegressionIPCTfmLevel2.cmake` -DTARGET_PLATFORM=psoc64 -DCOMPILER=GNUARM -DBL2=False -DCMAKE_BUILD_TYPE=Release $ cmake --build . -- -j
Error:
[ 0%] Building C object secure_fw/lib/sprt/CMakeFiles/libtfmsprt.dir/__/__/__/interface/src/psa/psa_client.o /tmp/cc1kP379.s: Assembler messages: /tmp/cc1kP379.s:28: Error: SVC is not permitted on this architecture /tmp/cc1kP379.s:50: Error: SVC is not permitted on this architecture /tmp/cc1kP379.s:72: Error: SVC is not permitted on this architecture /tmp/cc1kP379.s:94: Error: SVC is not permitted on this architecture /tmp/cc1kP379.s:141: Error: SVC is not permitted on this architecture secure_fw/lib/sprt/CMakeFiles/libtfmsprt.dir/build.make:114: recipe for target 'secure_fw/lib/sprt/CMakeFiles/libtfmsprt.dir/__/__/__/interface/src/psa/psa_client.o' failed
Flags
C_FLAGS = -mcpu=cortex-m0plus -mcpu=cortex-m0plus -march=armv6-m ...