# arduinocore-zephyr **Repository Path**: openkylin/arduinocore-zephyr ## Basic Information - **Project Name**: arduinocore-zephyr - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-10-29 - **Last Updated**: 2026-10-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GSoC 2022 Project: Arduino Core API module for Zephyr ![](https://dhruvag2000.github.io/Blog-GSoC22/assets/images/website_header.png) The **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. See the project documentation folder for detailed documentation on these topics: * [Using external Arduino Libraries](/documentation/arduino_libs.md) * [Adding custom boards/ variants](/documentation/variants.md) ## Adding Arduino Core API to Zephyr * **Pre requisites:** It is assumed that you have zephyrproject configured and installed on your system as per the official [Get Started Guide](https://docs.zephyrproject.org/latest/develop/getting_started/index.html). The recommended path to install is `~/zephyrproject` as specified in the guide. If you have zephyr installed in a custom path you may need to make changes to the CMakeLists.txt file in the sample code directory when building these samples. * 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: main url: https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core ``` * Then, clone the repository by running ```sh west update ``` * **Note:** For ***Linux users only*** there exists an ``install.sh`` script in this project that can be run to quickly link the ArduinoCore-API to this module. If you are able to run that script successfully then you can skip the next steps. * To "complete" the core you need to copy or symlink the api folder from the [ArduinoCore-API](https://github.com/arduino/ArduinoCore-API.git) repo to the target's ``cores/arduino`` folder: ```sh $ git clone git@github.com:arduino/ArduinoCore-API # Any location $ ln -s ///ArduinoCore-API/api cores/arduino/. ``` The `cores` folder can be found at `~/zephyrproject/modules/lib/Arduino-Zephyr-API/cores`. **Known Bug(s):** __NOTE:__ You can skip this step as well if you ran ``install.sh``. * While compiling with the ArduinoCore-API `WCharacter.h` produces many errors. The include of that file needs to be deleted from `cores/arduino/api/ArduinoAPI.h` (it is unused in this port.) We are looking into resolving the issue. **Maintainers**: - [DhruvaG2000](https://github.com/DhruvaG2000) - [soburi](https://github.com/soburi) - [szczys](https://github.com/szczys) - [beriberikix](https://github.com/beriberikix) - [alvarowolfx](https://github.com/alvarowolfx) ## License 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. **Additional Links** * [Official Project Blog](https://dhruvag2000.github.io/Blog-GSoC22/) * Golioth's Article: [Zephyr + Arduino: a Google Summer of Code story](https://blog.golioth.io/zephyr-arduino-a-google-summer-of-code-story/)