Arduino Core API
zephyrproject-rtos · 65 GitHub stars
Arduino-style APIs (digitalWrite, Wire, SPI, Serial) implemented on top of Zephyr drivers.
- Follows branch
main: eachwest updatewill get its latest commits. To stay on one version, it is recommended to use a release tag.
Install
# From the workspace root
curl -fsSL https://kartben.github.io/windrose/m/arduino-core-api.yaml \
-o zephyr/submanifests/arduino-core-api.yaml
west update arduino-core-api
# From the workspace root
Invoke-WebRequest https://kartben.github.io/windrose/m/arduino-core-api.yaml `
-OutFile zephyr/submanifests/arduino-core-api.yaml
west update arduino-core-api
west.yml
- name: arduino-core-api url: https://github.com/zephyrproject-rtos/ArduinoCore-zephyr revision: main path: modules/lib/arduinocore-zephyr
Add to projects in your west.yml, then run west update arduino-core-api.
Details
- Revision
- main
- License
- Apache-2.0
- Maintainers
- @zephyrproject-rtos
- Last commit
- 3 mo ago
- Includes
- Samples
About
The Arduino-Core-Zephyr module started as a Google Summer of Code 2022 project to provide Arduino-style APIs for Zephyr RTOS applications. This module acts as an abstraction layer, allowing developers familiar with Arduino programming to leverage Zephyr's capabilities without having to learn entirely new APIs and libraries.