Hi, the problem: my code wants to run on a couple disparate microcontrollers (ESP8266, "small" STM32, AVR AtMega). Besides the usual digital I/O which e.g. Arduino supports cross-platform I need stuff like port interrupts, timer interrupts, and letting the controller sleep until something happens. And that's where Arduino support ends, at least without platform specific libraries. The question is: Is something liek that available someplace out there? or do I write that kind of support code on my own (again …)? I've scanned PlatformIO et al.; the only code like what I'm looking for that's listed there is Simba, which looks pretty useable but doesn't do timer interrupts or CPU sleep. Ideas and pointers appreciated.