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

Merged
merged 22 commits into from
Dec 18, 2024
Merged

Add particle flash --tachyon #780

merged 22 commits into from
Dec 18, 2024

Conversation

keeramis
Copy link
Contributor

@keeramis keeramis commented Dec 6, 2024

Description

Add particle flash --tachyon to flash tachyon

Story: https://app.shortcut.com/particle/story/132827/create-particle-flash-tachyon-command

Usage

  1. Checkout this branch. Use nvm use to update the node version and then run npm ci

One of the following ways to test the command:

-> particle flash --tachyon /path/to/firmware.zip

-> particle flash --tachyon /path/to/firmware/folder

-> particle flash --tachyon from firmware folder

-> particle flash --tachyon prog_firehose_ddr.elf rawprogram0.xml patch0.xml rawprogram1.xml patch1.xml

Use --verbose to see logs during the update process

Expected output

See this slack thread -

Related Issues / Discussions

Story

Completeness

  • User is totes amazing for contributing!
  • Contributor has signed CLA
  • Problem and solution clearly stated
  • Tests have been provided
  • Docs have been updated
  • CI is passing

@keeramis keeramis force-pushed the feature/linux-flashing branch from b4660c2 to 8d62e71 Compare December 6, 2024 23:19
@keeramis keeramis requested review from monkbroc and eberseth December 9, 2024 07:02
src/cli/flash.js Outdated Show resolved Hide resolved
src/cmd/flash.js Outdated Show resolved Hide resolved
src/cmd/flash.js Outdated Show resolved Hide resolved
src/cmd/flash.js Outdated Show resolved Hide resolved
src/cmd/flash.js Outdated Show resolved Hide resolved
Copy link
Member

@monkbroc monkbroc left a comment

Choose a reason for hiding this comment

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

Looks good 👍 Next step will be to add a version of qdl compiled for each platform.

@keeramis keeramis force-pushed the feature/linux-flashing branch from 812ed57 to 93ba5ba Compare December 10, 2024 01:20
assets/qdl/x64/qdl Outdated Show resolved Hide resolved
src/cmd/flash.js Outdated Show resolved Hide resolved
src/cmd/flash.js Outdated Show resolved Hide resolved
@keeramis keeramis force-pushed the feature/linux-flashing branch from 3eb1b78 to 42184ec Compare December 11, 2024 17:53
@keeramis keeramis force-pushed the feature/linux-flashing branch 3 times, most recently from 76a8f3d to d916533 Compare December 16, 2024 20:48
@keeramis keeramis force-pushed the feature/linux-flashing branch from d916533 to 22f4866 Compare December 16, 2024 20:50
src/lib/qdl.js Outdated Show resolved Hide resolved
src/lib/qdl.js Outdated Show resolved Hide resolved
src/lib/qdl.js Outdated Show resolved Hide resolved
@monkbroc monkbroc force-pushed the feature/linux-flashing branch from 8ed9c15 to 4488125 Compare December 18, 2024 14:36
@monkbroc monkbroc force-pushed the feature/linux-flashing branch from b0a4f1d to e2f88ad Compare December 18, 2024 19:27
src/cmd/flash.js Outdated Show resolved Hide resolved
@monkbroc monkbroc force-pushed the feature/linux-flashing branch from eea8049 to 6d2d0e4 Compare December 18, 2024 22:25
@monkbroc monkbroc marked this pull request as ready for review December 18, 2024 22:37
Copy link
Member

@monkbroc monkbroc left a comment

Choose a reason for hiding this comment

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

👍 Tested on Mac, Windows and Linux

@keeramis keeramis merged commit f8faf71 into master Dec 18, 2024
5 checks passed
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.

3 participants