Library compatibility with Raspberry Pi?

Now that the Firmware Library Manager is being tested, is there a plan to make libraries compatible with standard Arduino, particle, AND raspberry pi?

I ask mostly because I had a project for a particle board that used a library, and when I moved to the RPi for that project, I had to do some minor changes to the library to make it compatible. I have more questions, but first Iā€™m interested in the road map for keeping libraries compatible with all devices.

The library system works with the Raspberry Pi.

Library contributors have mostly used #if PLATFORM_ID == n where n is 0 for Core, 6 for Photon, 8 for P1, 10 for Electron and 31 for Raspberry Pi to make small tweaks to their libraries for different platforms. The roadmap for keeping libraries compatible with all devices is up to you :wink:

2 Likes