cubemx_configure
Apply STM32CubeMX pin and peripheral settings to an .ioc file by executing set commands and saving the updated configuration back to the original file.
Instructions
加载 .ioc,依次执行 set 命令,最后 saveas 写回原文件。
参数: ioc: 工程 .ioc 文件绝对路径(会被写回,先备份再调用) commands: 命令列表,如 ["set mode USART1 Asynchronous", "set pin PB13 GPIO_Output"]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ioc | Yes | ||
| commands | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |