Hardware Designs and Firmware of the Open Sensor Platform
The easiest way to get started with development is to use VS Code's Dev Container feature. This ensures a consistent development environment across all developers.
- Install VS Code
- Install the Remote - Containers extension
- Open the project in VS Code
- When prompted, click "Reopen in Container" or use the command palette (F1) and select "Remote-Containers: Reopen in Container"
The container will be built and started automatically. This might take a few minutes on the first run. The container includes all required dependencies like the ESP-IDF toolchain, QEMU emulator, and Zig compiler.
If you are not using VS Code or just want to compile from the commandline you can enter the container like this:
cd dev_docker
docker compose run development -- /bin/bash
As soon as you have an active terminal session in the container, or installed the IDF 5.4 toolchain locally on your system, you can build the project like this:
make prepare # This prepares the build environment only needs to be run once!
make # This runs the default build_firmware command
The current Dev Container setup does not support flashing the board. To flash the board open a different terminal (not running in the container) and type:
make flash_monitor
- MacOS:
brew install tio - Linux: Use your system package manager
- Windows: Using msys2:
pacman -S tio
Exit tio: ctrl+t q
