From 13add8c6072c8311620217acd576b16ba37b13c3 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 3 Nov 2024 20:11:25 +0100 Subject: WIP: firmware: Adapt flash and erase commands to Espressif TODO: This does not work currently. --- firmware/README.md | 6 +++--- 1 file 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 -- cgit v1.2.3-70-g09d2