I would like to use libmill for coroutines on an ARM-based platform (eg. Teensy, Circuit Python Express). I seem to have correctly placed libmill into the “libs” folder of a Core project, and
attempts to build the library. However, it chokes with
In file included from lib/libmill/chan.c:32:0: lib/libmill/cr.h:88:5: error: unknown type name 'sigjmp_buf' sigjmp_buf ctx;
My best guesses at the moment are that either 1) setjmp.h is not available for this platform, or 2) there’s something going on with my attempt to include a C library in a C++ project.
I’m going to spend more time with the PlatformIO documentation, but in the event that someone can give me a nudge in the right direction, I thought I’d ask here in case someone can save me time by either saying “Oh, this might be your problem…,” or point out why this simply won’t work.