free_serial_port
Terminate processes that lock a serial port, freeing it for firmware flashing or serial monitoring; use force to send SIGKILL instead of SIGTERM.
Instructions
Terminate processes that are locking a serial port so it can be used for flashing or monitoring.
Args: port: Device path (e.g., '/dev/ttyUSB0' or '/dev/ttyACM0'). force: Send SIGKILL instead of SIGTERM if true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||