stm32_flash
Flash compiled .elf firmware to STM32 microcontrollers over SWD with STM32 Programmer CLI. Confirm the write to target hardware and reset the device to start running the new firmware.
Instructions
STM32_Programmer_CLI -c port=SWD -w -rst. Requires confirm: true. Default is refuse.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Programmer interface port (default: SWD) | SWD |
| reset | No | Whether to reset target device after flashing | |
| confirm | No | Must pass true to confirm flashing to target hardware | |
| elfPath | Yes | Path to .elf binary or project folder containing Debug/*.elf |