2025-10-14 12:21 AM
Hi,
In the old VSCode extension there was a task called something like "Erase + Flash" which would flash the board and then the program could run. After updating, there is now no such task so the only option is to flash the board by debugging. Is there a way to flash the board without debugging?
Best regards,
Sašo
Solved! Go to Solution.
2025-10-14 12:31 AM
Hi Sašo
On my side, I followed this thread:
Regards
2025-10-14 12:31 AM
Hi Sašo
On my side, I followed this thread:
Regards
2025-10-14 1:02 AM
@ElliotAlderson, Thank you for taking the time to share this very useful link: https://community.st.com/t5/stm32cubeide-for-visual-studio/missing-the-tasks-json-file-required-for-code-flash/m-p/826248#M961
@sasodoma, as an end user, you can create a task taking benefit of the instructions provided.
We may introduce a more integrated feature in the future, but for now, this is the recommended approach.
Feel free to share what would be really useful to you; it will help us set internal priorities for future developments.
2025-10-14 1:06 AM
Hi, thanks for letting me know what the current approach is. I do think that having to write your own tasks.json for a basic feature such as "flashing" is a bit too unfriendly for a user, so a more integrated option would be welcome. I am a teaching assistant for a course on microcontrollers and we are currently evaluating moving from the Cube IDE to VSCode, since it has the potential to be easier for students to install, but at this point it doesn't seem stable or polished enough for that.
Best regards
Sašo