Roommate is a project to create a conference room gadget that displays availability, takes impromptu reservations, etc.
This repo contains code for the embedded device, an Espressif ESP32 running Amazon FreeRTOS.
Embedded Device | Cloud Backend |
---|---|
atomicobject/roommate | atomicobject/roommate-lambda |
git clone --recursive [email protected]:atomicobject/roommate.git
We're using Amazon FreeRTOS as a (pristine) submodule, which makes this a little tricky.
-
Edit amazon-freertos/tools/aws_config_quick_start/configure.json (documented in the adjacent README.md)
-
From the make directory,
make setup-aws
to perform freertos' initial setup (consumes configure.json, generates headers, pulls down certs, etc.) -
make save-new-board BOARD=a-great-board-name
to save a board profile and select it as default
You may have noticed that the setup-aws step modifies versioned files in the submodule. After saving the board, you can discard changes to the submodule.
You can repeat the above process for as many boards/environments as you choose, e.g. in order to have different board configurations for different wifi networks.
Use make use-board BOARD=a-great-board-name
to switch to another (already-saved) board profile.
Usage information is available via make roommate-help
.
To build and flash
cd make
then
make flash monitor