bmd-studio / stm32-for-vscode

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

Fix OpenOCD error when using stm32 LoraWan 1 #125

Closed signorettae closed 1 year ago

signorettae commented 1 year ago

Hi, when I created a project for a STM32 LoRa WAN 1 discovery I got an error during the upload of the firmware. The target MCU in the openocd.cfg file was set as it follows: source [find target/stm32l0x.cfg] while it shoud be source [find target/stm32l0.cfg].

It could be a fix for a future release. Please let me know if you need more info.

Bye, Emanuele

jortbmd commented 1 year ago

Hi! Thanks for opening up an issue. You are absolutely right on this. Somehow the l0 and l1 series do not follow the same format as the rest. I see you already created a pull request for this. Thank you for this! The pull request seems good and will merge soon and include it in the next release.

signorettae commented 1 year ago

Thank you so much!