AnsweredAssumed Answered

SPC5Studio 4.1.0 compilation errors from generated code

Question asked by hilpert.sebastian on Apr 27, 2016
Latest reply on May 2, 2016 by Erwan Y
When I use SPC5Studio 4.1.0 to generate files for a project that worked with 4.0.0 and try to compile with gcc, I get the following error
scc1.exe: error: bad value (e200z0) for -mcpu
If I replace the line in the Makefile
MCU  = e200z0 -meabi -msdata=none -mregnames
with the previous code from 4.0.0
MCU  = e200zx -meabi -msdata=none -mnew-mnemonics -mregnames
it works again.


Likewise, in the file checkCompiler.h I have to add the line 
#define se_bge   bge
outside of the #if defined(__hightec_asm), otherwise I get this error:
./components/spc560bcxx_platform_component_rla/lib/src/boot.s:163: Error: Unrecognized opcode: `se_bge'

Outcomes