stm32_create_project
Create a ready-to-build STM32CubeIDE project with a valid .ioc file from MCU, pin, clock, and debug settings.
Instructions
Args: name, mcu (e.g. STM32F103C8Tx), path, pins[] ({pin, mode, label}), clock ({hse_hz, sysclk_hz} or a named preset), debug (swd/jtag/none). Writes a valid .ioc and generates the CubeIDE project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mcu | Yes | MCU part number (e.g. STM32F103C8Tx) | |
| name | Yes | Project name (e.g. blinky) | |
| path | Yes | Destination directory path for the project | |
| pins | No | Pin configurations | |
| clock | No | Clock settings | |
| debug | No | Debug interface | swd |