You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
9 months ago | |
---|---|---|
Basic | 9 months ago | |
ESP-IDF-InkPlate@9365c7f50a | 2 years ago | |
Inkplate-documentation@b61e609081 | 2 years ago | |
macoy-esp-inkplate@2feaf53f32 | 9 months ago | |
.clang-format | 2 years ago | |
.gitignore | 2 years ago | |
.gitmodules | 9 months ago | |
Build.sh | 9 months ago | |
COPYING | 2 years ago | |
LICENSE | 2 years ago | |
ReadMe.org | 11 months ago | |
Setup.sh | 11 months ago |
ReadMe.org
Inkplate
I tried to include all documentation in order to make this project have good longetivity.
Warning: This does still download things other than submodules due to how ESP-IDF is set up.
Linux
Initial setup
Fix weird file attributes:
git config core.filemode false
You may be able to run Setup.sh
to do most of this.
git clone gitea@macoy.me:macoy/inkplate.git
cd inkplate
git submodule update --init --recursive
# ESP-IDF toolchain
sudo apt-get install git wget flex bison gperf python3 python3-pip python3-setuptools cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
cd esp-idf
#./install.sh esp32 # Didn't seem to work once I tried to run . ./export.sh
./install.sh
newgrp dialout # For Ubuntu (from https://askubuntu.com/questions/210177/serial-port-terminal-cannot-open-dev-ttys0-permission-denied)
sudo usermod -a -G dialout $USER
# Log out and back in to get port permissions!
Follow instructions in Copy ESP-IDF-InkPlate/README.md
to configure ESP.ESP-IDF-InkPlate/examples/Basic_Inkplate_Functionality/Inkplate_basic_gray/sdkconfig
to your project's directory in order to configure IDF for InkPlate.
Each run
cd esp-idf
. ./export.sh
# In the project dir:
idf.py build
# Find which port
ls /dev/tty*
Example project
cd Basic
idf.py build
idf.py -p /dev/ttyUSB0 flash
Monitor, if it doesn't work:
idf.py -p /dev/ttyUSB0 monitor
Use Ctrl+]
to quit the monitor.