How to know if I'm compiling with the ERC32 or SIS BSP?

Fabrício de Novaes Kucinskis fabricio at dea.inpe.br
Sat Mar 27 16:29:06 UTC 2010


Is it possible for my RTEMS application to know at compile-time if it is
running on an ERC32 or SIS BSP? 

 

I remember seeing something like this some time ago but just can't find it
now.

 

I'd like to do something like this:

 

#if (BSP_IS_ERC32)

    ERC32_MEC.Wait_State_Configuration |= 0x000f0000;

#endif

 

Thanks in advance,

 

Fabrício.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20100327/599221c9/attachment.html>


More information about the users mailing list