Zephyr master branch check out

Hi,

I noticed that in the main / master repository of Zephyr there are features that are not yet available to the version coming with NCS (for example the State Machine Engine in zephyr/lib/smf/ ).

Is there a way the master branch can be retrieved via west ?

Thanks in advance !

Kind regards

Riccardo

  • Hi,

    I would not recommend adding the zephyrproject-rtos/zephyr main branch to the nRF Connect SDK. This will cause a lot of issues. You can instead try to port the libraries you want to the version used in the SDK.
    zephyr/lib/smf seems to just be a handful of files, so it may not be too difficult to add. If you have difficulties porting it to 1.7.0/1.7.1, you can try to use the main branches of nrfconnect/sdk-nrf and nrfconnect/sdk-zephyr.

    But, if you are willing to deal with any incompatibilities or other issues, you should be able to make 'west update' retrieve the zephyrproject-rtos/zephyr main branch by editing the nrf/west.yml file.

Related