variants: Add new Arduino boards (other than STM32)#197
Open
soburi wants to merge 3 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds new board variants to ArduinoCore-zephyr for non-STM32 targets (Nano Matter MGM240S, Portenta C33 RA6M5, Nicla Sense ME nRF52832), including their devicetree overlays, Kconfig configuration, and CI example allow/deny lists. It also introduces a shared QSPI flash filesystem/partition layout include used by the Portenta C33 variant.
Changes:
- Add a common QSPI flash fixed-partition + fstab/flash-disk configuration (
arduino_flash_fs.dtsi) for FAT (/wlan, /ota) and LittleFS (/storage). - Add the Portenta C33 (R7FA6M5BH3CFC) variant with overlay, networking/fs config, and a variant hook source file.
- Add Nano Matter and Nicla Sense ME variants with overlays, configs, and example exclusion lists.
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| variants/common/arduino_flash_fs.dtsi | Common QSPI flash partitioning + fstab/flash-disk nodes for wlan/ota/storage. |
| variants/arduino_portenta_c33_r7fa6m5bh3cfc/variant.h | Portenta C33 variant defines (SE05X enable pin index). |
| variants/arduino_portenta_c33_r7fa6m5bh3cfc/variant.cpp | Portenta C33 variant-specific reset/double-tap hook implementation. |
| variants/arduino_portenta_c33_r7fa6m5bh3cfc/skip_these_examples.txt | Excludes examples not applicable to Portenta C33. |
| variants/arduino_portenta_c33_r7fa6m5bh3cfc/known_example_issues.txt | Marks known failing examples for Portenta C33. |
| variants/arduino_portenta_c33_r7fa6m5bh3cfc/arduino_portenta_c33_r7fa6m5bh3cfc.overlay | RA6M5 pin/peripheral mapping + includes common flash FS config. |
| variants/arduino_portenta_c33_r7fa6m5bh3cfc/arduino_portenta_c33_r7fa6m5bh3cfc.conf | Portenta C33 Zephyr Kconfig for USB, networking, WiFi/BT, and FS. |
| variants/arduino_nicla_sense_me_nrf52832/variant.h | Nicla Sense ME variant header scaffold. |
| variants/arduino_nicla_sense_me_nrf52832/skip_these_examples.txt | Excludes examples/libraries not applicable to Nicla Sense ME. |
| variants/arduino_nicla_sense_me_nrf52832/known_example_issues.txt | Known-example-issues list scaffold for Nicla Sense ME. |
| variants/arduino_nicla_sense_me_nrf52832/arduino_nicla_sense_me_nrf52832.overlay | nRF52832 partitioning + pin/peripheral mapping for Nicla Sense ME. |
| variants/arduino_nicla_sense_me_nrf52832/arduino_nicla_sense_me_nrf52832.conf | Nicla Sense ME Zephyr Kconfig for BT/ADC/counter and memory sizing. |
| variants/arduino_nano_matter_mgm240sd22vna/variant.h | Nano Matter pin defines for SPI/I2C/LED/button. |
| variants/arduino_nano_matter_mgm240sd22vna/skip_these_examples.txt | Excludes examples/libraries not applicable to Nano Matter. |
| variants/arduino_nano_matter_mgm240sd22vna/known_example_issues.txt | Marks known failing examples for Nano Matter (e.g., analog read). |
| variants/arduino_nano_matter_mgm240sd22vna/arduino_nano_matter_mgm240sd22vna.overlay | MGM240S pin/peripheral mapping + PWM/I2C/SPI wiring. |
| variants/arduino_nano_matter_mgm240sd22vna/arduino_nano_matter_mgm240sd22vna.conf | Nano Matter Zephyr Kconfig for BLE/networking/tls and memory sizing. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Add configuration files for Arduino Nicla Sense ME. We have confirmed that it compiles when used in combination with https://github.com/arduino/zephyr/tree/zephyr-arduino-v4.2.0. Co-authored-by: Daniele Cloralio <d.cloralio@arduino.cc> Co-authored-by: Luca Burelli <l.burelli@arduino.cc> Co-authored-by: bogdanf132 <bogdan_ivanus@yahoo.com> Co-authored-by: pennam <m.pennasilico@arduino.cc> Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Add configuration files for Arduino Nano Matter. We have confirmed that it compiles when used in combination with https://github.com/arduino/zephyr/tree/zephyr-arduino-v4.2.0. Co-authored-by: Daniele Cloralio <d.cloralio@arduino.cc> Co-authored-by: Luca Burelli <l.burelli@arduino.cc> Co-authored-by: Tamas Jozsi <tamas.jozsi@silabs.com> Co-authored-by: pennam <m.pennasilico@arduino.cc> Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
Add configuration files for Arduino Portenta C33. We have confirmed that it compiles when used in combination with https://github.com/arduino/zephyr/tree/zephyr-arduino-v4.2.0. Co-authored-by: Andrea Gilardoni <a.gilardoni@arduino.cc> Co-authored-by: Bogdan Ivanus <b.ivanus@arduino.cc> Co-authored-by: Daniele Cloralio <d.cloralio@arduino.cc> Co-authored-by: KurtE <kurte@rockisland.com> Co-authored-by: Luca Burelli <l.burelli@arduino.cc> Co-authored-by: Martino Facchin <m.facchin@arduino.cc> Co-authored-by: Mattia Pennasilico <m.pennasilico@arduino.cc> Co-authored-by: Shin Taeha <mirinae3145@g.skku.edu> Co-authored-by: iabdalkader <i.abdalkader@gmail.com> Co-authored-by: maidnl <d.aimo@arduino.cc> Co-authored-by: pennam <m.pennasilico@arduino.cc> Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for Nano Matter, Portenta C33 and Nicla Sense ME.
We have confirmed that these compiles when used in combination with
https://github.com/arduino/zephyr/tree/zephyr-arduino-v4.2.0.
We will incorporate the changes for the migration to version 4.4 separately in the near future.
arduino#522 (comment)
As I do not have the actual boards, I have only verified the compilation.