I’ve been reading Cortex-M Development Using VSCode and in particular, the section Compiling Applications with VS Code where I can see an example of tasks.json
As far as I understand the section
"env":
{
"ARMGCC_DIR": "/<PATH_TO_YOUR_TOOLCHAIN>/gcc-arm-11.2-2022.02-x86_64-arm-none-eabi" //Put here the path to your toolchain
}
is necessary only if an environment variable named ARMGCC_DIR
has not been exported permanently in the OS.
Otherwise the environment variable ARMGCC_DIR
is already known at OS level, and is not necessary to set it again in VSCode.
Can you confirm, please?
Do you think that the KB can be clarified a little bit on this aspect?