๐ Getting Started with hoykit
Welcome to the hoykit quick-start guide! This walkthrough will show you how to go from zero to a running firmware on your ESP32-S3 board โ entirely from the CLI.
1๏ธโฃ Prerequisites
- โ Python 3.10+ (we recommend managing with pyenv)
- โ PlatformIO CLI globally installed
- โ Git installed
- โ ESP32-S3 board connected via USB
2๏ธโฃ Install hoykit
curl -fsSL https://raw.githubusercontent.com/hoykids/hoykids-devkit/main/install.sh | bash
Then:
source ~/.zshrc # or ~/.bashrc
hoykit --version
3๏ธโฃ Create a Firmware Project
hoykit init-firmware test -b esp32-s3-dev
This will:
- Create
firmwares/test/
- Generate
platformio.ini
andmain.cpp
- Fill in
README.md
with board info
hoykit workon test
4๏ธโฃ Build & Upload
hoykit flash
Autodetects USB port on native USB boards (like ESP32-S3).
5๏ธโฃ Serial Monitor
hoykit monitor
Or one step:
hoykit flash --monitor
Custom baudrate:
hoykit monitor -b 74880
6๏ธโฃ Edit Firmware
Edit firmwares/test/src/main.cpp
:
#include <Arduino.h>
void setup() {
Serial.begin(115200);
delay(1000);
Serial.println("๐ Hello from hoykit!");
}
void loop() {
Serial.println("Tick...");
delay(1000);
}
hoykit flash --monitor
๐งช Run Unit Tests
hoykit test test
๐ก Summary
Step | Command |
---|---|
Create firmware | hoykit init-firmware test -b esp32-s3-dev |
Select project | hoykit workon test |
Build & upload | hoykit flash |
Serial monitor | hoykit monitor |
All-in-one | hoykit flash --monitor |
Run tests | hoykit test test |
๐ That's It!
Youโve built and flashed your first ESP32-S3 firmware with hoykit!
Explore:
- ๐ Multi-project firmware workflow
- ๐ฆ SPIFFS uploads:
hoykit spiffs-uploader
- ๐ Self-update:
hoykit update
hoykit help
Built for developers who love the terminal. Enjoy building with hoykit! ๐