Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve Arduino compatibility #1216
Compilation without Arduino Compatibility Support
Arduino compatibility defines are included by default to support hundreds of libraries that have been ported from Arduino to Particle. If those defines should cause an issue with your build, you may remove them by adding
PARTICLE_NO_ARDUINO_COMPATIBILITY=y to the make command line. This requires a clean build.
There should be no difference in FLASH or RAM allocation with or without these defines.