Topic : RIDE7 ARM/Thumb interworking

Forum : ARM

Original Post
Post Information Post
February 8, 2008 - 12:14pm
Guest

I have recently changed over to Ride 7 from Ride 6 and there is an inconsistency in the way ARM/Thumb interworking works. I want most of the routines to be compiled as Thumb to reduce code size, but some such as interrupt handlers must be compiled in ARM. On Ride 6 you could override the global Thumb setting on an individual file, but this does not seem possible in Ride 7. According to the manual it should be possible by selecting Interworking, but I cannot find a way to compiled a mixed Thumb/ARM build without manually adding a specific thumb and interworking GCC option to each file I want compiled as thumb. Can anyone tell me if there is a better way of doing it?