gpio_set
Configure a GPIO pin parameter in an STM32CubeMX project, such as mode, pull, speed, label, or output level, by applying the change through the engine or .ioc edit and reload.
Instructions
Set a GPIO parameter (GPIO_Label, GPIO_Mode, GPIO_PuPd, GPIO_Speed, GPIO_OutputLevel...). Uses the engine when the CLI branch accepts it and otherwise edits the .ioc and reloads it, which produces the same file the GUI writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | Yes | Pin name | |
| param | Yes | GPIO parameter name | |
| value | Yes | Value, e.g. LED or GPIO_MODE_OUTPUT_PP | |
| reload | No | Reload the .ioc after a direct edit | |
| project_id | Yes | Project id |