3 ms·
The main selling point of Linux is portability and by that code reuse across a wide array of use cases. Sure you could build a hardware abstraction layer for d
by pantalaimon 10y ago
The main selling point of Linux is portability and by that code reuse across a wide array of use cases.
Sure you could build a hardware abstraction layer for different processors and implement drivers on top of that, but you won't get the same traction/networking effect of Linux anytime soon.
Same goes for software stacks (TCP/IP, USB, WiFi, file systems, etc) which have been running on billions of devices before if you use linux.
The overhead of using Linux is in the range of 1-2MiB [1] so once your application requires external Ram because it doesn't fit the on-chip SRAM, you might as well use Linux.
[1] http://www.emcraft.com/stm32f429discovery/what-is-minimal-footprint http://www.emcraft.com/stm32f429discovery/what-is-minimal-fo...
- pjmlp 10y agoAgree, hence why I mentioned that for the price those boards cost, going Linux might be what the majority will do. On the other hand I look at chips like the ESP32, and given that my coding skills started on Z80 computers, 512 KB is more than enough and actually more fun to use. Given the set of high level programming languages I was using in those days, there is plenty of juice to squeeze out of those types of MCUs.