THREAD: RADIO COPROCESSOR BUILD ERRORS ON nrf512840DK_nrf52840

Hi,

Thread RCP Build is giving error as per the attache image. While Matter Lock sample build is successful with one error but the Board is blinking.

Thanks.

Jogen

Parents Reply Children
  • Hi, 

    Sorry for the delay. I have worked on the solution. 

    In the NCS2.2.0, please update coprocessor/overlay-logging.conf with this content and build with "-DCONF_FILE=overlay-logging.conf" 

    If you get the build error like this

    c:\ncs\220_app\coprocessor\src\nrf_802154_radio_wrapper.c:7:10: fatal error: nrf_802154.h: No such file or directory
        7 | #include <nrf_802154.h>
          |          ^~~~~~~~~~~~~~
    compilation terminated.

    Please add the following content to the CMakeLists.txt

    zephyr_library_include_directories(${ZEPHYR_BASE}/../nrfxlib/nrf_802154/driver/include)
    zephyr_library_include_directories(${ZEPHYR_BASE}/../nrfxlib/nrf_802154/sl/include)
     

    Then it would look like this

    After build and flash, and connect with RTT, it would show:

    Regards,
    Amanda H.

  • Hi Amanda,

    Thanks. Output looks like below:

    And Board LED is blinking as shown in the video. Hope you too got the same result.

    Regards.

    Jogen

  • Hi, 

    Seems you don't build with "-DCONF_FILE=overlay-logging.conf" as my first figure. If you do that, the input files would look like this

    -Amanda H.

  • Hi,

    Please have a look. In "EDIT BUILD CONFIGUARATION" I am getting only 2 options as below:

    Not as in your case. 

    Thanks and regards.

  • Hi, 

    Try to press "OK" to add the config before clicking "Build Configuration". 

    You could also verify the build command in the TERMINAL tab. 

    -Amanda H.

Related