No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
badge
esp-idf @ 9a55b42
lvgl @ 47fb0af
lvgl-epd
lvgl-upython-glue
micropython @ 779888e
scripts
.gitignore
.gitmodules
.travis.yml
README.md
lv_conf.h

README.md

ohs2018-badge-firmware

Install Toolchain

Install Toolchain Dependancies

sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial

Download and unpack Toolchain

for 64-bit Linux: https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz

for 32-bit Linux: https://dl.espressif.com/dl/xtensa-esp32-elf-linux32-1.22.0-80-g6c4433a-5.2.0.tar.gz

Extract

mkdir -p ~/esp
cd ~/esp
tar -xzf ~/Downloads/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz

PATH Variable

Add the following to the end of your ~/.bashrc file

export PATH="$PATH:$HOME/esp/xtensa-esp32-elf/bin"

Setup Project

Install Project Dependencies

sudo apt-get install build-essential libreadline-dev libffi-dev git pkg-config

Setup the Repo

cd ~/ohs2018-badge-firmware/
git submodule update --init --recursive

Setup ESPIDF Variable

add this to the end of your ~/.bashrc file

export ESPIDF="$HOME/ohs2018-badge-firmware/esp-idf"

Build The Firmware

cd micropython/
make -C mpy-cross
cd ports/esp32/
make

make erase
make deploy