From ElectroDragon
Jump to: navigation, search

Brief Info

Esp-32 brief.jpg

Schematic, pin definition


Module WROOM-32

ESP32-DevKitC Board




Esp32 pinmap.png
cd esp32/tools,  and,  python
  • Install python 2.7, and make sure pyserial installed
  • run arduino blink sketch to test, pin LED 1 will blink esp32 TX pin


esp-idf # development framwork
xtensa-esp32-elf # toolchain
<myapp-or-anyname> #esp-idf-template example, turn of wifi, and blink led GPIO4,  gpio_set_direction(GPIO_NUM_4, GPIO_MODE_OUTPUT);
<.. any other your apps>
  • first install all dependencies: sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial
  • install toolchian xtensa-esp32-elf:
in esp folder: wget
unzip toolchain: tar -xzf xtensa*.tar.gz
add PATH to enviornment: export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin, more details see on
  • clone install IDF:
in esp folder: git clone --recursive
  • clone example template:
in esp folder git clone into myapp folder: git clone myapp
  • Run a strange export command and run menu:
export IDF_PATH=~/esp/esp-idf
config menu: make menuconfig
make and flash with download tool: make flash

Reference Link