Avoid Smart Configurator "generate code" to overwrite custom code

Hi everybody,

i use Smart Configurator to setup an RX140 project. So far so good...

I know that if I write custom code inside specific comments

/* Start user code for r_Config_**** . Do not edit comment generated here */
/* End user code. Do not edit comment generated here */

the code is retained in case of code generation or fresh build is performed.

However, I need to customize the "r_config_SCI5_receive_interrupt" which doesn't have the above comments line. Thus, everytime I re-compile (after a "clean project"), my custom code is overwritten by the code generator. I attempted to add the above comments and insert my code but it is deleted.

How to avoid it?

Thanks and regards