blob: f58008ff7de519a9c991591aeaa59b0c63922266 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# soundbox firmware
This is the firmware for soundbox. 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
```
esptool.py --chip auto write_flash 0x1000 build/zephyr/zephyr.bin
```
## Get shell output
```
picocom -b 115200 /dev/ttyUSB0
```
[1]: https://zephyrproject.org
|