bmd-studio / stm32-for-vscode

STM32 extension for working with STM32 and CubeMX in VSCode
MIT License
195 stars 27 forks source link

Bug: the yaml "target" field is blank after the setup wizard; add a prompt for the "project name" #176

Open DeflateAwning opened 3 months ago

DeflateAwning commented 3 months ago

After running the setup wizard, the target field in the configuration yaml is blank. The target field is supposed to contain the "project name", per the comment in the yaml file.

The solution is simple: add a prompt in the setup wizard to enter the "project name" (or alternatively, extract it manually).

This fix is important because the error message generated by the build system if the yaml file's target is blank requires searching through many layers of makefiles/build files to determine the issue.

jortbmd commented 3 months ago

Thanks for catching that one! I already have something similar in place for empty or incomplete projects. Will include this check and feature in the next release.