Forum : ARM
Original Post
Post Information | Post |
---|---|
January 3, 2009 - 10:05pm
|
Hi, My project is globally set to build for THUMB mode but I want to set 2 individual files to build for ARM mode. But when looking at the project options for an individual file the ARM/THUMB option is not available. How do I set selected files to ARM mode? |
Hi
I am afraid it is not possible to set ARM mode only to specific files directly from Ride7 options.
Here is how you can proceed:
+ Set "No" to the global option "use thumb" in your project
+ Select in project view your application and go to "GCC compiler" options. In to the field "more" write "-mthumb".
+ Select one of the two files you want to use in ARM mode and go "GCC compiler" options and erase "-mthumb" in "more" field.
+ Do the same for the second file
This should be doing what you expect.
Matloub
Hi,
You probably also need to activate the "Enable Interwork" application option.
See the GCC doc for more information on that.
Best Regards,
Vincent