NCS and toolchain version in CMakePresets.json

Hi

In the newer versions of nRF Connect for VS Code, the NCS and toolchain version can be configured per build-configuration.

Is it possible to configure the desired versions in the CMakePresets.json so that the correct version is chosen when a new build-configuration is created?

Many thanks in advance.

Best regards

Remo

Parents Reply
  • Hi Dejan

    No problem.

    To be honest, I don't know west workspaces. We have used the CMakePresets so that every of our developers can create a build-configuration for our own target-board based on one of the presets (so that e.g. the target CPU, the Kconfig file, the overlay file and optimization-level are already defined).

    Therefore, it would have been nice if also the NCS and toolchain version could have been defined CMakePresets. Is this currently not possible?

    Best regards

    Remo

Children
Related