-
-
Notifications
You must be signed in to change notification settings - Fork 799
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
STM32F0 upload failing #665
Comments
Could you copy manually without root permissions?
|
|
Do you need any help? |
I'd like to know where is the problem - my board, my environment or PlatformIO components. I can replace board if it's not supported or I can try to fix my environment. This is this exact kit |
Texane stlink tool works fine:
|
Hi @zgoda |
Thank you @valeros, this works fine. |
@zgoda Please give PlatformIO repository a star ⭐ https://github.com/platformio/platformio/stargazers Thanks a lot! |
@valeros please specify |
* develop: Version bump to 2.9.2 (issues #641, #645, #648, #652, #664, #665, #666, #671, #674) Fix issue with ARM mbed framework when abstract class breaks compile for LPC1768 // Resolve #666 Fix issue with ARM mbed framework and multiple definition errors on FRDM-KL46Z board // Resolve #641 List embedded boards in docs Fix multiple definition in mbed framework when using abstract class // Issue #641, #666 Add "stlink" as the default uploader for STM32 Discovery boards // Resolve #665 Implement grep serial ports for Windows Remove unused imports Minor improvements Fix PyLint's "misplaced-comparison-constant" Use $PROGNAME instead static name when looking for the firmware Update title of the article Add new articles Link Community Forums FAQ with Docs FAQ Grep for "/dev/cu.*" on OS X Skip grep search for serial ports on Windows machines Improve firmware uploading to Arduino Leonardo based boards Add MinGW to the PATH # Conflicts: # docs/index.rst # docs/platforms/creating_board.rst # docs/projectconf.rst # docs/userguide/platforms/cmd_install.rst # platformio/__init__.py # platformio/builder/scripts/atmelavr.py # platformio/builder/scripts/atmelsam.py # platformio/builder/scripts/frameworks/mbed.py
Thanks @valeros Adding |
@bfarayev it should work automatically since 2.9.2 release. What is your PlatformIO CLI version? Could you share here your |
@ivankravets well, I'm using 2.10.3. My
I was suspecting if it's because I created this project long before. However, I initialized a new one and again,
|
@bfarayev Thanks, I got you now. The In this case, you need manually force the |
This should probably be done on the Nucleo boards as well. Just ran into the same issue. |
can you say that whats exactly in you ini file ? |
Solution
Please add to
platformio.ini
Port is /dev/stlinkv2_6 so let's follow advice in another approach:
Port is accessible, of course:
Code builds without problems:
The text was updated successfully, but these errors were encountered: