[riot-notifications] [RIOT-OS/RIOT] .murdock: Add nucleo boards to kconfig test (#16845)

Leandro Lanzieri notifications at github.com
Thu Sep 16 09:48:22 CEST 2021


Regarding the errors in the `sx127x` test, this should do the trick:
```diff
diff --git a/drivers/periph_common/Kconfig.spi b/drivers/periph_common/Kconfig.spi
index 05252b45bc..eca91e5dca 100644
--- a/drivers/periph_common/Kconfig.spi
+++ b/drivers/periph_common/Kconfig.spi
@@ -20,13 +20,25 @@ config MODULE_PERIPH_SPI_RECONFIGURE
     bool "Pin reconfiguration support"
     depends on HAS_PERIPH_SPI_RECONFIGURE
 
-# TODO: this module is actually just an artifact from the way periph_init_%
-# modules are handled in Makefile. We need to define it to keep the list the
-# same for now. We should be able to remove it later on.
+config MODULE_PERIPH_SPI_GPIO_MODE
+    bool "Support initializing SPI pins with adapted GPIO modes"
+    depends on HAS_PERIPH_SPI_GPIO_MODE
+    help
+        Say y to call `spi_init_with_gpio_mode`, which allows to initialize the SPI pins in
+        with an specific GPIO mode.
+
+# TODO: these modules are actually just artifacts from the way periph_init_%
+# modules are handled in Makefile. We need to define them to keep the list the
+# same for now. We should be able to remove them later on.
 
 config MODULE_PERIPH_INIT_SPI_RECONFIGURE
     bool "Auto initialize SPI pin reconfiguration support"
     default y if MODULE_PERIPH_INIT
     depends on MODULE_PERIPH_SPI_RECONFIGURE
 
+config MODULE_PERIPH_INIT_SPI_GPIO_MODE
+    bool
+    default y if MODULE_PERIPH_INIT
+    depends on MODULE_PERIPH_SPI_GPIO_MODE
+
 endif # MODULE_PERIPH_SPI
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16845#issuecomment-920670265
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210916/639df1d5/attachment.htm>


More information about the notifications mailing list