ESP32 firmware for the lifesensor project.
See components/README.md for an overview of features.
This repository features multiple idf projects for different purposes.
- lifesensor
- main project
- lifesensor_test
- unit tests of components
- via Docker
- Choose flavor
- i.e.
cd lifesensor
- i.e.
- Building
make build
- creates idf docker image if needed
- starts idf docker container to build project
- Choosing device
make dev
- configures which serial port to use
- Flashing
make flash
- creates idf docker image if needed
- starts idf docker container to flash project to connected ESP via specified device by
make dev
- Monitoring
make monitor
- creates idf docker image if needed
- starts idf docker container to connect to ESP via specified device by
make dev
- Choose flavor
- via local esd-idf toolchain
- Choose flavor
- i.e.
cd lifesensor
- i.e.
- Building
idf.py build
- Flashing
idf.py flash -p <device>
- Monitoring
idf.py monitor -p <device>
- Choose flavor
Important: Qemu port of the xtensa architecture is in active development, each docker image creation builds with latest version, mileage may vary!
- via Docker
- simple execution
- Choose flavor
- i.e.
cd lifesensor
- i.e.
- Building
make build
- creates idf docker image if needed
- starts idf docker container to build project
- Start qemu
make qemu
- creates qemu docker image if needed
- starts qemu docker container to simulate project
- Choose flavor
- with gdb
- Choose flavor
- i.e.
cd lifesensor
- i.e.
- Building
make build
- creates docker docker image if needed
- starts qemu docker container to simulate project
- Start qemu and wait for gdb connection
make qemu-gdb
- creates qemu docker image if needed
- starts qemu docker container to simulate project
- Start gdb and connect to qemu in second terminal
make gdb-qemu
- starts idf docker container to run gdb
- Choose flavor
- simple execution
See CONTRIBUTING.md