Hacker News new | ask | show | jobs
by aivisol 22 days ago
Do you have any references to ESP32 running Linux?
6 comments

As the sibling comment shows, the very latest ESP32 model (S31, not S3) can run Linux. But they can only access maybe 64MB of RAM, and most boards for sale will have significantly less.

In reality, though, the use cases where you need Linux and GPIO are very slim. It's overkill, an ESP32 is realistically more than powerful enough, and Linux isn't even good for GPIO.

If you have to use Linux, just get and old router from ebay, many will run Linux just fine, have a lot of memory, WiFi, USB, etc.

I've even found routers in the dumpster, that can still run actual OpenWRT comfortably.

Building a product around dumpster diving for routers seems as risky as building one around Raspberry Pi pricing.
Sup. They just dropped some new hotness that does in fact run Linux. https://www.i-programmer.info/news/91-hardware/19197-the-esp...
I was confused the other day when I was browsing ESP32 on Aliexpress and found models with a price tag of 30~60 euros instead of a couple of bucks. So those models have enough silicon to run a general full fledged OS. Picture me impressed!
For a long time, this was the pivot point between a microcontroller and a bigger machine: Does it need to run an OS?

I've had a couple of RPI's running as home file servers for well over a decade with the only reboots being due to power failures. But today, the cost sensitive option would be a refurbished mini-PC.

A full, desktop OS. Plenty of ESPs out there running FreeRTOS, which is more like a thread scheduling library than anything we'd recognize as an OS.
Well, in many use cases it acts as a single use device & does not run Linux or any OS at all.

It controls whatevwhatever hardware, reads some sensors, etc.

Then when needed gets oders from a normal computer over network or BLE via some simple protocol.

On ESP32, its also quite fine to run FreeRTOS, and you can quite reasonably write cross-platform code which runs on both FreeRTOS and Linux, if that's important.
No, but who cares, it has FreeRTOS support, and bare metal for C, C++, Rust, MicroPython, and co, plenty of juice there.