This code now in CVS as isr_compat.h, and seems a useful file for people like me writing code which must be portable. I should have done something about this ages ago.

Regards,
Steve


nobo...@web.de wrote:

Hi Steve,

ok. I used my version with the current rowley compiler (crossstudio)
and mspgcc without problems.
I have not tested with other compilers.

Regards,

Rolf
------------------------
true-random.com/freelancing


mspgcc-users@lists.sourceforge.net schrieb am 18.10.05 15:37:05:
Hi Rolf,

Excellent idea. However your version seems incomplete. The attached file tries to work with MSPGCC, Quadravox, IAR 1-3, Rowley, and CCE. I tried it briefly (not thoroughly) with MSPGCC, Quadravox, IAR 3.x, and CCE. It seems to work OK.

I'd like to get this tested and into CVS when it has been reviewed a little. I need to write code that is built with multiple compilers, and the ISR definitions have been annoying me for a while. Your posting prompted me to finally address the issue.

Regards,
Steve

nobo...@web.de wrote:

Hi,

i made macros for compiler-independent ISR declarations to have a C code
which can be compiled with mspgcc, IAR V1 and crossworks:

http://random.linux-site.net/files/unsorted/mspgcc/compiler.h

I think it would be a good idea to add it to mspgcc because it would force TI
to do the C examples compiler independent.
I used the current version with mspgcc and crossworks.

Regards,

Rolf


Reply via email to