Sorry for the remedial question, but I’m posting to the “Getting Started” section!
I’m new to Particle, and I’m currently working with the Electron with some success. I’m using Visual Studio Code (instead of the Particle IDE or Build). So there are a number of things I need to install and configure manually. Like installing the Particle CLI, the Arduino stack, C/C++ support, etc. I’m fine with all that, and I’m currently building and flashing perfectly from Visual Studio Code.
But in the process it reveals how disconnected I was from what the toolchain, and the Electron’s compatibility in general.
I’ve been searching, but can’t find a concise definitive statement regarding how compatible Particle is with Arduino, and how much of the Arduino toolchain is used to build binaries for my electron. For example:
What pre-compiler and/or C++ compiler does “particle compile electron” command use?
What binary libraries, and headers are used during the compile. (Like Arduino.h) Is there a “Particle.h/Electron.h”?
If much of the Arduino code and stack is used outright, then why do I see Arduino libraries (like Radiohead) “ported to Particle”? Is this just because of hardware differences?
Can someone just give me a little perspective and context, I can fill in the rest of the details myself.
Thanks a bunch