> On Thu, 26 Mar 2009 23:30:49 Bogdan Marinescu wrote:
>> On Thu, Mar 26, 2009 at 12:28 PM, mpthompson
>> <
[hidden email]<mailto:
[hidden email]>> wrote:
>>> I'm starting to work with the Periodic Interval Timer on the
>>> AT91SAM7S and
>>> I believe I need to have the interrupt handlers be compiled as
>>> 32bit Arm
>>> instructions rather than 16bit Thumb instructions. I'm not
>>> familiar with
>>> scons, but is there an easy way that I can pass custom options to
>>> specific
>>> C files to control whether the -mthumb option is passed? Or, is
>>> the
>>> 'irqHandler' in the board_cstartup.s capable of calling the
>>> interrupt
>>> handler as thumb code? As best I can tell this is not the case
>>> and any C
>>> code called from the 'irqHandler' must be 32 bit Arm code.
>>
>> This questin haunted me for quite a while now, and the answer seems
>> to be
>> no, there's no easy way to do this in scons.
>
> Under these circumstances I'd be questioning whether scons is the
> right tool
> for the job. Tools are not there to make life difficult, and if one
> doesn't
> work, it is time to find another. IMHO
>
> Arnim.
> _______________________________________________
> Elua-dev mailing list
>
[hidden email]
>
https://lists.berlios.de/mailman/listinfo/elua-dev