Device tree crash

I am using the peripheral_uart example. Now, our device tree seems to have crashed. Before the crash, I added the following configurations to prj.conf of the application core: CONFIG_BT_MAX_PAIRED=4 CONFIG_BT_MAX_CONN=4 The device tree crashed during compilation, and even if I comment out these configurations afterward, it doesn't help. The pins for spi2, spi3, i2c1, uart0, and qspi can no longer be found. If I try to set their pins, the automatically generated app.overlay code will have errors with red warnings. Moreover, all errors appear in the system's own nrf5340_cpuapp_common_pinctrl_dtsi, showing that &pinctrl is an "Unknown label". The system's own nrf5340dk_common.dtsi displays "Unknown define GPIO_ACTIVE_LOW" and "Unknown define INPUT_KEY". In addition, many professional terms in numerous files cannot be recognized. I will use images to illustrate this. Where is the problem occurring, and is there any way to solve it? Please help me..

Parents Reply
  • I am using a self-developed board, so I'm not sure if it can be reproduced on the nrf5340dk. Also, the log cannot be built. The first screenshot is to illustrate that: The pins for spi2, spi3, i2c1, uart0, and qspi can no longer be found. If I try to set their pins, the automatically generated app.overlay code will have errors with red warnings.

    Best regards

    HHJ

Children
  • Hi,

    I have tried but could not replicate this behavior using peripheral_uart sample in NCS v3.0.2 with your modifications. After building the sample for nrf5340-dk, I have added i2c1 node in app.overlay using Devicetree Visual Editor. Then I have rebuilt the sample but could not reproduce reported issue. 
    Can you test the sample on nrf5340-dk and provide all steps required for reproducing described behavior? 

    Best regards,
    Dejan

Related