Building project - Eclipse
gedare at rtems.org
Thu Mar 15 12:40:43 CDT 2012
On Thu, Mar 15, 2012 at 1:28 PM, Binkowski, Cassio <cassioiks at gmail.com> wrote:
> I copied the init.c code
> from http://www.rtems.org/onlinedocs/releases/rtemsdocs-4.10.2/share/rtems/html/c_user/c_user00533.html
> I fixed the confdefs.h (I modified it putting it at the top before, my bad)
> and stdio.h.
> It still does not seem to be recognizing SELF and RTEMS_STATUS_SUCESSFUL
> Includes at the top are <stdio.h>, <bsp.h> and <rtems.h>
> Include at the bottom is only <rtems/confdefs.h>
> Any thoughts?
Yes. The doc is wrong. :)
Should be RTEMS_SELF, and RTEMS_SUCCESSFUL.
It would be a useful exercise for you to fix the doc (find it under
doc/user/ in the rtems source tree) and create a patch.
> Thank you
> rtems-users mailing list
> rtems-users at rtems.org
More information about the rtems-users