stm32_detect_installation
Detect the STM32CubeIDE installation directory and locate all bundled toolchains, including compiler, debugger, and programmer executables, to enable automated build and flash workflows.
Instructions
Auto-detects the STM32CubeIDE installation path and all bundled toolchains:
Base IDE directory and detected version
stm32cubeide executable and console launcher
headless-build script
STM32_Programmer_CLI executable
ST-LINK_gdbserver executable
OpenOCD executable
GNU ARM toolchain (arm-none-eabi-gcc, gdb, size, objcopy)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stm32_detect_installation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |