project_set_option
Configures STM32CubeMX project manager settings—name, path, toolchain, compiler, stack/heap size, structure, and library copy mode—and optionally persists the .ioc file.
Instructions
Set project manager options: name, path, toolchain (STM32CubeIDE/EWARM/MDK-ARM/Makefile/CMake), compiler (GCC/Starm-Clang), toolchain_location, couple_files_by_ip, generate_under_root, custom_fw_path, stack_size, heap_size, structure (Advanced/Basic), copy_library (copy all/copy only/copy as reference).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Project name | |
| path | No | Generation root directory | |
| save | No | Persist the .ioc afterwards | |
| compiler | No | Compiler/linker | |
| heap_size | No | Minimum heap size, e.g. 0x400 | |
| structure | No | Application structure | |
| toolchain | No | Toolchain | |
| project_id | Yes | Project id | |
| stack_size | No | Minimum stack size, e.g. 0x800 | |
| copy_library | No | Library copy mode | |
| custom_fw_path | No | Custom firmware package path | |
| couple_files_by_ip | No | One .c/.h per IP (true) or all in main | |
| toolchain_location | No | Explicit toolchain install path | |
| generate_under_root | No | Generate under project root |