mirror of
https://github.com/tjhorner/upsy-desky.git
synced 2026-01-07 22:53:52 -05:00
More tools docs
This commit is contained in:
9
tools/README.md
Normal file
9
tools/README.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Tools
|
||||
|
||||
## `oem-flash.sh`
|
||||
|
||||
This script is used before shipment to flash the Upsy Desky with the stock firmware, and to reprogram the CP2102 USB-to-serial chip with the correct name and serial (based on MAC address).
|
||||
|
||||
## `test-flash.sh`
|
||||
|
||||
Flashes the test firmware with PlatformIO (see `../test-firmware`).
|
||||
@@ -9,4 +9,4 @@ then
|
||||
echo "cp210x-cfg was not found; CP2102 will not be serialized or renamed"
|
||||
else
|
||||
cp210x-cfg -N "Upsy Desky" -S $MAC_ADDR
|
||||
fi
|
||||
fi
|
||||
|
||||
2
tools/test-flash.sh
Normal file
2
tools/test-flash.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
platformio run -d ../test-firmware --target upload --environment test_target
|
||||
Reference in New Issue
Block a user