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]
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
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
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