mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Improve firmware uploading to Arduino Leonardo based boards // Resolve #691
This commit is contained in:
@ -17,6 +17,8 @@ PlatformIO 2.0
|
|||||||
the size of a credit card
|
the size of a credit card
|
||||||
* Check program size before uploading to the board
|
* Check program size before uploading to the board
|
||||||
(`issue #689 <https://github.com/platformio/platformio/issues/689>`_)
|
(`issue #689 <https://github.com/platformio/platformio/issues/689>`_)
|
||||||
|
* Improved firmware uploading to Arduino Leonardo based boards
|
||||||
|
(`issue #691 <https://github.com/platformio/platformio/issues/691>`_)
|
||||||
* Fixed issue with ``-L relative/path`` when parsing ``build_flags``
|
* Fixed issue with ``-L relative/path`` when parsing ``build_flags``
|
||||||
(`issue #688 <https://github.com/platformio/platformio/issues/688>`_)
|
(`issue #688 <https://github.com/platformio/platformio/issues/688>`_)
|
||||||
|
|
||||||
|
@ -54,6 +54,7 @@ def WaitForNewSerialPort(env, before):
|
|||||||
prev_port = env.subst("$UPLOAD_PORT")
|
prev_port = env.subst("$UPLOAD_PORT")
|
||||||
new_port = None
|
new_port = None
|
||||||
elapsed = 0
|
elapsed = 0
|
||||||
|
sleep(1)
|
||||||
while elapsed < 5 and new_port is None:
|
while elapsed < 5 and new_port is None:
|
||||||
now = util.get_serialports()
|
now = util.get_serialports()
|
||||||
for p in now:
|
for p in now:
|
||||||
|
Reference in New Issue
Block a user