4 ms·
> Ideal for use in microprocessors. Seems to be targeted at microprocessors not microcontrollers per the title.
by thebruce87m 1y ago
> Ideal for use in microprocessors.
Seems to be targeted at microprocessors not microcontrollers per the title.
- the__alchemist 1y agoCould you clarify? I'm kind of fuzzy on those terms. From the top of the article: Cortex-M is the example, and those are what I associate as microcontrollers. Maybe naming conventions? Maybe the former is the CPU, and the latter is the CPU + the periphs, flash, ram? It also mentions heap, which is not something I associate with microcontrollers by default, but I notice a lot of RTOS and allocators lately when I look beyond my own stuff!
- adastra22 1y agoA microprocessor is a CPU. It is a holdover term from when processors got shrunk to fit on a single die.
- thebruce87m 1y agoThe terms are fuzzier these days, but if something claims microcontroller support I expect bare metal or RTOS support and if it says microprocessor I expect a bigger OS - embedded Linux support (yocto, buildroot), standard Linux (install + package manager) or maybe one of industrial RTOS. I’ve had a (quick) look through the docs and I can only find a REPL example running on a standard OS. I’m sure some will argue, but I was merely quoting what I immediately saw in the docs compared to what the hn headline said.
- the__alchemist 1y agoOh gotcha! So, A Cortex-A would be an ex of a microprocessor. Sounds like you're right that this may not be for bare metal or RTOS. Although the amount of flash and ram req will work on many MCUs. (But kind of a big overhead; e.g. the one I'm using now is 128k / 32K F/R, but I cheaped out)