stm32_get_target_info
Fetch hardware information from a connected STM32 microcontroller: device ID, core architecture, flash size, and connection status.
Instructions
Connects to the physical STM32 microcontroller and retrieves hardware device info:
Device ID (e.g. 0x423 for STM32F401, 0x410 for STM32F103)
Device name and core architecture
Flash memory size
Connection status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | SWD | |
| freq_khz | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |