FATAL ERROR: command exited with status 1. While following nRF Connect SDK Fundamentals to build Blinky sample.

I'm a beginner to nRF52840 board, and I'm currently doing the nRF Connect SDK Fundamentals. But I failed to build the Blinky Sample due to the following error:

I'm sure that I correctly installed the toolchain and SDKs.

Can anyone help me to fix it?

Parents
  • Hi Zeyu

    It looks like you have an extra "(" in your application. I would recommend that you just check them and see if anyone is not closed. If you can't find it. You can copy past in your code with using insert--> </code> 

    Regards

    Runar

  • Hi Runar, 

    Thanks for your reply. 

    The point is that all the toolchain, SDKs and application files (Blinky sample) are downloaded from VScode directly without any modification. It is strange that they are not working due to missing a bracket. 

    And I go to this path '/opt/nordic/ncs/v2.6.1/zephyr/cmake/gen_version_h.cmake', and I cannot find anything wrong.

    It works that I redo everything on a windows PC.  I think the issue here may have something to do with the MacOS.

    Regards

    Luzy

Reply
  • Hi Runar, 

    Thanks for your reply. 

    The point is that all the toolchain, SDKs and application files (Blinky sample) are downloaded from VScode directly without any modification. It is strange that they are not working due to missing a bracket. 

    And I go to this path '/opt/nordic/ncs/v2.6.1/zephyr/cmake/gen_version_h.cmake', and I cannot find anything wrong.

    It works that I redo everything on a windows PC.  I think the issue here may have something to do with the MacOS.

    Regards

    Luzy

Children
Related