I am hoping to build two application images (with same application) with the headfless build option
Application2 Start Address 0xFFE90000 Application2 Exception Vector 0xFFF27F70 Application2 Reset Vector 0xFFF27FEC
Application1 Start Address 0xFFF28000 Application1 Exception Vector 0xFFFBFF70 Application1 Reset Vector 0xFFFBFFEC
Currently I am able to build by manually editing the linker options in E2Studio project options but wish to automate the build process using the headless build option.
Is it possible to feed the section address to headless build option?
Thanks so much
To be more clear I wish supply custom address to -start option for each build in a head less build but do not know how
Also how do I supply the -crc option with apporipriate formatting to the converter in a headless build ? to build a motorola file with an embedded CRC
I would think this could be achieved by created different build configurations and selecting the desired option.
Another option would be to hand edit the Makefile created by Eclipse and invoke the make to do the build with the desired options.
Hello,
Please check the link below on how to use e2studio with eclipse/CDT feature:
https://en-support.renesas.com/knowledgeBase/16979374
You will need something like the command below:
e2studioc.exe -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "c:\wksp" -import "c:\wksp\MyProj" -build
and implement it twice for the two different build configurations from two different projects ( two projects for the two applications)
About motorola format, something like the below maybe matches with your case:
objcopy -O srec <input_file>.abs <output_file>.srec
Input_file.abs will be the generated file after the build command.
Another option and more general with more capabilities would be to create a makefile as mentioned from Jimb that will specify how to compile and link your project using CC-RX toolchain
Regards,
AL_Renesas
Yes i invoke the e2studioc as you mentioned in your reply above but i was hoping to know if there is a way to input the -start option by itself just like what we do for -data or -import.
It appears -start and -crc option goes into build configuration only and cannot be used as a stand alone options wile invoking e2studioc applicaton. is that correct?
Yes,
The -start and -crc options can be edited on the makefile during build configuration.