When I run "make size-files" (with CONFIG_OPTIMIZATION_LEVEL_RELEASE) I see that a lot of the top contributors to the binary size are related to C/C++ locale handling: Per-file contributions to ELF file: Object File DRAM .data & .bss IRAM Flash code & rodata Total ... locale-inst.o 0 144 0 25655 723...

Of course, right after asking I found a (partial) answer. I can configure the program to log a core-dump when it crashes, and then read that dump into gdb. Then I can use the `info thread` and `thread` commands to view and switch to different threads/tasks. It even shows what the parameters and loca...

Debugging with the gdb stub is very useful. But I can only see the thread/task that crashed, not any others -- `info threads` only shows that thread. I'm trying to debug a problem where a thread is hung inside system code (`select`), and while I can easily make another task force an exception and dr...

My app will sometimes just freeze -- it stops logging and responding to network requests. I'd like to interrupt it and drop into the GDB stub and look at the thread/task stacks. Is there a way to do this? I can't find a monitor command for it. My dev board (a SparkFun ESP32 Thing) has two physical b...

I've never seen anyone use send() to write to a TCP socket! TCP is a stream, so you use write() to write to it and read() to read. The only time I would use send() is for UDP. I have no idea what happens if you call send() instead of write(). It may well skip part of the TCP logic and send the packe...

I'm calling esp_partition_mmap() to memory-map a flash partition, and then esp_partition_erase_range() and esp_partition_write() to write to it. Most of the time (95%?) this works fine, but intermittently I see errors where, after a write, part of the mapped memory is still filled with FF instead of...

I couldn't believe how primitive it is to set up the toolchain; like going back to the last ice age when MS-DOS roamed the planet. It should be easy to install the software directly from the Espressif website, without have to clone things off GitHub and to refer to instructions from 'readthedocs' I...

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. ESP8266EX and ESP32 are some of our products.