Closed UPUPGOO closed 4 years ago
"configFiles"
section and its values is created on update.py run. On first run you are asked to specify target configuration files (and other tool/file paths), so I assume you made a mistake at the beginning. This paths are than cached in buildData.json. and you don't need to set them again, unless qou manually run updatePaths.py.
Also, check that you are using the latest version. Latest version create a copy of cfg files in .vscode folder.
On first run you are asked to specify target configuration files (and other tool/file paths)
Sorry, I was not asked to specify any configuration file. The program was completely automatical to generate configuration files. I just ran 'Build STM32 project' command.
Are you sure you have reported a bug at the correct place? A couple of things that are strange and/or not the same as in my default scripts:
"preLaunchTask": "Build STM",
PlatformIO\Projects\STM32F4.
Are you using PlatformIO
or stm32-for-vscode
extension?sorry, I made a mistake. I was using stm32-for-vscode extension. I mixed up these two giuhub projects between stm32-for-vscode and yours because of the similar name. I am sorry again.
First of all, thank you for your tool. It is really helpful. I want to debug STM32F407ZET6, but I got one error. The console outputted
This is launch.json:
When I changed "target/stm32f4x.cfg.cfg" into "target/stm32f4x_stlink.cfg", everything was good.