Devicetree Peripherals

Hello,

I declared a devicetree for a custom board. I have declared a UART port. But when defining the pin and port number I get an error message that the syntax is wrong. The Devicetree is based on nrf52832.
With I2C and SPI I have the same problem.

Parents Reply
  • address-cells and size-cells are look to be in

    nrf52832.dtsi

    which is included in the nrf52832_qfaa.dtsi

    I'm guessing there are still pathing issues with your environment being able to see #include <nordic/nrf52832_qfaa.dtsi> in your custom .dts file? (i.e. that error still remains)?

    (Hence why I queried if nrf52832_qfaa.dtsi and nrf52832.dtsi were in your local drive  C:\ncs\v2.4.0\zephyr\dts\arm\nordic, and if that ncs/vMajor.Minor.Patch was your selected sdk in the project settings earlier)

    [for reference, piggybacking off your other thread here :  Build own custom board on nrf Connect SDK(Devicetree) as well as replies here, I made a custom board called exampleboard, made the dtsi, dts, etc. mostly for addition of uart and usb to get the helloworld working, and was able to flash and see the output, so just trying to figure out what was different between our environments other than the fact I only have a nrf52840DK available so that's the target soc for me.) 

Children
No Data
Related