- Edited
Great. There is something else that needs to be said: if you want to make the process even faster, you can run hvcc
on your own computer.
Preparation:
- Search online for instructions to install
python2.7
andpip
(on Mac,python
is already installed*) - install
hvcc
, same as above:git clone https://github.com/giuliomoro/hvcc.git cd hvcc/ pip install -r requirements.txt
Usage (almost same as above):
python2.7 ~/hvcc/hvcc.py /path/to/source/project/_main.pd -o /tmp/hvtmp -n bela -g c
ssh root@192.168.7.2 mkdir -p Bela/projects/HeavyProjectName
rsync -av /path/to/Bela/scripts/hvresources/render.cpp /tmp/hvtmp/c/* root@192.168.7.2:Bela/projects/HeavyProjectName/
ssh root@192.168.7.2 make -C Bela PROJECT=HeavyProjectName COMPILER=gcc run
make sure you bring up a page with the IDE at least once after every reboot of the board before you run the above, so that the date is set appropriately on the board and you avoid problems during the build.
* On my Mac, I have two versions of python 2.7, not sure how that happened, but pip
installs packages for the one I invoke by calling python
, and not for the one I obtain calling python2.7
.
EDIT: on 26/12/2018 I edited this post to clone from github.com/giuliomoro/hvcc
instead of github.com/enzienaudio/hvcc