stm32_create_project
Scaffolds a ready-to-build STM32 project with CubeMX config, main.c LED blink, linker script, and Makefile for immediate compilation.
Instructions
Scaffolds a new, ready-to-build STM32 project:
.project: Eclipse CDT project definition
<project_name>.ioc: STM32CubeMX configuration file
Core/Src/main.c: Standard embedded main entry point with LED blink loop
Core/Inc/main.h: Embedded header file
STM32_FLASH.ld: Linker script for Flash & RAM section mappings
Makefile: Standalone GNU ARM build script
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_name": "<project_name>"
},
"name": "stm32_create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_mcu | No | STM32F401RETx | |
| project_name | Yes | ||
| destination_dir | No | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |