Skip to content
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

Custom `upload_command` option in project configuration file #2599

Closed
ivankravets opened this issue May 31, 2019 · 0 comments

Comments

1 participant
@ivankravets
Copy link
Member

commented May 31, 2019

Provide an easy way to declare a custom upload command from platformio.ini:

[env:myenv]
board = ...
upload_protocol = custom
upload_command = /path/to/upload/tool arg1 --option1 value1 $SOURCE

where $SOURCE will be replaced with a program/firmware binary file.

Docs: http://docs.platformio.org/en/latest/projectconf/section_env_upload.html#upload-command

@ivankravets ivankravets added this to the 4.0 milestone May 31, 2019

@ivankravets ivankravets added this to To do in PlatformIO 4.0 May 31, 2019

@ivankravets ivankravets moved this from To do to In progress in PlatformIO 4.0 May 31, 2019

@ivankravets ivankravets changed the title Custom `upload_cmd` option in project configuration file Custom `upload_command` option in project configuration file May 31, 2019

PlatformIO 4.0 automation moved this from In progress to Done Jun 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.