Various drivers for the Skia Sentinel, a tentative Air Quality Monitor "framework."
You need a Linux machine, or Git Bash, or a similar environment (with a POSIX shell, coreutils, etc).
This only needs to be executed once.
Execute:
./scripts/devcontainer-init.sh
Anytime a new devcontainer configuration is changed and you need to regenerate devcontainer.json and any other supporting file. Just beware that any changes done to devcontainer-related files will be overwritten. This includes the following files:
None of those files are tracked by Git. If you made any changes to them in order to adapt to your local environment, it's advisable to either make a backup before updating, or introduce the changes manually.
Regardless, in order to re-generate files, just execute:
./scripts/devcontainer-init.sh -p
# Optionally:
./scripts/devcontainer-init.sh --pristine
In case you're running the project inside a devcontainer, initialize the repository first. See the previous section for details on such a procedure.
Initializing the project only needs to be executed once.
Execute:
NOTE: This command should be performed INSIDE your development environment (i.e. the devcontainer, if you're using it).
./scripts/dev-init.sh
In case the script is changed (e.g. to add support to some toolchain, or to install blobs needed by the boards the project supports, etc.), you can just execute it again. All it does is initialize/update West and Zephyr, among other trivial things.
Execute:
./scripts/dev-build.sh
Only the Wemos Lolin C3 Mini is supported, at the moment. But you can change the board by setting the BOARD
variable in the .env
file (this file is created by dev-init.sh
, based on .env.sample
file).
Execute:
./scripts/dev-flash.sh