WIP: service and broken partitions

This commit is contained in:
2025-09-15 20:33:15 +02:00
parent 089f938796
commit 98fdc3e1ae
13 changed files with 807 additions and 300 deletions

19
ctl.sh
View File

@@ -27,6 +27,25 @@ function flash {
${@:-info}
}
function mkfs {
~/bin/mklittlefs -c data \
-s 0x9000 \
-b 4096 \
-p 256 \
littlefs.bin
}
function flashfs {
esptool.py --port /dev/ttyUSB0 \
--baud 115200 \
write_flash 0xbb000 littlefs.bin
}
function uploadfs {
echo "Uploading files to LittleFS..."
pio run -e $1 -t uploadfs
}
function ota {
function update {
echo "Updating node at $1 with $2... "