espressif / ESP8266_RTOS_SDK

Latest ESP8266 SDK based on FreeRTOS, esp-idf style.
http://bbs.espressif.com
Apache License 2.0
3.34k stars 1.56k forks source link

Can ESP8266_RTOS_SDK use with ESP-IDF? (GIT8266O-680) #1105

Open jatu-studiobox opened 3 years ago

jatu-studiobox commented 3 years ago

Hi all,

Sorry for post ask my question in here, because ESP8266 BBS (https://bbs.espressif.com/) has error.

I want to know,

Can ESP8266_RTOS_SDK use with ESP-IDF?

If yes, how can I use ESP8266_RTOS_SDK with ESP-IDF?

Because ESP8266 RTOS Guide (https://docs.espressif.com/projects/esp8266-rtos-sdk/en/latest/index.html) does not have guide about ESP8266 RTOS SDK can operate with ESP-IDF (in my understand ESP-IDF is for ESP32). I try to find about answer of my question from everywhere, but not found.

Moreover, I try to follow ESP8266 RTOS Guide for set up environment, but there is error at "configure" step. "Make" has error. See below.

error

Additional, I confuse what is tool chain of ESP8266 RTOS SDK development between https://dl.espressif.com/dl/esp32_win32_msys2_environment_and_toolchain-20181001.zip and https://dl.espressif.com/dl/xtensa-lx106-elf-gcc8_4_0-esp-2020r3-win32.zip.

And I use windows 10 OS 64-bits for development, so I don't know what is terminal to using set up, minGW32 or minGW64 or Window Cmd...

I have many doubt.

Thank you very much in advance,

offshore commented 3 years ago

Don't do make ~/esp/hello_world/menuconfig, it's wrong. You should cd to example dir and call make ... from there (also there is a -C option, but nevermind). Also fix your argument, it seems that it does not actually point to hello_world example. So, pick up your terminal:

cd ~/esp/esp8266_rtos_sdk/examples/get-started/hello_world
make menuconfig
make

Try make help from that dir as well.

P.S. Make sure your PATH environment variable is properly set up with a toolchain. P.P.S. It's worth mentioning that at first you may want to cd ~/esp/esp8266_rtos_sdk and invoke source ./export.sh. P.P.P.S. RTFM carefully!