Arduino Core API module for zephyr leverages the power of Zephyr under an Arduino-C++ style abtraction layer thus helping zephyr new-comers to start using it without worrying about learning about new APIs and libraries. Visit this project's official blog for documentation.
Add following entry to west.yml file in manifest/projects subtree of Zephyr:
# Arduino API repository.
- name: Arduino-Core-Zephyr
path: modules/lib/Arduino-Zephyr-API
revision: dev
url: https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core
and clone the repository by running
west updateTo "complete" the core you need to copy or symlink the api folder from this repo to the target's cores/arduino folder:
$ git clone git@github.com:arduino/ArduinoCore-API # Any location
$ ln -s /<your>/<location>/ArduinoCore-API/api cores/arduino/.Known Bugs:
While compiling with the ArduinoCore-API WCharacter.h produces many errors. It needs to be deleted from ArduinoAPI.h (it is unused in this port.) We are looking into resolving the issue.
Maintainers:
Contributor: DhruvaG2000
Please note that the current license is Apache 2. Previously it was LGPL 2.1 but after careful review it was determined that no LGPL code or derivates was used and the more permissive license was chosen.
