I am trying to interface a 16x2 lcd on RL78 F12, I want to use simple delay function, for that I am using the interval timer provided.
When i compile the project I get the following error
(E) E3403 RA78K0R error E3403: Symbol '_R_IT_Start' unmatched type in file 'DefaultBuild\r_cg_it.rel'. First defined in file 'DefaultBuild\r_cg_port_user.rel' lcd.mtpj(E) E3403 RA78K0R error E3403: Symbol '_R_IT_Stop' unmatched type in file 'DefaultBuild\r_cg_it.rel'. First defined in file 'DefaultBuild\r_cg_port_user.rel' lcd.mtpj(E) E3405 RA78K0R error E3405: Undefined symbol '_t_delay_us' in file 'DefaultBuild\r_cg_port_user.rel' lcd.mtpj
Although these functions are generated through code generator, I dont know why _R_IT_Start is having conflict with the internal files generated by the compiler, please help, I am using CA78K0R compiler
It looks like R_IT_Start and R_IT_Stop have been defined twice. Why are they defined in r_cg_port_user.c?
In reply to FrankL:
If you are still seeing this problem, I'd suggest creating a new project from scratch using the Code Generators. Make sure it compiles, and then add your source files back in. Check for errors as you go to see where the problem lies.
In reply to Calvin Grier:
hi thanks for the reply, now I am seeing following error
1. (E) E3404 RA78K0R error E3404: Multiple symbol definition '_My_main' in file 'DefaultBuild\user_lcd.rel'. First defined in file 'DefaultBuild\r_main.rel' lcd.mtpj
use R_IT_Start(); in place of _R_IT_Start();
and if you are using interval timer mode from TAU unit then use corresponding function from the r_cg_timer.c file not that you are using.
In reply to aksh:
If possible please post your project.