Our team is developing a library for ARM targets (Cortex M3 and M4) to support a hardware product. We have developed it in PlatformIO. Since the hardware is being targeted for the SAMD platforms out there such as the Adafruit Feather M0 and M4, we need to test with the Arduino IDE as a prerequisite to a publishing. Only under the Arduino IDE we seem to have code that operates differently in Arduino IDE, pertaining to separate threaded processes (main vs ISR). Difficult to diagnose: since we are developing in an environment with hardware debugging (JLINK), but attempting to validate in a blind, difficult IDE that most of our users will likely use to build their project.
While I would like everyone of our customers to move to PlatformIO, that is unlikely to help our hardware sales.
Has anyone experienced a issue with code working in PlatformIO and not when built with Arduino IDE?
If so did you find a solution?
What were the symptoms?
What change accomplished an improvement?
Thanks for helping with this stab in the dark,