project_create
Creates a CubeMX project from an MCU part number, board, or existing .ioc clone, then saves it as project.ioc in the workspace projects folder.
Instructions
Create a CubeMX project. Give exactly one of mcu (part number or db RefName, e.g. STM32F103C8T6), board (e.g. NUCLEO-F030R8) or ioc (existing .ioc to clone). Optionally set toolchain and output_dir. The project is immediately saved as /projects//project.ioc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ioc | No | Path to an existing .ioc to clone | |
| mcu | No | MCU part number (STM32F103C8T6) or CubeMX RefName | |
| name | Yes | Human readable project name; becomes the project id slug | |
| board | No | Board name (NUCLEO-F030R8) | |
| toolchain | No | Toolchain for generation | |
| board_mode | No | Board load mode | nomode |
| output_dir | No | Directory where project generation should write |