Build own custom board on nrf Connect SDK(Devicetree)

Hello,

hello i have created my own devicetree (.dts) file for a self developed board(nrf52dk_nrf52832_customer) based on the nrf52 chip. So I created an folder( named: nrf52dk_nrf52832_customer)  at the following file path:

 ncs\v2.3.0\zephyr\boards\arm\nrf52dk_nrf52832_customer.

he devicetree can be found at this file path:

How can I now flash an application on the customer board. In Visual Studio Code the board does not appear (see picture), So I can not build the whole thing.

Parents Reply Children
  • Ok, now I create a board like you described earlier. But I only add the changed  dts file and dtsi file to the project(application) folder and I build the application with the nordic board nrf52832DK (from nrf Connect SDK). it works this way. But my question is: the dts and dtsi files from the nrf5832dk will be overwritten with the dts and dtsi files in the project (application folder)?

    and I also ttry to create a custom board like you described it earlier. But I dont change any file in the custom board and it also works this way

  • If you're using .dts and .dtsi for the nrf52833dk, it will use those files.

    you can use an overlay file if you want to change some stuff around, but if your board is sufficiently custom then you should be using that custom board.

Related