-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arduino drivers #10
Comments
See |
Follow RIOT-OS/RIOT#15232 |
Add Arduino support to a board |
Arduino drivers for the Feather boards in ArduinoIDE can be found here: pin map is defined in this file: |
I've packaged Sparkfun's BME280 Arduino library and added a test app, see There's one caveat though, RIOT doesn't support packages out of their tree. So to test it I did a symbolic link from their tree to ours, such as:
I've opened an issue to fix this, see RIOT-OS/RIOT#15309 I'm going to update the check list in the description of this issue. |
I've added the arduino feature to the feather-m0 board in our RIOT fork, in the But I cannot submit a PR to RIOT upstream because |
I've made a PR for the arduino feature in the remote-revb, RIOT-OS/RIOT#15678 By the way there's already an I2C device in the remote-revb, the RTC at address 0x69, see #8 |
This can be closed. Latest board with Arduino support is lora-e5-dev |
Many drivers we need are not natively supported by RIOT. One option is to use an Arduino driver. Apparently this is possible, see RIOT-OS/RIOT#12518
But first we need our boards to provide the arduino feature, and this is not supported by any of our boards, for example:
Looking for
arduino_board.h
we see there are already a number of boards that support the arduino feature, including some with a non-AVR MCU. But none of our boards does: waspmote-pro, remote-revb and feather-m0.Also, from what I've read the arduino module allows to run unmodified Arduino sketches. While the arduino_lib pseudomodule allows to use Arduino libraries from RIOT applications, and that's exactly what we want. See RIOT-OS/RIOT#12180
In order to validate this approach we need to:
On hold:
The text was updated successfully, but these errors were encountered: