pin_lock
Locks or unlocks a project pin to control whether STM32CubeMX code generation keeps or changes its mapping; set locked to true to preserve the pin assignment.
Instructions
Lock or unlock a pin so generation keeps (or may change) its mapping (lock pin <pin> <locked>).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | Yes | Pin name | |
| locked | No | true to lock | |
| project_id | Yes | Project id |