hardware-test-gen

Generate Unity test firmware for ESP32-S3 prototype hardware validation.

2|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/pjcau/esp32-emu-turbo --skill hardware-test-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hardware-test-gen
Source: https://github.com/pjcau/esp32-emu-turbo/tree/main/.claude/skills/hardware-test-gen
Command: npx skills add https://github.com/pjcau/esp32-emu-turbo --skill hardware-test-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It automates the creation of Unity test firmware to verify that all GPIOs, buses, and peripherals on a newly assembled ESP32 prototype board are functioning correctly.

Core Features & Use Cases

  • Test Generation: Reads board_config.h and produces a C test suite covering buttons, LCD bus, SD SPI, I2S audio, USB, power rail ADC, LED indicator, and PSRAM integrity.
  • Build & Flash Options: Provides two methods to compile and flash the generated firmware using ESP‑IDF.
  • Result Interpretation: Summarizes test outcomes via serial output to quickly identify hardware defects.
  • Use Case: After PCB assembly, run this skill to perform a comprehensive hardware sanity check before integrating emulator software.

Quick Start

Run the hardware-test-gen skill to generate and flash the validation firmware on your ESP32 board.

Frequently Asked Questions about hardware-test-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Unity test firmware to validate ESP32 prototype hardware?

To generate Unity test firmware for ESP32 hardware validation, provide your board_config.h definitions and ESP-IDF build tools to automatically produce a C test suite covering peripherals like GPIO, SPI, I2S, and PSRAM.

What components are covered by automated ESP32 hardware validation tests?

Automated ESP32 hardware validation tests cover GPIO pins, LCD bus, SD card SPI, I2S audio, USB, power rail ADC, LED indicators, buttons, and PSRAM integrity to verify prototype board assembly.

Does ESP32 hardware validation testing require specific board configuration files?

ESP32 hardware validation testing requires a board_config.h file containing pin definitions and peripheral mappings, which the generator reads to produce 20 comprehensive hardware sanity checks.

How do I interpret serial output results from ESP32 hardware validation tests?

Serial output from ESP32 hardware validation tests summarizes test outcomes to quickly identify hardware defects across buses and peripherals after PCB assembly.

Can I use ESP-IDF to compile and flash generated ESP32 hardware validation firmware?

You can compile and flash generated ESP32 hardware validation firmware using two methods provided by the ESP-IDF build tools for testing assembled ESP32-S3 boards.

When do I need to run hardware validation tests on an assembled ESP32 board?

Run hardware validation tests on an assembled ESP32 board after PCB assembly to perform a comprehensive hardware sanity check before integrating emulator software.