SPC5Studio 4.1.0 compilation errors from generated code
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-04-27 12:34 AM
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
This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
12 REPLIES 12
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-04-27 09:03 AM
Posted on April 27, 2016 at 18:03Hello Sebastian ,Good to know ;)it is a regression , we will generate a SPC5Studio 4.1.1 to revert our version of gnutools.the new one was based on zimsis (cf http://sourceforge.net/projects/mingw.) Best regards Erwan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-04-27 09:10 AM
Posted on April 27, 2016 at 18:10
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,SebastianOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-05-02 07:30 AM
Posted on May 02, 2016 at 16:30Hello Sebastian ,the Gnu Tools issue should be corrected in Spc5studio 4.1.1for components.* , it is not possible... it is generated file from a freemarker file.you can create usercomponents.* in src directory and hook these functions in your project by your own componentInit() best regards Erwan
- « Previous
-
- 1
- 2
- Next »