Hello,
I have posted the query here https://github.com/nxp-mcuxpresso/vscode-for-mcux/issues/49
When building with new plugin and built via tool, it resets the cmake config to debug. I also noticed that adding custom buildPresets also doesn't because of this.
Note: I have also observed that after adding custom buildPresets, mcux_include.json just increases in size with many duplicate entries.
Thanks
Any updates on this issue? This issue is blocking our ability to use latest vscode plugin.
Hi @arunkumar_g,
The duplication issue should be fixed the next release which will be available soon.
Thanks,
Dragos.
Thanks,
That made some progress. But the tool still fails to build with an additional build step. This is the error I see "Error: Could not find configuration: "[debug, evk-config]" in cmake presets configurations" - Please see attached file.
Also when I edit the toolchain in "evk-debug", the tool always resets it to default one ($env{SdkRootDirPath}/tools/cmake_toolchain_files/armgcc.cmake)
.
Hi @arunkumar_g,
Could you please be more specific describing what you are trying to achieve by modifying the toolchain? What additional build step are you doing?
BR,
Edwin.
Hi @arunkumar_g,
This happens because the "debug" build is still selected as the default build configuration. Please select "hyperram_debug" as the default configuration under "MCUXpresso for VS Code" > Projects > Build Configurations:
Once selected as the default, building the project will not change the build configuration back to debug.
BR,
Edwin.