guide me to write linker directive file for RL78/F14 controller using Cubesuite++,
hi kirin thanks for your reply,
can please share any sample files?
thanks & regards,
channakeshava K S
hi kirin,
thanks your reply,
directive file:
;MEMORY
MEMORY ROM : ( 00000000H, 00010000H ) / REGULAR
MEMORY RAM : ( 000faf00H, 00005000H ) / REGULAR
;SEGMENT
MERGE code_sec : = ROM / REGULAR
MERGE data_sec : = RAM / REGULAR
pragma i have defined like:
#pragma section @@CODE @code_sec AT 00000000H
#pragma section @@DATA @data_sec AT 000faf00H
this is the error i am getting please help on this.
E3210 RA78K0R error E3210: Segment 'code_sec' is not exist - ignored
E3210 RA78K0R error E3210: Segment 'data_sec' is not exist - ignored
regards,
Channakeshava K S
Hello channa,
Oh! Declared section name and used section name are different.
Try to delet "@" as below. #pragma section @@CODE code_sec AT 00000000H #pragma section @@DATA data_sec AT 000faf00H