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

Fabrício de Novaes Kucinskis fabricio at
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


I'd like to do something like this:


#if (BSP_IS_ERC32)

    ERC32_MEC.Wait_State_Configuration |= 0x000f0000;



Thanks in advance,



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list