RTOS SDK and modern C/C++ toolchain
Posted: Fri May 15, 2020 8:25 am
Hello!
Is there any solution to use ESP8266 RTOS SDK with modern gcc toolchain?
I've tried using "esp quick toolchain" (gcc 9.3.0) but when I changed language standard to gcc11 I got lots of errors from newlib headers.
After some investigation I realized that RTOS SDK uses their own newlib headers and libraries, rather than the actual toolchain ones.
What is the correct workaround when I want to use modern c and c++ compiler, not the ancient 5.2.0?
Thanks, and sorry for my weak english!
Is there any solution to use ESP8266 RTOS SDK with modern gcc toolchain?
I've tried using "esp quick toolchain" (gcc 9.3.0) but when I changed language standard to gcc11 I got lots of errors from newlib headers.
After some investigation I realized that RTOS SDK uses their own newlib headers and libraries, rather than the actual toolchain ones.
What is the correct workaround when I want to use modern c and c++ compiler, not the ancient 5.2.0?
Thanks, and sorry for my weak english!