Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: CC-RL Internal Error

$
0
0
Hi, I have problem with migrating project from Microchip PIC to renesas RL78G13 with e2 studio v5 and CC-RL 1.2.0. This is my first project with renesas so I am trying to figure out everything. I can´t post my code, but I will try to describe symptoms. I am using YRPBRL78G13 development board connected to custom parts ( Display, buttons, LEDs,...). I have working code for SPI, RTC, Timers, display graphics, buttons logic. Until here the code builds OK. To move on I added to my main() code for displaying diferent menus depending on user button press. For this I am using switch statement with fall through on some cases like this: switch( MenuLevel ){ case 0: DoSomething(); // fall to next case case 1: DisplaySomething(); break; case 2: ... break; default: break; } and here comes my problem. The compiller throws this error: 12:38:58 **** Incremental Build of configuration HardwareDebug for project RL78G13 **** make -j4 all 'Scanning and building file: ../src/main.c' 'Invoking: Scanner and Compiler' ccrl  -MM -MP -o "src/main.d" -MT="src/main.obj" -MT="src/main.d"  -cpu=S2 -dev="C:/Renesas/e2_studio/DebugComp/RL78\Common\DR5F100LE.DVF" -I "C:\PROGRA~1\Renesas\RL78\1_2_0/inc" -g   "../src/main.c" W0511179:The evaluation version is valid for the remaining 43 days. ccrl -o "src/main.obj" -cpu=S2 -c -dev="C:/Renesas/e2_studio/DebugComp/RL78\Common\DR5F100LE.DVF" -I "C:\PROGRA~1\Renesas\RL78\1_2_0/inc" -g   "../src/main.c" W0511179:The evaluation version is valid for the remaining 43 days. C0530005:Internal Error. src/subdir.mk:46: recipe for target 'src/main.obj' failed make: *** [src/main.obj] Error 5 12:38:59 Build Failed. 3 errors, 2 warnings. (took 1s.201ms) if I remove the switch statement and do same work with if - else, the code builds fine. But this is not a solution. Any one know what can be an issue? Thank you for any help.

Viewing all articles
Browse latest Browse all 59170

Trending Articles