Hi,
I'm trying to use a custom linker file for my project but my project keeps updating the linker file to the script.icf from the Smart configurator. Is there a way to stop replacing the linker file in my project ?
I saw in the buildinfo.ipcf file that there's the script to update the linker file of the project, is it possible to remove this line permanently? If I removed the line, it'll be back after a build of the project...
Thank you !
Hello maschanck,
If you want to change the linker file, you should modify it through Project Linker Options, not through buildinfo.ipcf file, because this file is updated after building process, according to the project options.
Check the screenshot below, that shows where to modify the linker script file:
Hope it helps.
Regards,
AL_Renesas
That's what I'm doing at this moment but it keeps being overwrite by the script.icf...
Have you changed the script path above with your customizable script and the project is still updated from the default script?
Yeah that's what's happening right now
Can you share your project?
I can't sadly, I can still do a video of showing what's happening ? It's happening when i'm generating project content in FSP Smart Configurator
I don't need the video, I have understood the issue.
You can attach the project through private messages.
Regards
Just open any project on your side, generate project content with FSP Smart Configurator for IAR, build the project. After that change the icf file, build and it'll be ok. However if I want to make another change in FSP Smart Configurator for IAR, I need to generate project content again and the linker file will be overwrite.
Like I said earlier, I can't share project even in private messages, I'm sorry.
If you have already done the configuration above, the issue should be remained if you try to generate code from RA Configurator, not if you try to build your project from the IAR IDE.
Unfortunately, RA Smart Configurator is responsible to create the linker script file.
My suggestion is to change the linker script with yours after all the necessary modifications have been done on the RA Configurator file.
Hello,Alright then, thank you for your time