Archive | 2020

Coroutine demonstration with setjmp/longjmp (STM32)

Hi Reader, Embedded programmers working without an RTOS for whatever reason are frequently rolling their own solutions for multitasking. Protothreads are a de-facto default for ultra-lightweight threading but since they are stackless, they are extremely limited. Here’s a demonstration of a technique to allow cooperative multitasking by abusing the ancient setjmp/longjmp routines in C. This […]

General update

Hi reader, This is the longest gap in posting yet, sorry. I’ll be blunt – I burned out in 2018 and I haven’t really recovered. I’ve generally tried to keep a professional veneer on this blog – sorry to mix personal and business stuff. But when you’re a one person business it’s sort of inevitable. […]