Branch in VS Code to try sysbuild

I'm still somewhat new to this but have working code using build 2.6.1 and toolchain 2.6.2 and want to create a sysbuild branch to try with 2.9. The toolchain version used is stored in the directory, right? Which file?

I guess the basic question is I can have two different branches supporting two different toochains, correct?

Parents Reply Children
  • Hi Leo,

    So there is a bit of a confusion about your query.

    case 1. If you are asking whether you can build an application with an SDK+toolchain , and then built a copy of that same application (which essentially makes it a second aplication) with another SDK+toolchain, then yes, this is possible and here is how it's done:

    Please open VSCode and you can select any option to create a new application or open an existing application:

    Say, you want the hello_world sample, first when you build for the v2.9.0, select the appropriate SDK and toolchain version:

    Then again create a new hello_world sample, this time from another SDK version and while building for that, again select the appropriate SDK andtoolchain version. 

    So then you will have something like this in the Applications tab:

    The same sample, built for 2 different SDK and Toolchain versions.

    Please not that this still is like building 2 applications for 2 different SDK+toolchain.

    case 2. But if you are asking to build the SAME application with various SDK+toolchain, then it's a different scenario. 

    Please do let me know which case suits your interests. 1 or 2 ?

    Regards,

    Priyanka

  • I want a branch with 2.6 and a branch with 2.9.

  • Hi Leo,

    Could you attach your west.yml file here?

    It can be found in the nrf folder, say:

  • I don't think that's what I'm looking for. Is there a way to create a git branch using a different version of the nrf toolchain so one version is 2.6 and the other is 2.9.

  • Hi Leo,

    Yes this should be possible, but as I mentioned in the previous comment, we would like to first see your west manifest. Please could you click on the "Manage SDKs":

    v

    Then select "Manage West Workspace" and then :

    Please attach your west manifest here.

    -Priyanka

Related