ArduinoCore-API
This repository hosts the hardware independent layer of Arduino core.
All Arduino official cores are being ported to the new structure so they take advantage of this single repo.
Including this repo in your existing Arduino core will allow the language to grow and include new features.
For backwards compatibility, every revision of this repo will increase ARDUINO_API_VERSION define.
Some cores have been ported to the new structure, for example:
- megaAVR (https://github.com/arduino/ArduinoCore-megaAVR)
- nRF52-mbedos (https://github.com/arduino/ArduinoCore-nRF528x-mbedos)
- classic AVR (https://github.com/arduino/ArduinoCore-avr/tree/api)
- SAMD (https://github.com/arduino/ArduinoCore-samd/tree/api)
These repositories don't contain the needed api subfolder; to "complete" the core you need to copy or symlink the api folder from this repo to the target's cores/arduino folder.
Porting tips
In the future, core apis will be updated independently from the core, so all the compatible cores will seamlessly adopt new features.
This requires support from all the IDEs, so in the meantime we suggest to release the core by copying a snapshot of this api folder.
The most elegant and effective solution is to develop the core with api symlinked and produce the distributable archive by telling tar to follow symlinks.
Example command:
tar --exclude='*.git*' -cjhvf $yourcore-$version.tar.bz2 $yourcore/



 Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
 Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
