Have built code to handle CORE and PHOTON variants by way of the PLATFORM_ID define.
Now wish to add the ELECTRON product. Problem is that the Neopixel library kicks up a compile error saying that it can only handle CORE or PHOTON platforms.
What I wish to do is not link in an included library via a conditional. How does one do this?
Unsurprisingly excluding the header does not do the trick.