Espd: Difference between revisions

From SGMK-SSAM-WIKI
Jump to navigation Jump to search
mNo edit summary
Line 18: Line 18:


3) download `espd` at https://msp.ucsd.edu/ideas/2022.10.02.espd/ and unzip it to folder of your likening.
3) download `espd` at https://msp.ucsd.edu/ideas/2022.10.02.espd/ and unzip it to folder of your likening.
4) checkout puredata (inside the espd folder) and apply patches
  cd espd


5) adjust wifi settings with your ssid/password and host ip
5) adjust wifi settings with your ssid/password and host ip


   vim main/espd.h  
   vim main/espd.h
 


6) setup esp32 config
6) setup esp32 config

Revision as of 00:09, 15 February 2024

espd

How to setup and use pure data on the esp32 lyrat audio dev board

Installation from scratch

1) install espressif audio development kit

 git clone --recursive https://github.com/espressif/esp-adf.git
 cd esp-adf
 ./install.sh
 . ./export.sh

2) put an alias in .zshrc/.bashrc to source adf toolchain later

 alias get_adf='. $HOME/esp/esp-adf/export.sh'


3) download `espd` at https://msp.ucsd.edu/ideas/2022.10.02.espd/ and unzip it to folder of your likening.

4) checkout puredata (inside the espd folder) and apply patches

 cd espd

5) adjust wifi settings with your ssid/password and host ip

 vim main/espd.h


6) setup esp32 config

 cp sdkconfig.lyrat sdkconfig

7) compile

 idf.py build

8) upload

 idf.py -p /dev/ttyUSB0 flash