Sidewalk SDK build issues

I am trying to install/configure the sidewalk repository according to the instructions here: https://nrfconnect.github.io/sdk-sidewalk/setting_up_sidewalk_environment/setting_up_sdk.html
I have already installed the nRF Connect SDK using the "Toolchain Manager" method.

The problem occurs in step 3 Installing the Python requirements for Sidewalk:

- pip install -r requirements.txt

The zephyr root directory does not hold this file and an error occurs:

- ERROR: Failed to open requirements file: [Errno 2] No such file or directory: 'requirements.txt'.

Please advise how to use Sidewalk-SDK correctly

Parents
  • After many hours of experimentation and researching some .rst documents in previous releases of the https://github.com/nrfconnect/sdk-sidewalk, I managed to build one of the examples

    The following steps were necessary to achieve the result:

    - run the terminal from Toolchain Manager
    
    - git clone https://github.com/nrfconnect/sdk-sidewalk.git --branch v1.14.4 sidewalk
    
    - pip install -r sidewalk/requirements.txt
    
    - west config manifest.path sidewalk 
    
    - west update
    
    - west manifest --path
    
    - cd sidewalk/samples/sensor_monitoring/
    
    - west build -b nrf52840dk_nrf52840
    
    - west flash


    Based on the above I can conclude that the sidewalk-sdk setup instruction is not up to date.

    Also it is not quite clear how to automate the process of building my applications, taking into account the requirement to use the Toolchain Manager terminal

    I would like to see sidewalk support out of the box added in a future release of the nrf-sdk

  • @Djaison, I had the same issue as you described, I am installing Nordic SDK v2.4.1 + Sidewalk on a new machine. There is no "sidewalk" package downloaded after following the same doc as you pointed, that's why the pip install command failed.

    Then I followed your steps above, it went smoothly and successfully built the sample app. Thanks!

    A few months ago, I had installed a older version of Nordic SDK v2.3.0 + sidewalk, the instruction was not accurate neither, as raised here: setting-up-sidewalk-sdk.

Reply
  • @Djaison, I had the same issue as you described, I am installing Nordic SDK v2.4.1 + Sidewalk on a new machine. There is no "sidewalk" package downloaded after following the same doc as you pointed, that's why the pip install command failed.

    Then I followed your steps above, it went smoothly and successfully built the sample app. Thanks!

    A few months ago, I had installed a older version of Nordic SDK v2.3.0 + sidewalk, the instruction was not accurate neither, as raised here: setting-up-sidewalk-sdk.

Children
No Data
Related