- Renamed mamba_protocol.py → balance_protocol.py; updated all importers - can_bridge_node.py rewritten to use balance_protocol.py API (ESP32-S3 BALANCE) - test_can_bridge.py rewritten to test actual balance_protocol.py constants/functions - All STM32/Mamba references in Python, YAML, Markdown, shell scripts replaced: * Hardware: MAMBA F722S → ESP32-S3 BALANCE/IO * Device paths: /dev/stm32-bridge → /dev/esp32-io * Node names: stm32_serial_bridge → esp32_io_serial_bridge * hardware_id: stm32f722 → esp32s3-balance/esp32s3-io - C/C++ src/include/lib/test files: added DEPRECATED header comment - Covers: saltybot_bridge, saltybot_can_bridge, saltybot_can_e2e_test, saltybot_bringup, saltybot_diagnostics, saltybot_mode_switch, and all chassis, docs, scripts, and project files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
323 B
Bash
Executable File
14 lines
323 B
Bash
Executable File
#!/bin/bash
|
|
# Flash SaltyLab — auto-reboot to DFU if serial port exists
|
|
PORT=/dev/cu.usbmodemSALTY0011
|
|
FW=.pio/build/esp32s3/firmware.bin
|
|
|
|
if [ -e "$PORT" ]; then
|
|
echo "Sending reboot-to-DFU..."
|
|
echo -n 'R' > "$PORT"
|
|
sleep 2
|
|
fi
|
|
|
|
echo "Flashing..."
|
|
/opt/homebrew/bin/dfu-util -a 0 -s 0x08000000:leave -D "$FW"
|