I think there's an interesting gap between "bare metal MCUs" and "embedded linux" today. Especially for hobbyist/prototyping/one-offs.
The last couple weeks of using the allwinner D1 as if it was an absurdly powerful microcontroller has actually been really fun and pleasant.
Conversation
It's not quite as easy (or as well documented) as say, an nRF52, but compared to high-end M7+ MCUs, it's honestly a ton easier to use, and really not more complicated.
2
6
Plus, a 1GHz CPU and 512MiB of RAM may as well be infinity resources, when you're not actually running an OS.
2
10
Replying to
Still getting used to interrupts on RISC-V. I definitely miss the flexibility of the NVIC, but it's manageable, and certainly makes up for that with raw speed.
If I *wasn't* doing async everything, where ints are just async wakers (mostly), it would be a bit more painful
1
2
"all peripheral interrupts are actually just one interrupt" is sorta lame, but I'll probably make a little driver for that so you can dynamically register and deregister certain interrupts. That'll add a bit more overhead, but honestly it'll be fine.
2
Show replies

