-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
upload_port is not honored without a framework specified #313
Comments
Thanks for the report, I see this bug. However, this issue isn't linked with missed |
Please re-test it in the latest develop version http://docs.platformio.org/en/latest/installation.html#development-version |
@ivankravets Seems to be se same problem when using [env:attiny85]
platform = atmelavr
board = attiny85
board_f_cpu = 8000000L
framework = arduino
targets = program
upload_protocol = buspirate
upload_speed = 115200
; do not works
upload_port = "/dev/cu.usbserial-A7036H51"
; works
upload_flags = "-P/dev/cu.usbserial-A7036H51"
|
People don't like to read documentation http://docs.platformio.org/en/latest/platforms/atmelavr.html#upload-using-programmer |
People don't often like this kind of comments too. The documentation isn't that obvious (as you think it is). There is some examples with the I would do a PR about it. Thanks for your help. |
The
upload_port
environment option doesn't seem to be honored when not using a framework. Here is my platform.ini:If I use the
framework
andboard
options that are commented instead of the direct settings, it works just fine.The avrdude command it tries to run is:
/Users/countrodrigo/.platformio/packages/tool-avrdude/avrdude" -v -p atmega328 -C "/Users/countrodrigo/.platformio/packages/tool-avrdude/avrdude.conf" -c arduino -b 115200 -D -U flash:w:.pioenvs/arduino_pro5v/firmware.hex:i
This is missing the -P option. If I run that command manually and pass the
-P /dev/cu.usbmodem1451
, then it can program the device just fine.The text was updated successfully, but these errors were encountered: