convert-keil-to-cmake - Convert Keil embedded projects to CMake builds
Convert Keil MDK/uVision embedded projects into reproducible CMake builds using Ninja and Arm GNU toolchain with bilingual documentation.
Tags
Updated: 2026-09-23Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Extract sources, includes, and defines
- Translate flags and scatter files
- Generate CMake and toolchain files
- Check build environment prerequisites
- Validate CMake builds against Keil
- Generate bilingual user build documentation
Inputs
- Keil project files (.uvprojx, .uvoptx)
- Startup files and scatter files
- Device packs and linker scripts
Outputs
- CMakeLists.txt and toolchain file
- GNU linker script (.ld)
- Environment check script
- Firmware artifacts (.elf, .bin, .hex, .map)
- Bilingual CMAKE_BUILD.md document
Requirements
- Python runtime environment
- CMake and Ninja build tools
- Arm GNU toolchain (arm-none-eabi-gcc)
