GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Erovia/bashflash: A small TUI script to flash firmware

BranchesTags
Open more actions menu

Latest commit

 

History

45 Commits
45 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bashflash
bashflash
 
 
bashflash_logo.png
bashflash_logo.png
 
 

Repository files navigation

logo bashflash

A small TUI script to flash firmware


Usage

[erovia@pc]$ bash <(curl -s https://raw.githubusercontent.com/Erovia/bashflash/main/bashflash)

demo

Features

  • Uses only Bash (v4+) and a few POSIX tools. (On macOS, please use the Bash from Homebrew.)
  • No external dependencies besides the low-level flasher tools.
  • No download/install necessary.
  • Flashing/Multiflashing (similar to Toolbox's Auto-flash)
  • Doctor menu for showing basic system info.
  • Supported bootloaders and flashers:
Bootloader Flasher
Caterina avrdude
Atmel DFU dfu-programmer
DFU dfu-util
WB32 DFU wb32-dfu-updater_cli
ISP/ASP avrdude
UF2 uf2conv.py (see below)
Massdrop mdloader
QMK HID avrdude
PJRC HalfKay avrdude

Flashing RP2040

Flashing RP2040-based devices (Raspberry Pi Pico, SparkFun Pro Micro RP2040, Adafruit KB2040, etc) requires the uf2conv.py script from Microsoft.
Bashflash looks at a number of directories for this script (such as local QMK installation directory, if it can find one) and tries to use that.
Otherwise, you can quickly download the script from its official repository:

curl -LO https://raw.githubusercontent.com/microsoft/uf2/master/utils/uf2conv.py
curl -LO https://github.com/microsoft/uf2/blob/master/utils/uf2families.json

Note: You need both uf2conv.py and uf2families.json.

About

A small TUI script to flash firmware

Resources

Readme
GPL-3.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.