2016-04-27 12:34 AM
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' #spc5studio2016-04-27 09:03 AM
2016-04-27 09:10 AM
Hello Erwan,
Regarding possible fixes for 4.1.1, I have another minor suggestion:Can you include components.c and components.h in the patch system?We had to rename the clockInit function due to a naming collision and currently have to change the code there manually after each regeneration.Best regards,Sebastian2016-05-02 07:30 AM