On Tue, May 2, 2017 at 6:39 PM, bianchi <[email protected]> wrote: > Hello everyone, > > I have question regarding compiling overlay for cape, > > I got the example from : > https://github.com/beagleboard/bb.org-overlays/tree/master/src/arm > > Some information that I can collect, > I tried to compile with on these lines : > #include <dt-bindings/board/am335x-bbw-bbb-base.h> > #include <dt-bindings/gpio/gpio.h> > #include <dt-bindings/pinctrl/am33xx.h> > > > > debian@beaglebone:~/test$ dtc --version > Version: DTC 1.4.4 > debian@beaglebone:~/test$ uname -a > Linux beaglebone 4.4.54-ti-r93 #1 SMP Fri Mar 17 13:08:22 UTC 2017 armv7l > GNU/Linux > > > > > the error : > dtc EBB-GPIO-Example.dts -O dtb -o EBB-GPIO-Example-00A0.dtbo > Error: EBB-GPIO-Example.dts:17.1-9 syntax error > FATAL ERROR: Unable to parse input tree > > > > Does anyone know how to fix it ? or experience the same thing ? > Thanks
Dont call "dtc" directly.. you have "#include"'s dtc doesn't know how to deal with that.. run: make arm/EBB-GPIO-Example.dtbo so the gcc preprocessor which is defined in the makefile runs.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYi9bQobjtCqRX8h2u134BFq%3DWQQP8tkgLe_xc9hLKVQ5Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
