Skip to content

Instantly share code, notes, and snippets.

@AutomationD
Last active August 29, 2015 14:17
Show Gist options
  • Save AutomationD/c0ee7116424da47f59f6 to your computer and use it in GitHub Desktop.
Save AutomationD/c0ee7116424da47f59f6 to your computer and use it in GitHub Desktop.
Sming on Linux & esp_open_sdk
#####
export ESP_HOME="/opt/esp-open-sdk"
export SMING_HOME="/opt/sming/Sming"
export SDK_BASE="${ESP_HOME}/sdk"
export XTENSA_TOOLS_ROOT="${ESP_HOME}/xtensa-lx106-elf/bin"
export SDK_TOOLS="${SDK_BASE}/tools"
#################################
# Make sure the following path is pointing to your esp-open-sdk directory:
export ESP_OPEN_SDK="/opt/esp-open-sdk"
#######
export SDK_BASE="${ESP_OPEN_SDK}/sdk"
export XTENSA_TOOLS_ROOT="${ESP_OPEN_SDK}/xtensa-lx106-elf/bin"
export SDK_TOOLS="${SDK_BASE}/tools"
export ESPTOOL="${ESP_OPEN_SDK}/esptool/esptool.py"
export COMPILE="gcc"
export PATH=${ESP_OPEN_SDK}/xtensa-lx106-elf/bin:$PATH
ln -s ${SDK_TOOLS}/gen_appbin.py ${SDK_TOOLS}/gen_appbin.exe
chmod +rx ${SDK_TOOLS}/gen_appbin.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment