!
5.3. The hello_world Example
The esp-idf/examples/01_hello_world directory contains a sample code that can be run
on the ESP32.
1. Using the command terminal, change the current directory to example/01_hello_world:
cd examples/01_hello_world/
2. Configure IDF_PATH:
export IDF_PATH=/home/share/esp-idf-driver/esp-idf
3. Check the IDF_PATH configuration to make sure it is properly set. Failing to set the path
will cause failure to the linking of dependent files later.
echo $IDF_PATH
4. Compile the program to generate BIN files. These BIN files have to be downloaded to
the ESP-WROVER-KIT. Please see Sections 5.3.1 and 5.3.2 for detailed instructions.
5.3.1. Using the ESP32 DOWNLOAD TOOL
Execute the following command in the terminal to make the example project and generate
executable BIN files:
make
Three BIN files need to be downloaded: example/01_hello_world/bootloader/
bootloader.bin, example/01_hello_world/partitions_singleapp.bin and example/
01_hello_world/hello-world.bin. Then, users can flash these BIN files by using the ESP32
DOWNLOAD TOOL. Please follow the steps below:
Note:
Please download the FLASH DOWNLOAD TOOL at:
http://espressif.com/en/support/download/other-tools?keys=&field_type_tid%5B%5D=13.
1. Open the ESP32 DOWNLOAD TOOL.
2. Configure the download tool and click on "START", as shown below:
⚠ Notice:
Most computers will automatically reset the ESP32 into download mode when you start uploading. If this
does not work on your computer, try holding down the Boot button (and possibly pressing and releasing the
EN button) when starting the upload.
Espressif
11
!
/15
5. Compilation and Download
2017.01
Need help?
Do you have a question about the ESP-WROVER-KIT and is the answer not in the manual?
Questions and answers