tianzhenyu516-alt/ai-agent-skills-toolkit / embedded/keil-uv5-stm32
keil-uv5-stm32
VerifiedWork on Keil uVision 5 STM32 firmware projects with target-aware build, linker, startup, and debug checks.
keil-uv5-stm32
Use this skill for the named platform or workflow. Apply only instructions relevant to the user's actual target; do not assume tools, hardware, or services are installed.
Confirm the hardware and documents first
Before assigning pins, configuring peripherals, or choosing register values, ask: “请说明你现在使用的芯片完整型号、开发板/模组型号与硬件版本,并提供数据手册、开发板原理图或引脚表的链接或本地路径。” Inspect those documents and the current project before giving a specific pinout. If the user has not supplied or identified authoritative hardware documentation, give only general guidance and clearly mark any candidate mapping as unverified. Do not silently reuse pin assignments from a different board or chip.
If a supplied schematic conflicts with local notes, follow the schematic and explain the discrepancy.
Inspect the project
Inspect the .uvprojx project, selected target, device family, packs, compiler, startup file, scatter file, and STM32 HAL/LL version. Locate local tools from the environment instead of hardcoded user paths.
Make the change
Keep Cube-generated code inside designated user sections if regeneration is expected. Check RCC configuration, pin alternate functions, NVIC priorities, DMA ownership, and the actual MCU's memory map before editing peripheral code.
Verify and report
Build the selected target and inspect warnings and size output. Test flashing and peripheral behavior only with the matching board and probe; otherwise provide a concrete board test checklist.
Report what changed, evidence from commands or measurements actually performed, and what remains unverified.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |