keil

Community

Automate Keil MDK project scan, build and flash

Authorzhinkgit
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: keil
Download link: https://github.com/zhinkgit/embeddedskills/archive/main.zip#keil

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.