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

Add particle flash --tachyon #780

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/qdl/darwin/x64/qdl
Binary file not shown.
Binary file added assets/qdl/linux/x64/qdl
Binary file not shown.
8 changes: 7 additions & 1 deletion src/cli/flash.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ module.exports = ({ commandProcessor, root }) => {
},
'port': {
describe: 'Use this serial port instead of auto-detecting. Useful if there are more than 1 connected device. Only available for serial'
},
'tachyon' : {
boolean: true,
description: 'Flash Tachyon'
}
},
handler: (args) => {
Expand All @@ -54,7 +58,9 @@ module.exports = ({ commandProcessor, root }) => {
'$0 $command --local application.bin': 'Flash the pre-compiled binary to the device connected over USB',
'$0 $command --local application.zip': 'Flash the pre-compiled binary and assets from the bundle to the device connected over USB',
'$0 $command --local tinker': 'Flash the default Tinker app to the device connected over USB',
'$0 $command --usb firmware.bin': 'Flash the binary over USB'
'$0 $command --usb firmware.bin': 'Flash the binary over USB',
'$0 $command --tachyon': 'Flash Tachyon from the files in the current directory',
'$0 $command --tachyon /path/to/unpackaged-tool-and-files': 'Flash Tachyon from the files in the specified directory',
},
epilogue: unindent(`
When passing the --local flag, Device OS will be updated if the version on the device is outdated.
Expand Down
Loading
Loading