Account for ZEPHYR_BASE changes in module reload

nRF Connect for VS Code

tags
nRF Connect for VS Code

When switching between different nRF Connect SDK installations, the Kconfig language service could fail to load the kconfigfunctions module from the correct Zephyr repository. As a result, this could cause errors with the dt_ macros in Kconfig files that wouldn't appear with the build system. The extension now ensures that the correct module is imported.