Question
SPC5Studio 4.1.0 compilation errors from generated code
Posted on April 27, 2016 at 09:34
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 -mcpuIf I replace the line in the MakefileMCU = e200z0 -meabi -msdata=none -mregnameswith the previous code from 4.0.0MCU = e200zx -meabi -msdata=none -mnew-mnemonics -mregnamesit works again.Likewise, in the file checkCompiler.h I have to add the line &sharpdefine se_bge bgeoutside of the &sharpif defined(__hightec_asm), otherwise I get this error:./components/spc560bcxx_platform_component_rla/lib/src/boot.s:163: Error: Unrecognized opcode: `se_bge' #spc5studio