More tools docs

This commit is contained in:
TJ Horner
2023-03-01 10:04:22 -08:00
parent a0602c1201
commit 1986a79782
3 changed files with 12 additions and 1 deletions

9
tools/README.md Normal file
View 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`).

View File

@@ -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
View File

@@ -0,0 +1,2 @@
#!/bin/bash
platformio run -d ../test-firmware --target upload --environment test_target