| name | platform-migration |
| description | Plan and execute porting between MCU platforms with peripheral mapping, HAL replacement, and build adaptation. |
| allowed-tools | Read, Glob, Grep, Bash |
Platform Migration
Porting plan and execution guide for MCU migrations.
Purpose
Create a repeatable porting plan and implementation.
Workflow
- Compare source and target peripheral sets.
- Map pinouts and electrical constraints.
- Replace HAL/vendor SDK calls with target equivalents.
- Update build scripts and linker files.
- Produce flash/debug instructions and verification steps.
Scripts
| Script | Purpose | Command |
|---|
scripts/platform_migration.py | Migration checklist generator | python scripts/platform_migration.py <target> |