BrewFlasher Command Line Tool
Project description
BrewFlasher CLI Edition
BrewFlasher CLI edition is a command-line port of the BrewFlasher firmware flashing application. It is designed to allow flashing brewing-related firmware from command line environments -- such as a Raspberry Pi. It also adds support for Arduino-based brewing-related firmware (similar to that provided in Fermentrack's firmware flashing workflow).
Choosing the right BrewFlasher Edition
There are currently three editions of BrewFlasher to choose from:
- BrewFlasher Desktop - Designed to be run from Windows or MacOS, this allows you to flash an ESP8266, ESP32, ESP32-S2, or ESP32-C3-based microcontroller from your desktop or laptop. It is a downloadable application with a GUI interface, and is the easiest way to flash these architectures. It is accessible here.
- BrewFlasher Web Edition - Designed to be run from a web browser, this allows you to flash an ESP8266, ESP32, ESP32-S2, or ESP32-C3-based microcontroller from your desktop or laptop. It is a web application, and is the easiest way to flash these architectures when you would prefer not to download a full Desktop application. It is accessible here.
- BrewFlasher CLI Edition - Designed to be run from a command line, this allows you to flash an Arduino (Atmel), ESP8266, ESP32, ESP32-S2, or ESP32-C3-based microcontroller from a command line environment such as a Raspberry Pi. If you are looking to flash an Arduino-based controller, this is the easiest way to do so.
Installation
BrewFlasher CLI is available on PyPi and can be installed using pip:
pip install brewflasher_cli
Usage
Once installed, you can run the application using the following command:
brewflasher
The script will prompt you for the information it needs to complete the flashing process. If you already know some of
the options you want to specify, you can pass them in as command line arguments. For example, if you want to flash a
device using the serial port /dev/ttyUSB0
at the speed 460800
bps without erasing the flash before installing, you
can run the following command:
brewflasher --serial-port /dev/ttyUSB0 --baud 460800 --dont-erase-flash
A full list of command line options can be seen by running brewflasher --help
Uninstallation
If you want to uninstall BrewFlasher CLI, you can do so using the following command:
pip uninstall brewflasher_cli
Building from source
If you want to build BrewFlasher CLI from source, you can do so using the following commands in the root directory of this package:
python3 -m build
pip install .
Make sure that you have run pip uninstall brewflasher_cli
first or you risk having the PyPi version of BrewFlasher CLI
installed alongside your local version.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file brewflasher_cli-0.1.1.tar.gz
.
File metadata
- Download URL: brewflasher_cli-0.1.1.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09b2fbbbd0fb2eaa4bb73ffa1ec16d26d0f311034098da4a03e2b6d12ea4ff39 |
|
MD5 | 776d336df4030fdaea6b073955836541 |
|
BLAKE2b-256 | 122accf828c4bbaf8a9f8ee7d0e2546e1e9d8182b1e28e0ef75b70f3f17bd35d |
File details
Details for the file brewflasher_cli-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: brewflasher_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d7877a947212d87b38b38fbbfa9a98a6b75e2ab65d0f72236bf1ea3d516bd78 |
|
MD5 | ab2da8216d9f96c880e8c42e19427aa7 |
|
BLAKE2b-256 | e60a998ec93cccd6b022ef00b8437cdb07bad2032278aeead7d4965c73325796 |