Can you tell the steps of your toolchain installation in details ? Thanks
Code: Select all
Install Git For Windows
Install Python 3.x (ESP-IDF makes a note that their may be issues with 3.x and to use 2.7)
Install CMake For Windows
When the installer asks for Install Options, select ‘Add CMake to the system PATH for the current user’.
Extract the executable file to the bin folder within CMake.
As CMake is now in the PATH environment variable, you won’t have to add another PATH.
Download the Toolchain
Create a folder called esp32 (or esp8266)
Extract xtensa-esp32-elf (or xtensa-lx106-elf) folder into it.
Download the SDK
Open PowerShell and navigate to the esp32/esp8266 folder.
git clone --recursive https://github.com/espressif/esp-idf.git
git clone --recursive https://github.com/espressif/ESP8266_RTOS_SDK.git
The folder structure will look like this
|-- esp-idf |-- ESP8266_RTOS_SDK
└-- xtensa-esp32-elf └-- xtensa-lx106-elf
Install the Python dependencies
pip install -r "path\to\esp32\esp-idf\requirements.txt"
For ESP-IDF pre 4.0 and ESP RTOS SDK v3.x, you’ll need to supply a prebuilt binary called mconf-idf. Place the files in esp8266\ESP8266_RTOS_SDK\tools
I saw a reference to issues with ESP-IDF and Python 3.x on Espressif’s documents, but so far I haven’t had any issues.
Deous wrote:OK just to let anybody know - ESP8266_FREERTOS_SDK IDF style word counter can compile esp32 code
I tested it and works fine. No flash tool needed or Arduino hassle.
I tested esp-01 and esp8285 all works very nice and compiles with CMake
Just download sdk and new toolchain
i agree, Fast, neat and useful!
The sooner Espressif roll BOTH ESP8266 and ESP32 into a single IDF, the better! run 3
Who is online
Users browsing this forum: No registered users and 4 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!