According to the README page of the library and the Python script, maybe, but only with libopencm3 as the framework, and you’re setting Arduino. As can be seen in the Python builder code
You would need to set -D SAMD in the build flags to attempt a forced inclusion with FreeRTOS. Workings are however not guaranteed then…
So you tried 3 different ones?
After searching the library registry with the appropriate string header:"FreeRTOS.h" framework:arduino platform:atmelsam I get the library PlatformIO Registry.
Which works on my Adafruit M0 Express, which has the same MCU as yours. So just try
I did try three different ones. It seemed like running this with Arduino underneath would be ok. This web page actually suggests it should work without you even having to start the task manager, which is a bit strange. I came to the conclusion that FreeRTOS_SAMD21 was the right one, too. I tried setting SAMD as well as FREERTOS_MCU_FAMILY but I get the same result.
C:\work\milli\sunspec-milli>platformio --version
PlatformIO Core, version 5.0.4b1
Let me try building a brand new project with the Basic_RTOS_Example you referenced, and see what happens … unless you’re feeling generous enough to just tar or zip your project up and stuff it somewhere for me.
Remember that wise crack about “You tried three different ones?” That was the problem It left more than one in .pio/libdeps and it was finding the wrong one - probably finding the first one I found, before I realized I needed the SAMD specific port. It builds now, LEDs are blinking, and I’m on my way.
Actually, the huge help was you telling me “Yeah, it should work” then trying it to confirm. Thanks for the motivation, appreciate it very much.