Automates the STM32 firmware testing cycle: build, flash, and plot data.

Install

mkdir -p .claude/skills/flash-test && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14620" && unzip -o skill.zip -d .claude/skills/flash-test && rm skill.zip

Installs to .claude/skills/flash-test

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

STM32 firmware build + ST-Link flash + Python plot başlatma (test akışı)
72 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Build STM32 firmware
  • Flash firmware to STM32F411 BlackPill via ST-Link
  • Verify successful firmware upload
  • Wait for USB CDC enumeration
  • Start real-time IMU plot script in background

How it works

The skill executes a sequence of commands: `pio run` for building, `pio run -t upload` for flashing via ST-Link, waits for USB CDC enumeration, and then starts a Python plot script in the background.

Inputs & outputs

You give it
STM32F411 BlackPill firmware project
You get back
Flashed STM32 board and running Python IMU plot

When to use flash-test

  • Flash firmware to STM32 board
  • Test IMU data streaming
  • Automate firmware development cycles

About this skill

flash-test

STM32F411 BlackPill firmware'ini derler, ST-Link üzerinden flash'lar ve gerçek zamanlı IMU plot scriptini başlatır.

Akış

  1. Buildpio run çalıştır.

    • Hata varsa burada dur, hatayı kullanıcıya net göster, sonraki adımlara geçme.
  2. Flashpio run -t upload ile ST-Link üzerinden yükle.

    • "Verified OK" görmeden devam etme.
  3. USB CDC enumeration için bekle:

    sleep 3 && ls /dev/ttyACM* 2>/dev/null
    
    • /dev/ttyACM0 gözükmüyorsa kullanıcıya: "Type-C bağlantısını kontrol et" de, dur.
  4. Plot başlat — arka planda çalıştır:

    python3 plot_angles.py
    
    • run_in_background: true ile başlat ki kullanıcı plot ile etkileşime girebilsin.

Notlar

  • ST-Link bağlı olmalı (BlackPill SWD pinlerine).
  • Type-C MPU6050'den veri akışı için bağlı olmalı.
  • Plot 30 sn'de bir screenshots/ klasörüne PNG kaydeder, maks 50 dosya.

When not to use it

  • When not working with STM32F411 BlackPill
  • When ST-Link is not connected
  • When Type-C is not connected for MPU6050 data

Limitations

  • Requires ST-Link to be connected to BlackPill SWD pins
  • Requires Type-C connection for MPU6050 data stream
  • Specific to STM32F411 BlackPill and IMU plotting

How it compares

This skill automates the entire build, flash, and plot initiation process for STM32F411 BlackPill, providing a simplify workflow compared to executing each step manually.

Compared to similar skills

flash-test side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
flash-test (this skill)03moReviewIntermediate
wp-testing-core69moReviewIntermediate
bats-testing-patterns22moReviewIntermediate
orchardcore-tester16moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

wp-testing-core

mikkelkrogsholm

Core WordPress testing procedures and patterns for browser-based plugin testing. Use when testing WordPress plugins, logging into WordPress admin, verifying plugin activation, or navigating WordPress UI.

692

bats-testing-patterns

wshobson

Master Bash Automated Testing System (Bats) for comprehensive shell script testing. Use when writing tests for shell scripts, CI/CD pipelines, or requiring test-driven development of shell utilities.

215

orchardcore-tester

OrchardCMS

Tests OrchardCore CMS features through browser automation. Use when the user needs to build, run, setup, or test OrchardCore functionality including admin features, content management, media library, and module testing.

14

app-commands

growilabs

GROWI main application (apps/app) specific commands and scripts. Auto-invoked when working in apps/app.

13

e2e-tester

redpanda-data

Write and run Playwright E2E tests for Redpanda Console using testcontainers. Analyzes test failures, adds missing testids, and improves test stability. Use when user requests E2E tests, Playwright tests, integration tests, test failures, missing testids, or mentions 'test workflow', 'browser testing', 'end-to-end', or 'testcontainers'.

13

replit-load-scale

jeremylongshore

Implement Replit load testing, auto-scaling, and capacity planning strategies. Use when running performance tests, configuring horizontal scaling, or planning capacity for Replit integrations. Trigger with phrases like "replit load test", "replit scale", "replit performance test", "replit capacity", "replit k6", "replit benchmark".

13

Search skills

Search the agent skills registry