mikey:hexoid
🔥 Mikey:hexoid
A Universal HEX Compiler for Arduino, ATtiny, ATmega, STM32 & More
🚀 What is Mikey:hexoid?
Mikey:hexoid is a next-generation, ARM64-friendly compiler suite designed to convert Arduino, AVR, ATtiny, ATmega and STM32 code into ready-to-upload .hex files — directly inside Termux or Debian-in-Termux.
It provides an **Arduino-IDE-like experience**, automatic library management, smart conversion between Arduino & STM32 syntax, advanced debugging, and professional build presets.
mikey-hexoid GitHub Repository
🌟 Key Features
- ✔ Compile Arduino sketches to HEX on Android
- ✔ Full support for AVR, ATtiny, ATmega & MegaCore / MiniCore families
- ✔ STM32 ARM Cortex-M3/M4 compilation with Mikey-Core engine
- ✔ ZIP library installer for Arduino & STM32
- ✔ Smart Converter Engine 2.0 (Arduino ⇆ STM32 conversion)
- ✔ Auto fix missing libraries
- ✔ Auto error correction for common issues
- ✔ External HEX mirroring to Android storage for easy upload
- ✔ Full presets for Arduino UNO, Mega, Nano, ATmega8A, ATtiny85, STM32 Blue Pill
- ✔ In-terminal progress bars, colors, and logs
- ✔ Fully optimized for ARM64 Termux
📥 Installation
Run this command inside Debian-in-Termux:
chmod +x mikey-hexoid-install.sh
./mikey-hexoid-install.sh
Then reload your shell:
source ~/.bashrc
🛠 Basic Usage
Create new Arduino sketch
mhex new blink
Compile Arduino sketch (UNO preset)
mhex compile blink --preset uno
STM32 Blue Pill (Arduino-like API)
mhex stm32-mikey-init bluepill
mhex stm32-mikey-build bluepill
Bare-metal STM32
mhex stm32-bare-init f103test
mhex stm32-bare-build f103test
📚 Add ZIP Libraries
To install any Arduino ZIP library (from /sdcard/Download):
mhex lib-add-zip
🔄 Smart Converter Engine 2.0
Convert Arduino sketch → STM32:
mhex convert-arduino-to-stm32 blink bluepill_from_blink
Convert STM32 → Arduino sketch:
mhex convert-stm32-to-arduino bluepill blink_from_bluepill
🧠 Applications
- Embedded system development
- IOT prototyping
- STM32 + Arduino cross-platform coding
- Android-based microcontroller workshop
- Electronics education & teaching
- Portable HEX compiler for field debugging
📤 Upload HEX to MCU (via Android Apps)
Recommended apps:
- 🔵 Arduino / AVR HEX Uploader: ZFlasher AVR Play Store Link
- 🟢 STM32 uploader: STM32 Utils Play Store Link
🚀 Future Upgrades
- AI auto-debugger for microcontrollers
- Graphical editor + online simulator
- HEX uploader app (Android)
- Support for ESP32, ESP8266, RP2040
- Machine-learning based performance optimizer
Comments
Post a Comment