From 304e1e443dc1283efbd1fe8b4a72c13f6cfc2fe4 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 11 Feb 2025 06:58:50 +0100 Subject: fw: Move content of `firmware` here This makes the name shorter which is especially relevant for Git commit messages. --- firmware/README.md | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 firmware/README.md (limited to 'firmware/README.md') diff --git a/firmware/README.md b/firmware/README.md deleted file mode 100644 index b0d2c46..0000000 --- a/firmware/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# iot-contact Firmware - -This is the firmware for iot-contact. It is based on the Zephyr real time -operating system [1]. - -## Setup Python environment - -``` -python -m venv zephyrproject/.venv -source zephyrproject/.venv/bin/activate -pip install -r zephyrproject/requirements.txt -``` - -## Build - -``` -cmake -Bbuild -GNinja -ninja -C build -``` - -## Flash - -``` -st-flash --connect-under-reset write build/zephyr/zephyr.bin 0x8000000 -``` - -## Get shell output - -``` -picocom -b 115200 /dev/ttyACM0 -``` - -## Remove firmware from device - -``` -st-flash --connect-under-reset erase -``` - -[1]: https://zephyrproject.org -- cgit v1.2.3-70-g09d2