ESP8266 Developer Zone The Official ESP8266 Forum 2021-12-11T06:39:29+08:00 https://bbs.espressif.com:443/feed.php?f=62&t=26159 2021-12-11T06:39:29+08:00 2021-12-11T06:39:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=100440#p100440 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> Statistics: Posted by spiceagent11 — Sat Dec 11, 2021 6:39 am


]]>
2020-10-02T16:03:16+08:00 2020-10-02T16:03:16+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=89573#p89573 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> The sooner Espressif roll BOTH ESP8266 and ESP32 into a single IDF, the better! run 3

Statistics: Posted by handoi — Fri Oct 02, 2020 4:03 pm


]]>
2020-08-06T18:48:27+08:00 2020-08-06T18:48:27+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=82283#p82283 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> Statistics: Posted by krankins — Thu Aug 06, 2020 6:48 pm


]]>
2020-03-19T07:32:52+08:00 2020-03-19T07:32:52+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=74399#p74399 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> Hopefully they will polish that SDK and make it super efficient

Statistics: Posted by Deous — Thu Mar 19, 2020 7:32 am


]]>
2020-03-16T13:25:10+08:00 2020-03-16T13:25:10+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=74330#p74330 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]>

Code:

    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’.
    Download Ninja
          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
              ESP-IDF             https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2019r2-win32.zip
              ESP8266             https://dl.espressif.com/dl/xtensa-lx106-elf-win32-1.22.0-100-ge567ec7-5.2.0.zip
         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.
         Run 
             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
               esp32                                    esp8266
                 |-- 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

Statistics: Posted by mriksman — Mon Mar 16, 2020 1:25 pm


]]>
2020-03-16T11:28:52+08:00 2020-03-16T11:28:52+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=74327#p74327 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> Can you tell the steps of your toolchain installation in details ? Thanks

Statistics: Posted by Deous — Mon Mar 16, 2020 11:28 am


]]>
2020-03-16T05:38:04+08:00 2020-03-16T05:38:04+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=74323#p74323 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> What issues are you facing?

Statistics: Posted by mriksman — Mon Mar 16, 2020 5:38 am


]]>
2020-03-16T04:47:34+08:00 2020-03-16T04:47:34+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=74321#p74321 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> I was able to use only toolchain 1.0 (Windows 10) with Python 2.7

Statistics: Posted by Deous — Mon Mar 16, 2020 4:47 am


]]>
2020-03-15T13:07:39+08:00 2020-03-15T13:07:39+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=74297#p74297 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> A `git describe` in the sdk directory shows 3.2-405 for ESP8266 RTOS SDK and 4.2-dev-662 for ESP-IDF.

Statistics: Posted by mriksman — Sun Mar 15, 2020 1:07 pm


]]>
2020-03-15T03:47:20+08:00 2020-03-15T03:47:20+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=74289#p74289 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> Statistics: Posted by Deous — Sun Mar 15, 2020 3:47 am


]]>
2020-03-13T23:41:48+08:00 2020-03-13T23:41:48+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=74242#p74242 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> The sooner Espressif roll BOTH ESP8266 and ESP32 into a single IDF, the better!

Statistics: Posted by mriksman — Fri Mar 13, 2020 11:41 pm


]]>
2020-03-13T23:31:58+08:00 2020-03-13T23:31:58+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=74241#p74241 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> The code is not entirely identical but uses same esp-idf style and it is ridiculously easy to modify for esp8266.

Statistics: Posted by Deous — Fri Mar 13, 2020 11:31 pm


]]>
2020-03-11T16:13:16+08:00 2020-03-11T16:13:16+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=74172#p74172 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> Statistics: Posted by mriksman — Wed Mar 11, 2020 4:13 pm


]]>
2020-03-03T23:33:39+08:00 2020-03-03T23:33:39+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=73988#p73988 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]>
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
Cheers

Statistics: Posted by Deous — Tue Mar 03, 2020 11:33 pm


]]>
2019-12-18T17:00:28+08:00 2019-12-18T17:00:28+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=70510#p70510 <![CDATA[Re: Compiling rtos sdk idf project with CMake]]> Statistics: Posted by Guest — Wed Dec 18, 2019 5:00 pm


]]>
2019-02-15T00:56:59+08:00 2019-02-15T00:56:59+08:00 https://bbs.espressif.com:443/viewtopic.php?t=26159&p=37627#p37627 <![CDATA[Compiling rtos sdk idf project with CMake]]> Any thoughts or advices how to fix it ?
Thanks

Statistics: Posted by Deous — Fri Feb 15, 2019 12:56 am


]]>