No description
Find a file
2025-12-02 22:00:06 +01:00
button.py minor changes 2025-12-02 22:00:06 +01:00
LICENSE minor changes 2025-12-02 22:00:06 +01:00
main.py minor changes 2025-12-02 22:00:06 +01:00
README.md minor changes 2025-12-02 22:00:06 +01:00
shell.nix minor changes 2025-12-02 22:00:06 +01:00

Geheimbadge Firmware

This is the Geheimbadge firmware. It wares the Geheimbadge firm.

Deployment

Run nix-shell in this repo to enter an environment with all necessary tools. Replace /dev/ttyACM0 with the correct port for your system.

Micropython

Download the latest Firmware Release .bin file. Flash the firmware using esptool.

esptool.py --chip esp32c6 --port /dev/ttyACM0 erase_flash
esptool.py --chip esp32c6 --port /dev/ttyACM0 write_flash -z 0x0 esp32c6-20241129-v1.24.1.bin

Scripts

Deployment via rshell is recommendet.

rshell --port /dev/ttyACM0 "cp ./*.py /pyboard"

WiFi Config

Copy sta-template.json to sta.json and edit.

rshell --port /dev/ttyACM0 "cp ./sta.json /pyboard"