Visual Studio using forked nRF SDK

Hello,

We need to use some fixes that aren't released yet in a version yet. Specifically, an MCUBoot fix: github.com/.../303

Is there a guide as to how to use forked version of MCUBoot with Visual Studio? Or is it only possible via west?

Thanks!

Parents
  • Hello,

    Please note that there could be compatibility issues between your installed NCS version and the forked MCUboot repository.

    You can use the extension UI to update NCS with new sources. This is how:

    • Open NCS in VS Code.
    • Verify that there is a "Manage west workspace" option in the nRF Connect for VS Code extension panel.
    • Left click it and select "Open west manifest".
      • Find mcuboot under projects.
      • Replace the repo-path line with url: and the url to the forked MCUboot repository.
      • Replace the revision value with the full hash for the commit with the fix or a later one.
      • Save west.yml.
    • In the extension panel: click "Manage west workspace" again and select "West update" in the pop-up menu.

    I have tested that west update is successful with NCS v2.6.1, but I have not tested any mcuboot applications.

    Best regards,

    Maria

  • Is there a way to do this without creating a west workspace? For example, can I navigate to my SDK directory nordic/ncs/v2.6.1 and modify the zephyr/west.yml file?

Reply Children
Related