From 1411068101711101f344b6a6eb1a99c14f50f872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikolai=20G=C3=BCtschow?= Date: Tue, 27 May 2025 20:50:07 +0200 Subject: [PATCH] features.yaml: add feather_shield feature --- boards/adafruit-feather-nrf52840-express/Makefile.features | 1 + boards/adafruit-feather-nrf52840-sense/Makefile.features | 1 + boards/feather-m0/Makefile.features | 1 + doc/doxygen/src/io-mapping-and-shields.md | 1 + features.yaml | 4 ++++ makefiles/features_existing.inc.mk | 1 + 6 files changed, 9 insertions(+) diff --git a/boards/adafruit-feather-nrf52840-express/Makefile.features b/boards/adafruit-feather-nrf52840-express/Makefile.features index 2c7233be62..e56125ce85 100644 --- a/boards/adafruit-feather-nrf52840-express/Makefile.features +++ b/boards/adafruit-feather-nrf52840-express/Makefile.features @@ -8,6 +8,7 @@ FEATURES_PROVIDED += periph_uart FEATURES_PROVIDED += periph_usbdev # Various other features (if any) +FEATURES_PROVIDED += feather_shield FEATURES_PROVIDED += highlevel_stdio include $(RIOTBOARD)/common/nrf52/Makefile.features diff --git a/boards/adafruit-feather-nrf52840-sense/Makefile.features b/boards/adafruit-feather-nrf52840-sense/Makefile.features index 2c7233be62..e56125ce85 100644 --- a/boards/adafruit-feather-nrf52840-sense/Makefile.features +++ b/boards/adafruit-feather-nrf52840-sense/Makefile.features @@ -8,6 +8,7 @@ FEATURES_PROVIDED += periph_uart FEATURES_PROVIDED += periph_usbdev # Various other features (if any) +FEATURES_PROVIDED += feather_shield FEATURES_PROVIDED += highlevel_stdio include $(RIOTBOARD)/common/nrf52/Makefile.features diff --git a/boards/feather-m0/Makefile.features b/boards/feather-m0/Makefile.features index 3829f6c7e5..4803306013 100644 --- a/boards/feather-m0/Makefile.features +++ b/boards/feather-m0/Makefile.features @@ -15,4 +15,5 @@ FEATURES_PROVIDED += periph_usbdev # Put other features for this board (in alphabetical order) FEATURES_PROVIDED += arduino_analog FEATURES_PROVIDED += arduino_pins +FEATURES_PROVIDED += feather_shield FEATURES_PROVIDED += highlevel_stdio diff --git a/doc/doxygen/src/io-mapping-and-shields.md b/doc/doxygen/src/io-mapping-and-shields.md index 4b17c1003e..f221fcb92c 100644 --- a/doc/doxygen/src/io-mapping-and-shields.md +++ b/doc/doxygen/src/io-mapping-and-shields.md @@ -152,6 +152,7 @@ features. The following list of features currently exists: | `arduino_shield_nano` | Board has side headers compatible with the Arduino Nano | | `arduino_shield_uno` | Board has side headers compatible with the Arduino UNO | | `arduino_shield_mega` | Board has side headers compatible with the Arduino MEGA | +| `feather_shield` | Board has headers compatible with the Adafruit Feather boards | | `xiao_shield` | Board has headers compatible with the Seeedstudio XIAO boards | @note A board providing `arduino_shield_mega` **MUST** also provide diff --git a/features.yaml b/features.yaml index 4f3b236601..fa29d5266d 100644 --- a/features.yaml +++ b/features.yaml @@ -409,6 +409,10 @@ groups: Indicates that the board is mechanically and electrically compatible with shields developed for the Arduino Nano. (Note: Except the ISP header, that requires `arduino_shield_isp` in addition.) + - name: feather_shield + help: > + Indicates that the board is mechanically and electrically compatible + with shields developed for the Adafruit Feather board family. - name: xiao_shield help: > Indicates that the board is mechanically and electrically compatible diff --git a/makefiles/features_existing.inc.mk b/makefiles/features_existing.inc.mk index 08a939cecf..b67159fc7c 100644 --- a/makefiles/features_existing.inc.mk +++ b/makefiles/features_existing.inc.mk @@ -127,6 +127,7 @@ FEATURES_EXISTING := \ esp_wifi \ esp_wifi_ap \ esp_wifi_enterprise \ + feather_shield \ gecko_sdk_librail_fpu \ gecko_sdk_librail_nonfpu \ highlevel_stdio \