firmware

Featured

Build PlatformIO firmware and inspect real compilation, memory, artifacts and pin plans without implicitly accessing hardware.

AI & Automation 957 stars 79 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
99
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Firmware Studio `platformio.ini` selects environments, platform, board and framework. Pin platform and library versions for reproducibility; the starter uses `espressif32@6.10.0` with Arduino. Arduino code is C++: use `src/main.cpp`. Document a board's exact variant before choosing pins or peripherals. ```sh sh "$FIRMWARE_SKILLS/firmware/scripts/build-firmware.sh" sh "$FIRMWARE_SKILLS/firmware/scripts/build-firmware.sh" esp32dev ``` The helper selects the requested environment, first `default_envs` entry, or first `[env:name]`. It runs `pio run --project-dir ... -e ...` exactly once, not a second compile to read sizes. `PIO_BIN` can select an explicit binary; otherwise PATH or the package's PlatformIO venv is used. Node 20+ can come from the machine or Harness's managed runtime. Outputs: `build-status.html`, `.harness/build.json`, `.harness/build.log` and copied artifacts under `out/`. Missing memory lines display as unavailable, not fabricated zeroes. RAM is the compiler's static allocation, not a runtime peak. Flash is the selected build partition budget, not necessarily the chip's total flash capacity. Advanced inherited INI values remain source text in the dashboard; the compiler log is authoritative about the resolved target. `pins.json` contains `{"pins":[{"pin":"GPIO 2","role":"LED","direction":"Output","note":"..."}]}` and an optional top-level note. It documents intent only. The pictured board is conceptual. Review the exact board documentation for input-only ...

Details

Author
autonomous-ai
Repository
autonomous-ai/openharness
Created
1 months ago
Last Updated
today
Language
C
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

hw-firmware

Embedded firmware development capability pack for ESP32-S3/C3 + Arduino framework. Covers firmware architecture (super loop / FreeRTOS / event-driven), peripheral driver wrapping (I2C/SPI), low-power deep-sleep design, communication protocols (WiFi/BLE/MQTT/HTTPS/OTA), arduino-cli build & upload, three-layer firmware testing, and hardware documentation generation. Use for any embedded firmware, ESP32/Arduino, IoT device code, or hardware bring-up task.

3 Updated 1 weeks ago
Sheldon-92
Web & Frontend Listed

cardputer-adv

Build, flash, and debug firmware for the M5Stack Cardputer-Adv (K132-Adv, Stamp-S3A / ESP32-S3FN8) and the original Cardputer on macOS or Linux with PlatformIO + Arduino + M5Unified/M5Cardputer. Use when a task involves Cardputer hardware or firmware - scaffolding a PlatformIO project for it, fixing a boot loop / black screen / reboot cycle after flashing, choosing DIO vs QIO flash mode, the ESP32-S3 native USB-Serial-JTAG traps (esptool version, entering download mode, a serial port open resetting the chip), driving the 1.14" ST7789 display, the TCA8418 I2C keyboard, the ES8311 audio codec, or the RGB LED and backlight pins.

0 Updated 1 weeks ago
liukjx
Code & Development Listed

esp32-expert

This skill should be used when the user is writing, reviewing, debugging, or architecting C++ firmware for ESP32 and variants (ESP32-S2, S3, C3, C5, C6, H2, P4) using ESP-IDF or PlatformIO. Provides expert critique covering FreeRTOS task design, memory management (IRAM/DRAM/PSRAM), peripheral drivers (I2C/SPI/UART/GPIO), build systems (CMake/platformio.ini), power management, OTA updates, and embedded C++ best practices. Use when the user asks "review my ESP32 code", "fix FreeRTOS crash", "optimize memory usage", "debug I2C issue", "set up PlatformIO project", "review my CMakeLists", "search datasheet for this chip", "why is my task crashing", "configure deep sleep", or "help with ESP-IDF component structure".

11 Updated 1 months ago
johnkozaris