File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1+ venv
Original file line number Diff line number Diff line change 1- all : build
1+ all : deps build
2+
3+ deps :
4+ # esp32 depends on Python + pyserial :(
5+ python3 -m venv venv
6+ ./venv/bin/pip install --upgrade pip
7+ ./venv/bin/pip install pyserial
8+
9+ # Update package index
10+ arduino-cli core update-index
11+ # Install feather esp32 core
12+ arduino-cli core install esp32:esp32
13+ # Other library dependencies
14+ arduino-cli lib install Button2@1.6.1
15+ arduino-cli lib install Ramp@0.5.0
16+ arduino-cli lib install ESP32Servo@0.9.0
217
318build :
4- echo " TODO"
19+ # TODO: This is hard coded to build for featheresp32
20+ # Might want to parameterize this in the future if additional
21+ # boards are supported.
22+ PATH=" $$ PWD/venv/bin:$$ PATH" arduino-cli compile -b esp32:esp32:featheresp32 .
You can’t perform that action at this time.
0 commit comments