[PATCH] Updated Legacy code in arm csb336
Joel Sherrill
joel.sherrill at OARcorp.com
Tue Jul 9 15:00:38 UTC 2013
On 7/9/2013 9:50 AM, Sebastian Huber wrote:
> On 07/09/2013 02:21 PM, Vipul Nayyar wrote:
>> Seems like a valid point to me, that you got there.
>>
>> Sebastian, What do you suggest ? Simply remove the 1 from '#define
>> USE_INTERRUPTS 1' or change #if defined() to simply #if ?
> I suggest to use one of the two methods suggested by Peter. The #if one seems
> to be more bullet proof, but I think in the RTEMS sources the #ifdef ones are
> prevailing.
>
I think we need to be heading to the #if style.
As I mentioned, Chris and I recently discussed some cases where we
think BSPs may not be testing bspopts.h (e.g. configure.ac) constants
correctly.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill 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 devel
mailing list