Compiling rtos sdk idf project with CMake
Compiling rtos sdk idf project with CMake
Postby Deous » Fri Feb 15, 2019 12:56 am
I am not sure if anyone tried that but I was able to compile and flash nodeMCU under Windows 10 using VSC IDE and CMake tools supplied with rtos sdk for esp-idf. Anyways looked good except code does nothing. Blue led is on and that's it.
Any thoughts or advices how to fix it ?
Thanks
Any thoughts or advices how to fix it ?
Thanks
Re: Compiling rtos sdk idf project with CMake
Postby flynnpayne » Wed Dec 18, 2019 5:00 pm
How did you fix it?
Re: Compiling rtos sdk idf project with CMake
Postby Deous » Tue Mar 03, 2020 11:33 pm
OK just to let anybody know - ESP8266_FREERTOS_SDK IDF style 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
Cheers

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
Re: Compiling rtos sdk idf project with CMake
Postby Deous » Fri Mar 13, 2020 11:31 pm
It is incomplete answer but - YES. You compile code with same idf.py command but you need to switch IDF_PATH to your SDK
The code is not entirely identical but uses same esp-idf style and it is ridiculously easy to modify for esp8266.
The code is not entirely identical but uses same esp-idf style and it is ridiculously easy to modify for esp8266.
Re: Compiling rtos sdk idf project with CMake
Postby mriksman » Fri Mar 13, 2020 11:41 pm
Thanks. I finally downloaded both SDKs and Toolchains and configured VSCode. SO much better than PlatformIO (which uses ESP8266 RTOS 1.5). It's great being able to have code that can be (almost) reused on both chips.
The sooner Espressif roll BOTH ESP8266 and ESP32 into a single IDF, the better!
The sooner Espressif roll BOTH ESP8266 and ESP32 into a single IDF, the better!
Re: Compiling rtos sdk idf project with CMake
Postby mriksman » Mon Mar 16, 2020 5:38 am
Windows 10 and Python 3.8 and idf.py works fine. 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.
What issues are you facing?
What issues are you facing?
Who is online
Users browsing this forum: No registered users and 7 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.