Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 2.62 KB

README.md

File metadata and controls

38 lines (22 loc) · 2.62 KB

Roommate - Embedded

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
CircleCI CircleCI

Clone (with submodules)

git clone --recursive [email protected]:atomicobject/roommate.git

Initial Setup

We're using Amazon FreeRTOS as a (pristine) submodule, which makes this a little tricky.

  1. Edit amazon-freertos/tools/aws_config_quick_start/configure.json (documented in the adjacent README.md)

  2. From the make directory, make setup-aws to perform freertos' initial setup (consumes configure.json, generates headers, pulls down certs, etc.)

  3. 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.

Build and Run

To build and flash cd make then make flash monitor