Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: DT overlay syntax question



Thanks a lot! :)

/include/ didn't work, but the following command did:

cpp -I /home/wrk/netbsd/src/sys/external/gpl2/dts/dist/include meson-gxbb-pwm_a.dts | dtc -@ -I dts -O dtb -o meson-gxbb-pwm_a.dtb


On 20/07/2025 14:01, Michael van Elst wrote:
vincent.defert%posteo.net@localhost (Vincent DEFERT) writes:

#include <dt-bindings/clock/gxbb-clkc.h>
That's cpp syntax (i.e. you need to pipe the file through cpp
before compiling).

dtc however also should understand something like:

/include/ "clock/gxbb-clkc.h"

when you pass the dt-bindings directory path to dtc to search
for include files.





Home | Main Index | Thread Index | Old Index