project_generate
Generates a complete STM32CubeMX project for a selected toolchain, including firmware drivers and IDE files, with optional handling for missing firmware package downloads.
Instructions
Generate the complete project (CubeMX code + firmware drivers + IDE project files) for a toolchain, exactly like project generate. CubeMX may need a my.st.com login to download a missing firmware package; this is reported in warnings with status KO.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Project name used for the generated project | |
| timeout | No | Generation timeout in seconds | |
| compiler | No | Compiler/linker | |
| max_files | No | Max paths to list | |
| toolchain | No | Toolchain | |
| output_dir | No | Generation root (default project_dir/generated) | |
| project_id | Yes | Project id | |
| repository | No | Override the firmware repository path | |
| under_root | No | Generate files under the project root | |
| allow_download | No | Let CubeMX attempt a headless download (can stall; install the package instead) | |
| custom_fw_path | No | Alternative firmware package path | |
| couple_files_by_ip | No | One file per IP | |
| retry_missing_code | No | Regenerate once when only drivers were copied |