News for hackers. Stuff that matters.
Re:The ESP32 has been released by ivoras on Tuesday September 06, 2016 @06:45AM (#12434970)
It's not an ARM - it's still a pretty weird Xtensa CPU.

Apparently the toolchain for the CPU is nowhere near as good as those for the ARM.

Re:The ESP32 has been released by bojack on Tuesday September 06, 2016 @07:30AM (#12435188)
The ARM Cortex-based RTL8710 seems to sit halfway between the ESP8266 and the ESP32, and perhaps has more toolchain promise. Same library/documentation problems, of course.
Re:The ESP32 has been released by antocv on Tuesday September 06, 2016 @07:06AM (#12435074)
The toolchain is as good as for ARM, it is gcc no more no less.

You perhaps mean the original SDK which was based on proprietary blobs and sucked.

See it here, the good one, https://github.com/pfalcon/esp-open-sdk

Re:The ESP32 has been released by makomk on Tuesday September 06, 2016 @08:28AM (#12435433)
It's an unofficial fork of an old version of gcc developed by the community. ARM toolchain support is a lot more mature and widespread.
Re:The ESP32 has been released by antocv on Tuesday September 06, 2016 @08:40AM (#12435510)
me@yourlaptop $ xtensa-lx106-elf-gcc -v ... gcc version 4.8.5

What is old about this, the 4.8.5 version of GCC was was released June 2015.

Re:The ESP32 has been released by lorenzhs on Tuesday September 06, 2016 @08:48AM (#12435543)
The 4.8 series was originally released in March 2013. There have since been three major releases (4.9, 5, 6). GCC 4.8 is old.
Re:The ESP32 has been released by antocv on Tuesday September 06, 2016 @09:00AM (#12435628)
I didnt even know, Im happy with the toolchain, what am I missing from the latest gcc releases? Better colorful error output, more optimizations?
Re:The ESP32 has been released by microcolonel on Tuesday September 06, 2016 @11:15AM (#12436579)
The code generation, especially on RISCs, has improved pretty dramatically between 4.8 and 6.2. You can expect to get better code size with a newer toolchain.

That said, there's a good chance it's not too hard to forward port the patches; I'm not aware of any major rearchitecting between 4.8 and 6.2, then again maybe there's been one.

Re:The ESP32 has been released by Something1234 on Tuesday September 06, 2016 @04:03PM (#12438885)
Since when does gcc give out colorful output, and how do I get it to do it all the time?
Re:The ESP32 has been released by antocv on Tuesday September 06, 2016 @04:29PM (#12439076)
Add this flag to it -fdiagnostics-color=always

If you dont want to mess with gcc flags in all your projects, add the GCC_COLORS env variable to your shell, like just export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'` to your ~/.bashrc or other shell rc.

Re:The ESP32 has been released by mkj on Tuesday September 06, 2016 @09:03AM (#12435643)
Can't run rust on it!