create_nordic_project.py failed(1)

Hello,

I am currently using nRF Connect SDK v1.7.1 with a nrf9160DK. I keep getting "create_nordic_project.py filed (1)" when I try to open a new project with a overlay file.  Same projects can be opened if I delete the overlay.  I tried pretty much all the solutions/suggestions from the devzone, but so far no luck.  This situation also happened when I was using v1.7.0.  I also tried reinstalling the SDK, but didn't work.  Did I miss anything?  Is there a procedure I have to follow in order to load in a overlay file?  Thank you.

Parents
  • Hi,

    Where did you place your overlay files inside the hello_world sample? Also, is it possible to share your overlay file?

    Regards,

    Priyanka

  • Hi Priyanka,

    I placed the nrf9160dk_nrf9160_ns.overlay right at where the prj.conf and CMakeLists.txt are, i.e. inside the hello_world folder.  And I always get the "create_nordic_project.py failed (1)" error when I open the project.    Below is my overlay file.

    &pwm0 {
    status = "okay";
    ch0-pin = <28>;
    };

    &spi3 {
    status = "okay";
    sck-pin = <3>;
    mosi-pin = <4>;
    miso-pin = <5>;
    };

    &uart0 {
    status = "okay";
    tx-pin = <6>;
    rx-pin = <7>;
    rts-pin = <13>;
    cts-pin = <2>;
    };

    &i2c2 {
    status = "disabled";
    }

    Then last night I realized that if I remove the &uart0 and &i2c2 in my overlay, then the project opens and the new pin assignments are put into the devicetree_unfixed.h.  Looks like it has something to do with the uart0 maybe.  Not sure!

  • Hi Floyd,

    Unfortunately, I was not able to replicate your error and when applying your overlay file, it works well for me. That does seem strange! But we can try some solutions.

    First, could you try shortening you path length of you SDK ?(not really sure this might be the issue but there have been customers who faced similar problems due to the path length).

    Try giving something like C:/ncs/v1.7.1/ instead of C:/Users/flau/ncs/v1.7.1/ and build within this path.

    Regards,

    Priyanka

Reply
  • Hi Floyd,

    Unfortunately, I was not able to replicate your error and when applying your overlay file, it works well for me. That does seem strange! But we can try some solutions.

    First, could you try shortening you path length of you SDK ?(not really sure this might be the issue but there have been customers who faced similar problems due to the path length).

    Try giving something like C:/ncs/v1.7.1/ instead of C:/Users/flau/ncs/v1.7.1/ and build within this path.

    Regards,

    Priyanka

Children
No Data
Related