Skip to content

Instantly share code, notes, and snippets.

@acoomans
Created September 10, 2018 22:46
Show Gist options
  • Save acoomans/7785390a4ec68cb25c76fffe95174c47 to your computer and use it in GitHub Desktop.
Save acoomans/7785390a4ec68cb25c76fffe95174c47 to your computer and use it in GitHub Desktop.
## ESP32
# https://docs.espressif.com/projects/esp-idf/en/latest/get-started/
git clone --recursive https://github.com/espressif/esp-idf.git
pip install -r esp-idf/requirements.txt
export IDF_PATH="$HOME/src/esp-idf"
# start project
cp -r $IDF_PATH/examples/get-started/hello_world .
cd hello_world
make menuconfig
echo "serial devices:"
ls -1 /dev/cu.*
make flash
## ESP8266
cd $HOME/src
git clone https://github.com/espressif/ESP8266_RTOS_SDK.git
export SDK_PATH=$HOME/src/ESP8266_RTOS_SDK
export BIN_PATH=$HOME/src/ESP8266_BIN
cp -r $SDK_PATH/examples/get-started/project_template esp8266_project_template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment