메인 콘텐츠로 건너뛰기
Knowledgebase
Home
Renesas Korea

The warning message W0561520 regarding a user option byte (CC-RL)

Last Updated:05/10/2017

Question:

I am using the CC-RL compiler for RL78 devices. When this error message appears, how can I resolve this? 

Answer:

This message appears because you have not specified a user option byte for a device of the RL78 family.
Make sure to specify a user option byte by using the -USER_OPT_BYTE option of the linker or in an assembly-language source file.
If you use a specification in an assembly source file, you need to define the on-chip debug option byte as well as a user option byte.

(Example) Specification in an assembly source file
.section .option_byte, opt_byte
.db    0xFD    ; address 0xC0
.db    0xFE    ; address 0xC1
.db    0xFF     ; address 0xC2
.db    0x04     ; address 0xC3

Suitable Products
e² studio
CS+ (formerly CubeSuite+)
C Compiler Package for RL78 Family
  • 이 기사가 도움이 되셨나요?