It's literally in the title bruv
This project is based on platformio, an add-on for visual studio code.
In order to get access to secret tokens used in this project, do this:
- Setup your doppler account (you may login via github oauth)
- Get invitation to hsp workspace
- Authorize your machine, by using
doppler login
(follow instructions) - Run
doppler setup -p hsp-iot-secrets -c dev
- Generate
secrets.h
header file./generate_secret_header.py
In order for our script to work properly, one must execute it in platformio
environment. You can acquire it by clicking "terminal" icon in VSCode's bottom bar.
In this terminal, run upload_ota.sh <target device IP>
Take care, OTA may not work if your computer has firewall active.
If monitoring keeps the target in reset state, manually perform DTR/RTS sequence by typing following keys in order:
CTRL + [T,D,T,R]
# sht4x-oled-demo