Please be patient as we add documentation and files for this year's project.
Initial release of python and chomper (micropython) bin file. Provision scripts and our micropython add-ons/source will be available when ready.
You can do all or none of these :).
-
sudo adduser $USER dialout<-- So we can flash and REPL without sudo -
sudo apt remove modemmanager<-- Breaks serial device permissions -
sudo apt install build-essential python3-virtualenv python3-freetype ffmpeg picocom -
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1<-- this makes python3 default (optional) -
pip3 install adafruit-ampy mpremote cmake<-- Required for provisioning
Our Micropython build was against ESP-IDF v4.2. We were not able to get a successful build with later versions, send a PR if you figure this out.
-
git clone -b v4.2 --recursive https://github.com/espressif/esp-idf.git -
cd esp-idf -
./install.sh<-- Get local copy of xtensa build tools - Delete EC-ACC cert in
esp-idf/components/mbedtls/esp_crt_bundle/cacrt_all.pemif you get agen_crt_bundle.pyerror later. This should be temporary error until expired cert is fixed. Another option is to useidf.py menuconfigin /boards/CHOMPER, traverse to the mbedTLS options, and instead of entire cert store, tick the box to only use recently issued certificates.
cd provision
./provision.sh /dev/ttyACM0
Replace /dev/ttyACM0 with whatever serial device the watch shows up as. The entire process will take several minutes and requires the following wifi to be within range
SSID: Matt Damon
PWD: WEmustSAVEhim
Wifi is used to copy the large assets, RGB files, etc which is much faster than serial.
Since Snackey was part of the project, some details such as walkthroughs will be made available.