-
-
Notifications
You must be signed in to change notification settings - Fork 109
Support net: upload port #45
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
Conversation
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
Support net: upload port
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:"): |
There was a problem hiding this comment.
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
Thanks a lot for PR! |
You're welcome, I'm glad I can contribute something. |
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 :( |
Not really. I will try and reproduce it with a dallas onewire sensor later today. |
Thanks! If we fix that issue, I'll release a new version of dev platform. |
I tested with a Dallas DS18B20 temperature sensor which depends on OneWire
with a pro8MHzatmega328 board, but could not reproduce the issue. Behavior
is identical in Arduino IDE and PlatformIO. Unfortunately I do not have a
nano device and sensor to reproduce correctly.
…On Sat, Apr 15, 2017 at 11:32 AM, Ivan Kravets ***@***.***> wrote:
Thanks! If we fix that issue, I'll release a new version of dev platform.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF-eRwQ7Hagz7yWXQUijN66DauzqjwBiks5rwI7KgaJpZM4M-Lbr>
.
|
@freynder Thanks a lot for your test! |
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