What problem does it solve?
Manual handling of Keil MDK projects—scanning for .uvprojx/.uvmpw files, enumerating targets, compiling, cleaning, and flashing—requires repetitive user actions and error‑prone log inspection. This skill automates the entire flow and returns structured artifact paths for downstream tools.
Core Features & Use Cases
- Project Scan & Target Enumeration: Detect Keil projects in a directory and list available targets.
- Build Operations: Incremental build, full rebuild, and clean with configurable logging.
- Flash Compatibility: Provides a flash command (compatible entry) and prepares artifact paths for jlink/openocd.
- Log Parsing & Metrics: Extract errors, warnings, flash and RAM size from UV4 logs.
- State Management: Persists last build info to avoid unsafe flashing.
Quick Start
Ask the keil skill to build the project at './MyProject' for target 'Debug' and then flash it.