Failure to build an application for the sample: Bluetooth: Peripheral HR for my board: nRF5340dk_nrf5340

I tried unsuccessfully to build an application for the sample: Bluetooth: Perpheral HR - that could be found under samples/bluetooth/peripheral_HR , in the Zephyr Tree - using the build target: nrf5340dk_nrf5340_cpuapp_ns, for my board: nRF5340dk_nrf5340.  I am using nRF Connect SDK v2.2.0.

The build process was terminared with the message:

"Configuring incomplete, errors occurred!  FATAL ERROR: command exited with status 1"

I attach a screenshot of the page with all eror messages that showed up during the build process.

How can this problem be overcome?

Regards,

JM

Error messages - 11 January 2023.docx

Parents Reply
  • Hello Kazi,

    As advised by you, I tried today to build the "Blinky" sample using west command: "west build" , but without success.

    The following error messages showed up:

    "Fatal Error, Errors occurred! ModuleNotFoundError: No module named 'jinja2'.  CMake Error at: tools/CmakeLists.txt:161 (message):File generation failed"     I attach the screenshot of these errors in the file: West Build Error - 27-January-2023.

    I then did west update from nRF Connect on the VS Code terminal, as advised. I attach a file: "West Update from nRF Connect -27-January-2023" that shows the final messages of that activity.

    I then rebooted my PC and I tried to build a simple application/sample: "Blinky" for my nRF9160 DK , but unfortunately, the same errors as in the past came up, namely:

    "Fatal Error: Zephyr/dt-bindings/adc/adc.h: no such file or directory.

    7: #include <zephyr/dt-bindings/adc/adc.h>

    compilation terminated".

    I attach a screenshot of these errors in the file: Fatal Error 27-January_2023".

    Am I the only person who is experiencing this problem?

    West Build Error 27-January-2023.docx

    West Update from nRF Connect 27-January-2023.docx

    Fatal Error-27-January-2023.docx

Children
Related