Created
December 20, 2024 07:22
-
-
Save tanakamasayuki/60f4ba5532c35d17fb6d209df1126cd0 to your computer and use it in GitHub Desktop.
openai-realtime-embedded-sdk linux test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html | |
sudo apt update | |
sudo apt upgrade | |
sudo apt-get install git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0 | |
mkdir -p ~/esp | |
cd ~/esp | |
git clone --recursive https://github.com/espressif/esp-idf.git | |
cd ~/esp/esp-idf | |
./install.sh all | |
. $HOME/esp/esp-idf/export.sh | |
cd ~/esp | |
git clone --recursive https://github.com/openai/openai-realtime-embedded-sdk.git | |
# Linux | |
sudo apt install libbsd-dev | |
export WIFI_SSID=foo | |
export WIFI_PASSWORD=bar | |
export OPENAI_API_KEY=bing | |
cd ~/esp/openai-realtime-embedded-sdk | |
idf.py --preview set-target linux | |
idf.py menuconfig | |
idf.py build | |
./build/src.elf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment