Re: Mixed arm and thumb code

Posted by mpthompson on
URL: http://elua-development.15.s1.nabble.com/Mixed-arm-and-thumb-code-tp2537643p2539639.html

Bogdan Marinescu wrote:
 > 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. I'm sure there's a
 > harder way :), but I just don't know how to do it. Check out
 > src/platform/at91sam7x/platform.c though, you'll find that your
 > interrupts can work just fine in Thumb mode, provided that you write
 > them properly (platform.c already has examples of timer interrupt and
 > UART RX interrupt).

Ah, thanks for the tip.  I didn't think of checking the SVN trunk files
for examples of interrupts with the AT91SAM7.  With that information I
was able to get the Periodic Interval Timer to function properly.

I've been working on getting Jesus work with the FatFS working under the
AT91SAM7 and the mmc.c file needs timer functionality to process
timeouts.  I've got the code compiling, but not functioning :-(.

I'm going to need to figure out some way of running GDB.

Mike


_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev