https://github.com/savagecore/gp2040-flasher
https://github.com/savagecore/gp2040-flasher
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/savagecore/gp2040-flasher
- Owner: SavageCore
- License: mit
- Created: 2023-06-25T22:55:13.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-28T10:05:41.000Z (almost 3 years ago)
- Last Synced: 2026-02-08T10:47:17.071Z (4 months ago)
- Language: Python
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GP2040-Flasher
> A cross-platform app to flash the RP2040 chip with firmware from the [GP2040-CE](https://github.com/OpenStickCommunity/GP2040-CE) project.
The only dependency is [picotool](https://github.com/raspberrypi/picotool) and Python on Mac, see platform specific notes below for requirements on Windows and Linux.
Currently, this is a PoC, working on all systems but the firmware to flash is hardcoded. This will be fixed soon by adding a Textual "GUI" and fetching releases from the GP2040-CE repository.
## Platform specific notes
### Windows
Windows requires win32api to be installed. (`pip install pywin32`)
### Linux
Linux requires pyudev to be installed. (`pip install pyudev`)
## Usage
1. Clone this repository
2. Run `python main.py`
If picotool is missing you will be given OS-specific instructions on how to install it.
## See also
[GP2040-Flasher-Pi](https://github.com/SavageCore/GP2040-Flasher-Pi) - Another version of this app designed to run on a Raspberry Pi with a 2.8" TFT display.
[monkeymademe's gist](https://gist.github.com/monkeymademe/82a575c63ee4a52c83a5aa0f6793307b) - A gist that inspired this project.