Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.17 KB

readme.md

File metadata and controls

45 lines (30 loc) · 1.17 KB

Using arduino-cli

Install the board

arduino-cli config add board_manager.additional_urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
arduino-cli core install esp32:[email protected]

Get board details

On Windows 11 board should be showing as esp32:esp32:XIAO_ESP32S3 but instead might show as esp32:esp32:nora_w10, esp32:esp32:wifiduino32c3, or something else.

arduino-cli board list
arduino-cli board details -b esp32:esp32:XIAO_ESP32S3

Compile and upload

Change COM5 to the port name from the board list output

arduino-cli compile --build-path build --output-dir dist -e -u -p COM5 -b esp32:esp32:XIAO_ESP32S3:PSRAM=opi

Opus support

Go to your Arduino libraries folder.

You can get the libraries folder location with the following command:

arduino-cli config get directories.user

Note: You have to add /libraries to the path to get the libraries folder.

Then clone the two libraries needed to add Opus support:

git clone https://github.com/pschatzmann/arduino-libopus.git
git clone https://github.com/pschatzmann/arduino-audio-tools.git