The newest ESP32 can run Linux and it's getting close to a Raspberry Pi
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
The newest ESP32 can run Linux and it's getting close to a Raspberry Pi
Unofficial Hacker News client; not affiliated with Y Combinator.
jameshart · · focus · HN ↗
philipallstar · · focus · HN ↗
nkozyra · · focus · HN ↗
They're generally intended to run flashed firmware and be single-purpose. They usually come bundled with peripheral components and typically have breakouts to add more (pots, sensors, etc).
They're great for doing one thing (though some support firmware switching), and you can build the 'software' for them pretty easily using Python or C-like variants.
So for hobbyists they're perfect. You want a quick LED christmas display you can toggle between Rudolph and Santa from a quick network call? You want a humidity sensor in your bedroom? You want to create a networked security camera? These are the types of use cases for MCUs.
ckocagil · · focus · HN ↗
serf · · focus · HN ↗
what's the meaningful distinction now? It isn't all SoC anymore and it has had a linux capable MMU since S3, even if it required a lot of work.
The only real difference at this point is pure numbers, and i'm not that keen on defining microcontrollers as "those things with less ram than an SBC.", and if it's a microcontroller because it requires bare-metal flashes; well then I point to the older S3 MMU boards running busybox.
MobiusHorizons · · focus · HN ↗
A microcontroller is a type of processor that offers very fast startup, predictable timing and direct access to hardware peripherals. In contrast to application processors that are intended to run an operating system, a microcontroller will not have OoO execution, multiple tiers memory (eg cache and dram). Usually they also lack an mmu and multiple privilege levels of execution (although that seems more common on riscv microcontrollers). All this means microcontrollers aren’t designed to run Linux (even if someone does figure out how to do that) or clock in the gigahertz, but instead provide very predictable low latency execution required for managing real time systems. For example they might need to operate a set of mosfets with microsecond accuracy to efficiently and safely control a motor.
mrheosuper · · focus · HN ↗
Similar to a lot of old cortex-A soc.
>multiple tiers memory
The S31 also has cache and sram, with inpackage psram.
> Usually they also lack an mmu
The S31 has mmu.
MobiusHorizons · · focus · HN ↗