Forum : Ride IDE
Original Post
Post Information | Post |
---|---|
January 25, 2010 - 10:58am
|
Is there a simple method to generate multiple hex files from a same application with different linker scripts and #defines. currently i am able to achieve the required result by maintaining two different projects with same source code but different linker scripts. regards |
Hi MicroP1,
Yes we can!
You can use different configurations for your application:
- Right-click on your application
- Select "Properties"
- Create 2 configurations, for instance "BigROM" and "SmallROM"
- For each configuration, choose the appropriate Copiler/assembler/linker options
There you are. When building your application, just select the configuration you want, and launch a build.
Regards,
Bruno
Thank You Bruno
i did try the configuration option and it did exactly as i wanted.
and just to automate the task even more (now i am being lazy)
can i generate the hex files with two configuration automatically( i build the project and two hex with different configs are generated.)..!
regards
P1
Hi P1,
There is no such facility within Ride7.
You can write a makefile that would make the trick, but it's another game...
Bruno
Thank you Bruno.
:D