Skip to main content

Uploads firmware to multiple embedded devices.

Project description

Uploads firmware to multiple embedded devices.

Authors:

Peter Polidoro <peterpolidoro@gmail.com>

License:

BSD

Example Usage:

fu -e teensy40 -d https://github.com/janelia-arduino/YArenaValveController "(/dev/ttyACM)[0-2]"
# Environment: teensy40
# Dry Run: True
# Firmware URL: https://github.com/janelia-arduino/YArenaValveController
# Upload ports: ['/dev/ttyACM0', '/dev/ttyACM1', '/dev/ttyACM2']
# Do you want to continue? [y/N]: y
# Cloning into 'YArenaValveController'...
#remote: Enumerating objects: 118, done.
# remote: Counting objects: 100% (118/118), done.
# remote: Compressing objects: 100% (78/78), done.
# remote: Total 118 (delta 65), reused 88 (delta 35), pack-reused 0
# Receiving objects: 100% (118/118), 19.79 KiB | 2.47 MiB/s, done.
# Resolving deltas: 100% (65/65), done.
# ['stty', '-F', '/dev/ttyACM0', '134']
# ['pio', 'run', '-e', 'teensy40', '--target', 'upload', '--upload-port', '/dev/ttyACM0']
# ['stty', '-F', '/dev/ttyACM1', '134']
# ['pio', 'run', '-e', 'teensy40', '--target', 'upload', '--upload-port', '/dev/ttyACM1']
# ['stty', '-F', '/dev/ttyACM2', '134']
# ['pio', 'run', '-e', 'teensy40', '--target', 'upload', '--upload-port', '/dev/ttyACM2']

fu -e teensy40 https://github.com/janelia-arduino/YArenaValveController "(/dev/ttyACM)[0-2]"
# Environment: teensy40
# Dry Run: False
# Firmware URL: https://github.com/janelia-arduino/YArenaValveController
# Upload ports: ['/dev/ttyACM0', '/dev/ttyACM1', '/dev/ttyACM2']
# Do you want to continue? [y/N]:

fu -e teensy40 ./git/arduino/YArenaValveController/ "(/dev/ttyACM)[0-2]"
# Environment: teensy40
# Dry Run: False
# Firmware URL: ./git/arduino/YArenaValveController/
# Upload ports: ['/dev/ttyACM0', '/dev/ttyACM1', '/dev/ttyACM2']
# Do you want to continue? [y/N]:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

firmware_uploader-0.4.0.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file firmware_uploader-0.4.0.tar.gz.

File metadata

  • Download URL: firmware_uploader-0.4.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for firmware_uploader-0.4.0.tar.gz
Algorithm Hash digest
SHA256 43c4e1d212c2ff35ad43f7d6ed9744c7b3a0cfa296c86d72e8a574abfc576342
MD5 62a594713584ffa868a368788eaab3fa
BLAKE2b-256 6d6fe3919c07c780c1e830d809b52f0d4d5e5bc38a60f5a5dba698599a90bc49

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page