bsp-wide #defines

Joel Sherrill joel.sherrill at OARcorp.com
Sun Dec 29 16:29:27 UTC 2002



gregory.menke at gsfc.nasa.gov wrote:
> 
> Hi Joel,
> 
> I posted this here in case you check the list instead of your work
> email.  I'm doing fairly well on the Racerxc bsp, its
> configuring/makeing OK at this point.  I do find I need to #define a
> couple things for the bsp that apply to source under libcpu.  I was
> wondering if you prefer to put such things in bsp_specs or in the
> CFLAGS supplied by the make/custom .cfg file.

Neither :).  Ralf may comment differently but the appropriate place 
is usually in bsp.h or bspopts.h.in.  bspopts.h can be changed
via BSP specific configure options so it might be desirable for
certain types of things like default BSP initialization (e.g.
console polled vs. interrupt).

> Thanks,
> 
> Greg

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985




More information about the users mailing list