Repository navigation
Releases
Releases · AdvaScript/GeminiPuter
v2.0.1 - M5Burner Boot Fix & Merged Binary
⚡ GeminiPuter v2.0.1 - M5Burner Boot Fix & Universal Flash Compatibility
🐛 Critical Boot Fix for M5Burner & Actual Hardware
- Merged Flash Binary (Address
0x0000): The firmware is now packaged as a fully merged flash image containing:0x0000: ESP32-S3 Second-Stage Bootloader0x8000: Partition Table (NVS, otadata, app0, app1, spiffs, coredump)0xe000: Boot App0 OTA sector0x10000: Application Firmware
Previously, flashing only the unmerged app partition directly at0x0000via M5Burner caused the ROM bootloader to fail to find the bootloader and partition tables, resulting in a black screen and boot failure.
- Universal Flash Mode (
DIO): Switched fromQIOtoDIO(Dual I/O) mode to ensure 100% hardware compatibility across all flash chip revisions on M5Stack Cardputer and Cardputer ADV. - Explicit Backlight Initialization: Added
M5.Display.setBrightness(currentScreenBrightness)immediately upon startup insetup()to guarantee screen backlight illuminates without delay on fresh boots. - Automated Merger Tool: Added
PIO/merge_firmware.pyfor reproducible single-binary generation.
📥 Flashing Instructions
For M5Burner:
Upload GeminiPuter.bin (or GeminiPuter-v2.0.1-merged-M5Burner.bin) directly into M5Burner. It flashes starting at offset 0x0000 and boots immediately!
For esptool.py:
esptool.py --chip esp32s3 write_flash 0x0 GeminiPuter.binv2.0 - Gemini 3.1, Hardware Control & Web Console
⚡ GeminiPuter v2.0 - Gemini 3.1, Hardware Function Calling, Web Console & Cardputer ADV
An advanced firmware turning your M5Stack Cardputer and Cardputer ADV into a full-featured pocket AI assistant powered by Google Gemini 3.1 Flash-Lite.
Upstream Attribution: This project is an advanced fork of nishad2m8/GeminiPuter by Nishad.
🌟 What's New in v2.0
🧠 Upgraded AI & Fast Thinking Engine
- Gemini 3.1 & 2.5 Support: Upgraded from deprecated
gemini-1.5-flashtogemini-3.1-flash-liteandgemini-2.5-flash. - Zero Thinking Latency: Configured
thinkingBudget: 0for instant first-token generation without waiting for reasoning tokens. - Dynamic Model Selection: Select between
gemini-3.1-flash-lite,gemini-2.5-flash, and others directly in the web UI.
🛠️ Full Hardware Function Calling (Tools)
- Screen Brightness: Gemini can dynamically set backlight brightness (
set_screen_brightness). - WS2812 RGB LED Lamp: Full control over color and 11 animations (solid, breathe, blink, rainbow, cyber_pulse, aurora, fire, starlight, police, alert, off) + custom JSON animations (
set_led_effect,generate_led_pattern). - Battery Sensor: Query real battery voltage and percentage in real-time (
get_battery_percentage). - FreeRTOS Multi-tasking: Separated HTTP network worker from UI loop with mutex locks to eliminate Task Watchdog (WDT) crashes.
📟 Cardputer ADV & M5Cardputer Support
- Full pinout and timing compatibility for both standard M5Stack Cardputer and Cardputer ADV.
⌨️ Bilingual Russian & English Keyboard
- Switch layouts with
Fn + BackspaceorFn + Enter. - Semi-transparent HUD toast indicator
[ РУС ]/[ ENG ]on screen. - Cyrillic font rendering via embedded
rubik_14_cy.
🌐 Cyberpunk Real-Time Web Console & Telemetry
- Live Terminal & Chat: Mirrored screen transcript with clean message bubbles.
- Remote Typing: Send questions using your desktop or smartphone keyboard.
- Hardware Telemetry HUD: Live battery meter, Wi-Fi RSSI signal strength, uptime, free heap memory, and simulated RGB lamp status.
- Web Config: Manage API Key, Gemini model, and Wi-Fi credentials without reflashing.
🎨 Visual Polishing & UX
- Electric blue Gemini responses (
#38B6FF). - Right-aligned user prompts in both web interface and Cardputer screen.
- Built-in IMU Shake /
/shakeEaster egg. - Clean repository tree: firmware binary detached from git history and moved exclusively to GitHub Releases.
📥 Flashing the Firmware
Download GeminiPuter.bin attached below and flash with esptool.py:
esptool.py --chip esp32s3 write_flash 0x0 GeminiPuter.binOr use M5Burner / ESP Web Flasher.