Skip to content

Conversation

freynder
Copy link
Contributor

Support net:host:port upload port as it is supported by avrdude.
See http://www.nongnu.org/avrdude/user-manual/avrdude_4.html#Option-Descriptions "-P port" description.
See https://community.platformio.org/t/flash-via-tcp-to-uart-bridge/880/7 for the discussion

builder/main.py Outdated
else:
if not upload_options.get("disable_flushing", False):
if not upload_options.get("disable_flushing", False) \
and not env.get("UPLOAD_PORT").startswith("net:"):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please replace this line with and not env.get("UPLOAD_PORT", "").startswith("net:") to avoid exception when UPLOAD_PORT is not available

@ivankravets ivankravets merged commit 7908b6f into platformio:develop Apr 15, 2017
@ivankravets
Copy link
Member

Thanks a lot for PR!

@freynder
Copy link
Contributor Author

You're welcome, I'm glad I can contribute something.

@ivankravets
Copy link
Member

Do you have any ideas as for the #44?

I see a few different report about Wire & 1-Wire that project works with Arduino IDE but doesn't work with PIO :(

@freynder
Copy link
Contributor Author

Not really. I will try and reproduce it with a dallas onewire sensor later today.

@ivankravets
Copy link
Member

Thanks! If we fix that issue, I'll release a new version of dev platform.

@freynder
Copy link
Contributor Author

freynder commented Apr 15, 2017 via email

@ivankravets
Copy link
Member

@freynder Thanks a lot for your test!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants