Cavli Wireless P32 Series Evaluation Kit Hardware Manual
13
Step9:
Compile the application by running following command
Make
Step10:
Flash the program into the chip
Make flash
Setting Up ESP-IDF Platform(Windows)
STEP 1:
The easiest way to install ESP-
IDF’s prerequisites is to download the ESP
-IDF
Tools installer from this URL:
https://dl.espressif.com/dl/esp-idf-tools-setup-2.0.exe
The installer includes the cross-compilers, OpenOCD, cmake and Ninja build tool, and a
configuration tool called mconf-idf. The installer can also download and run installers
for Python3.7 and Git For Windows if they are not already installed on the computer.
STEP 2:
Navigate to the folder C:\msys32\ and open the application mingw32.exe
STEP 3:
Open mingw32.exe and run the following commands
git clone --recursive https://github.com/espressif/esp-idf.git
STEP 4:
Open vim to add IDF_PATH environment variable to your MYSYS system
cd esp-idf
vim /etc/ profile.d/export_idf_path.sh
Type “i” to enter write/rea
d mode and type the following command
export IDF_PATH=”C:/msys32/home/esp
-
idf”
Please enter your esp-
idf folder path after C:/msys32 and press escape and type “:wq” to
save and exit vim.
Close and reopen MSYS terminal and type “
printenv IDF_PATH
” to
ensure the ESP-IDF is
known by the system