nullclaw hardware command provides utilities for discovering and managing hardware peripherals like Arduino boards, STM32/Nucleo devices, and Raspberry Pi.
Subcommands
Supported Hardware
NullClaw supports:hardware scan
Scan for connected hardware devices:Example Output
hardware flash
Flash firmware to a device:Options
string
required
Firmware file to flash (.hex, .elf, .bin)
string
Serial port (default: auto-detect)
number
Baud rate for serial flashing (default: 115200)
Flash Process
1
Detect device
Auto-detect device by VID:PID or use
--port to specify2
Select flash tool
- Arduino:
avrdude - STM32/Nucleo:
probe-rs - ESP32:
esptool.py
3
Flash firmware
Execute flash command with appropriate tool
4
Verify
Read back and verify flash contents
hardware monitor
Monitor serial output from a device:Example
Known Devices Registry
NullClaw maintains a registry of known USB VID/PID mappings:Prerequisites
Arduino
STM32/Nucleo
ESP32
Agent Integration
Hardware peripherals are accessible via tools:hardware_info and hardware_memory tools to interact with devices.
See Hardware Guide for detailed integration examples.
Examples
Scan for devices
Flash Arduino
Flash STM32
Monitor serial output
Troubleshooting
Device not detected
- Check USB connection
- Verify device appears in system:
- Add user to dialout group (Linux):
Permission denied
Flash tool not found
Wrong baud rate
See Also
- Hardware Guide - Detailed integration guide
- Peripherals Configuration - Configure hardware access
- Tools - Hardware interaction tools