Custom Driver on Zynq
Joel Sherrill
joel at rtems.org
Mon Aug 19 17:58:02 UTC 2019
On Mon, Aug 19, 2019 at 9:45 AM Andy James <A.James at sstl.co.uk> wrote:
>
> I’m attempting to add a custom driver to RTEMS for a simple GPIO peripheral, for a Zynq BSP. I have added my gpio.c file to Makefile.am and the include files
>
> To headers.am, and also ran ./bootstrap –H ; however when I run ‘make all’ these files do not get compiled, and there are no error messages.
>
> Have I missed something? I’m using RTEMS 5
You likely need to run bootstrap from the directory with a
configure.ac nearest heading up the tree from the Makefile.am you
edited. I am guessing the Makefile.in didn't get added.
Also if you don't configure with --enable-maintainer-mode, then the
dependencies on Makefile.am->Makefile.in and other build
infrastructure don't get tracked.
One last hint. RSB/source-builder/sb-bootstrap will parallelize the
bootstrapping of individual directories. It is much faster when
bootstrap'ing from the top.
--joel
>
>
>
>
>
> ________________________________
> The information contained in this message is intended for the addressee only and may contain sensitive information. If you are not the addressee, please delete this message and notify the sender; you should not copy or distribute this message or disclose its contents to anyone. Any views or opinions expressed in this message are those of the individual(s) and not necessarily of the organisation. No reliance may be placed on this message without written confirmation from an authorised representative of its contents. No guarantee is implied that this message or any attachment is virus free or has not been intercepted and amended.
> ________________________________
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
More information about the users
mailing list