ScriptForge
Automate flashing workflows with FirmHub's scripting engine.
ScriptForge is currently under development. Join our Discord for updates and early access.
Overview
ScriptForge allows you to create automated flashing workflows:
- • Batch flash multiple devices
- • Automate testing sequences
- • Create production flashing scripts
- • Configure device settings after flash
Example Script
flash-and-configure.sf
# ScriptForge Example
device esp32
# Flash firmware
flash firmware.bin at 0x10000
# Wait for boot
wait 3000
# Connect serial
serial open 115200
# Configure WiFi
serial send "wifi.ssid=MyNetwork"
serial send "wifi.pass=MyPassword"
serial send "save"
log "Device configured successfully"Available Commands
| Command | Description |
|---|---|
| device | Set target device type |
| flash | Flash firmware file |
| erase | Erase flash memory |
| serial | Serial port operations |
| wait | Pause for milliseconds |
| log | Output message to log |