A simple tool by Warped Pinball for flashing MicroPython firmware to Warped Pinball hardware.
Project description
TrenchCoat
A simple tool by Warped Pinball for flashing MicroPython firmware to Warped Pinball hardware.
Features
- Flash MicroPython firmware to Warped Pinball hardware
- Automatically detects connected devices
- Supports multiple firmware versions
How to Use
[!IMPORTANT] Turn off your pinball machine before flashing firmware. You do not need to uninstall your vector board to flash firmware.
- Download the latest version of trench coat for your operating system here
- Connect your Warped Pinball hardware to your computer using a USB cable.
- Run trench-coat:
- Windows: double click on
TrenchCoat-windows.exe. If you get a warning that the file is unrecognized, click "More info" and then "Run anyway". - Linux & MacOS: open a terminal and follow these steps:
# Change to the directory where you downloaded the file cd ~/Downloads # Make the file executable chmod +x ./TrenchCoat-linux # Run the file ./TrenchCoat-linux
- Windows: double click on
- Follow the on-screen prompts to flash the firmware to your device.
Package Information
This codebase is also available as a Python package. You can install it using pip: pip install wptc. This is mainly useful for building the Vector Codebase
Developing locally
To develop locally, you need to set up a Python virtual environment and install the required dependencies. Follow these steps:
# Clone the repository
git clone https://github.com/warped-pinball/trench-coat.git
# Change into the project directory
cd trench-coat
# Create a virtual environment
python3 -m venv venv
# Activate the virtual environment
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Build the application
pyinstaller --onefile --name TrenchCoat --add-data "uf2:uf2" src/main.py
# Run the application
./dist/TrenchCoat
Contributors
License
This project is licensed under the CC BY-NC License. See the LICENSE file for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wptc-1.0.5.tar.gz.
File metadata
- Download URL: wptc-1.0.5.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
477d3f16dc673a3cff6b480ae27166a856faed8bc88d6cbb67dc42180ed86722
|
|
| MD5 |
fea46a83eb310c168aa93083885ad1b1
|
|
| BLAKE2b-256 |
237e992da02ee9d2f744c26490f7fcdaba15ca0f0e5aaf0dd59dcd13e1a7aa0e
|
File details
Details for the file wptc-1.0.5-py3-none-any.whl.
File metadata
- Download URL: wptc-1.0.5-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d2710dcc88c5bb7cabe44d4042288159f8c3d03ae60af3ddc37fb6635cba49f
|
|
| MD5 |
8d0e2adb59287931d94ad756254830c2
|
|
| BLAKE2b-256 |
395f66826b1fcdb5876a76e713104c54764c2216237ee0119f46864797f3a1c2
|