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

Provisioning of multiple attached devices command #563

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

CartBlanche
Copy link
Collaborator

@CartBlanche CartBlanche commented May 15, 2024

Current process:

  1. The meadow provision command is run on the command line and all devices in bootloader mode will be listed:
image
  1. Selected which devices you would like to provision:
image
  1. Confirm you want to proceed:
image
  1. The specific firmware will be downloaded and each device will be flashed and updated sequentially:
image
  1. If all goes well, all devices will have completed successfully
image

If a provision.json file is included in the same directory, where the command is run, the provision.json file should look something like this:

{
    "AppPath": "C:\\Users\\willo\\Downloads\\Blinky\\Debug\\netstandard2.1\\App.dll",
    "Configuration": "Debug",
    "DeployApp": "false",
    "FirmwareVersion": "1.12.2.0"
}

It will then use these settings for all attached devices and it will attempt to Deploy the App.dll, after trimming, from the path mentioned in "AppPath"

Tested on:

  • Mac
  • Linux
  • Windows

TODO post v1.x Release:
Get this working in parallel. Currently there seems to be a conflict after the DFU process (Multi-OS flashing works fine) has finished and more than 1 device is connected, so the RunTime and ESP steps fail.

@CartBlanche CartBlanche self-assigned this May 15, 2024
@CartBlanche CartBlanche force-pushed the dominique-Provision branch from ec1febf to 39c1e96 Compare May 21, 2024 10:35
@CartBlanche CartBlanche force-pushed the dominique-Provision branch from 0842524 to f84ea98 Compare May 28, 2024 12:22
@CartBlanche CartBlanche force-pushed the dominique-Provision branch 2 times, most recently from ed8c4f2 to 8b32e01 Compare June 17, 2024 13:57
@CartBlanche CartBlanche force-pushed the dominique-Provision branch from 8b32e01 to 57c988c Compare June 19, 2024 09:43
@CartBlanche CartBlanche force-pushed the dominique-Provision branch 2 times, most recently from 5a51beb to f8c791c Compare July 3, 2024 10:19
…ess launching and use more modern async pattern.
@CartBlanche CartBlanche force-pushed the dominique-Provision branch from f88c880 to b82fb4b Compare July 30, 2024 14:04
@CartBlanche CartBlanche force-pushed the dominique-Provision branch from 14f6f79 to b8bee31 Compare August 5, 2024 16:07
@CartBlanche CartBlanche marked this pull request as ready for review August 6, 2024 10:14
@ctacke
Copy link
Contributor

ctacke commented Sep 24, 2024

I like the tool, but I'm not certain it should be part of the main CLI - it feels like a separate tool to me.

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.

2 participants