summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-11-03 20:11:25 +0100
committerxengineering <me@xengineering.eu>2024-11-03 20:11:25 +0100
commit13add8c6072c8311620217acd576b16ba37b13c3 (patch)
tree6df0249eda4948c19242e7be038fde4cef3383ca
parentfa82565b1ce78e39452fc1370e674912cc9ca75f (diff)
downloadiot-contact-13add8c6072c8311620217acd576b16ba37b13c3.tar
iot-contact-13add8c6072c8311620217acd576b16ba37b13c3.tar.zst
iot-contact-13add8c6072c8311620217acd576b16ba37b13c3.zip
WIP: firmware: Adapt flash and erase commands to Espressifesp32s2_devkitm
TODO: This does not work currently.
-rw-r--r--firmware/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/README.md b/firmware/README.md
index b0d2c46..52cdbac 100644
--- a/firmware/README.md
+++ b/firmware/README.md
@@ -21,19 +21,19 @@ ninja -C build
## Flash
```
-st-flash --connect-under-reset write build/zephyr/zephyr.bin 0x8000000
+esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash 0x0 build/zephyr/zephyr.bin
```
## Get shell output
```
-picocom -b 115200 /dev/ttyACM0
+picocom -b 115200 /dev/ttyUSB0
```
## Remove firmware from device
```
-st-flash --connect-under-reset erase
+st-flash --connect-under-reset erase # FIXME
```
[1]: https://zephyrproject.org