On 21.05.2010 22:53, Paul F. Sehorne wrote:
> I am more than willing to listen to suggestions for improvements or
> corrections.

are the sources open? if there is no problem with the licesnse, maybe
uploading them to a public repository would make it easier for others to
follow your efforts. there is a big number of project sites where you
can host version controlled software with SVN, BZR, HG, GIT and others.
(with the later it's also possible to host a repository on a simple
homepage with http access).

> //near line # 169
> //wrapped the following to accommodate mspgcc compiler
> #ifdef CC__MSPGCC  // CC__MSPGCC is defined in makefile
> #include<signal.h>
> interrupt (ADC12_VECTOR) ADC12ISR (void)
> #else
> #pragma vector=ADC12_VECTOR
> __interrupt void ADC12ISR (void)
> #endif


have a look at isr_compat.h which is included with mspgcc. It wraps the
interrupt definitions for all the different toolchains. That way you can
simply write ISR(<interrupt>, <routine name>) instead of the many
preprocessor lines shown above.


> Since I have not gotten past the __intrinsic functions
> situations yet, I can't actually test these changes yet, but they are
> not generating compile errors.  The only compile errors I am getting
> relate to intrinsics.h

these are nop, dint, eint and similar functions, right? most of them can
be implemented with inline assembler. see iomacros.h which provides
macros for the most common ones.

chris

Reply via email to