You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an existing or planned guide on how to port to platforms? I'm specifically interested in new RTOSes (see discussion on zephyrproject-rtos/zephyr#22247) but I imagine the same guide would be helpful for anyone trying to bring up a new baremetal platform using the Arduino core API.
Hi @beriberikix - sorry for the late answer. There's no guide at the moment, but it would be very nice to have one. I think a good starting point it the github.com/arduino/ArduinoCore-mbed repository which shows how a platform implementing this API can be developed.
Maybe could you help drafting such guide? :)
Hello! The GSoC season has ended and we've achieved a lot. The Zephyr Core can be found at zephyrproject-rtos/gsoc-2022-arduino-core. Key Arduino APIs are implemented as well as the ability to call into the Zephyr APIs for advanced usage. Additionally:
4 Arduino Variants are implemented, and one non-Arduino board added as a reference
Toolchain (build, flash & debug) supported via the Zephyr SDK
Arduino channel created on the official Zephyr Discord server (invite if you need it)
First outside contributor!
@alranel integrating into the Arduino IDE 2.0 & CLI will be a critical milestone for the project. Do you know anyone from the community or organization with experience and willingness to help with the implementation?
@alranel bringing this up again as we'd really love help with the IDE/CLI integration. A porting guide is a lot of work so perhaps someone can develop a "minimal" Core implementation that we can study?
Hello! The GSoC season has ended and we've achieved a lot. The Zephyr Core can be found at zephyrproject-rtos/gsoc-2022-arduino-core. Key Arduino APIs are implemented as well as the ability to call into the Zephyr APIs for advanced usage.
Well, this is pretty cool 😎 👍
@alranel bringing this up again as we'd really love help with the IDE/CLI integration. A porting guide is a lot of work so perhaps someone can develop a "minimal" Core implementation that we can study?
I'd suggest analyzing a simple 3rd party core, i.e. arduino-pico which is a 3rd party core targeting only a single architecture (and MCU for that matter), the RP2040.
Activity
alranel commentedon Dec 8, 2021
Hi @beriberikix - sorry for the late answer. There's no guide at the moment, but it would be very nice to have one. I think a good starting point it the github.com/arduino/ArduinoCore-mbed repository which shows how a platform implementing this API can be developed.
Maybe could you help drafting such guide? :)
beriberikix commentedon Dec 9, 2021
No worries @alranel! I've also found the
arduin-clito have little nuggets of good information, especially the Platform specification section.Your reply is actually well timed - my team and are currently exploring this space! Would you be open to chatting further?
beriberikix commentedon Mar 15, 2022
Hello! As a small update I submitted a related project for the Google Summer of Code (GSoC) under the linux foundation: https://wiki.linuxfoundation.org/gsoc/2022-gsoc-zephyr#arduino_module_based_on_zephyr
beriberikix commentedon Sep 25, 2022
Hello! The GSoC season has ended and we've achieved a lot. The Zephyr Core can be found at zephyrproject-rtos/gsoc-2022-arduino-core. Key Arduino APIs are implemented as well as the ability to call into the Zephyr APIs for advanced usage. Additionally:
@alranel integrating into the Arduino IDE 2.0 & CLI will be a critical milestone for the project. Do you know anyone from the community or organization with experience and willingness to help with the implementation?
beriberikix commentedon Dec 17, 2022
@alranel bringing this up again as we'd really love help with the IDE/CLI integration. A porting guide is a lot of work so perhaps someone can develop a "minimal" Core implementation that we can study?
aentinger commentedon Dec 28, 2022
Well, this is pretty cool 😎 👍
I'd suggest analyzing a simple 3rd party core, i.e. arduino-pico which is a 3rd party core targeting only a single architecture (and MCU for that matter), the RP2040.