Pristine Build action (stale build configuration)

nRF Connect for VS Code

tags
nRF Connect for VS Code

Instead of the files of the selected application, the Details View can show the following notification about build configuration being stale:

Pristine Build button in the Details View

The notification can appear in the following cases:

  • nRF Connect SDK or Toolchain mismatch. For example, this can happen after opening an existing application that uses different nRF Connect SDK or Toolchain settings or after changing nRF Connect SDK or Toolchain settings to different ones than those used by the application.
  • If a devicetree or a Kconfig file is missing for the build.
  • Any image included in the build configuration is stale.

Clicking the button starts the pristine build behavior that is identical to the Pristine Build option available in the Actions View.