New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"sh: stm32flash: command not found" after fresh install of PIO #269
Comments
Same here And after install stm32flash via Homebrew, it still not work.
ref #138 |
Having the same issue on Linux, using the STM32F103C8/B and bluepill_f103c8/_128k board variants. A quick
Edit: After copying, I then ran into #138 as mentioned above... resulting in needing to add |
Thanks a lot! |
BTW: On macOS 10.14 here. Confirm having the same issue, and following these steps (including the addition to line 241) could solve it and be able to upload to the board normally. Thanks a lot! |
I would add that on linux the error is:
somewhat misleading. But replacing
|
Thanks for reporting! Should be fixed in the upstream version:
|
While trying to upload to a "Generic STM32F103C8" via serial I get the following error: "sh: stm32flash: command not found".
It has been working flawlessly before. After messing around with an F4 core, it doesn't work anymore. I tried removing VS code and PIO including, what I think, all background files. After a fresh install I get the same error.
When not having a device plugged in I get the following message:
"Error: Please specify
upload_port
for environment or use global--upload-port
option.For some development platforms it can be a USB flash drive (i.e. /media//)
*** [upload] Explicit exit, status 1"
I tried a complete reinstall of macOS and it is still not working.
Any Idea why stm32flash is not installed/working?
OS: macOS 10.14.6
PIO Core: 4.0.0
VS code: 1.36.1
The text was updated successfully, but these errors were encountered: