[riot-notifications] [RIOT-OS/RIOT] boards/nucleo-wl55jc : Initial support (#16255)

MrKevinWeiss notifications at github.com
Wed Apr 7 14:25:16 CEST 2021

I would suggest adding the following to `cpu/stm32/periph/Makefile`

diff --git a/cpu/stm32/periph/Makefile b/cpu/stm32/periph/Makefile
index 5184150cdd..9f8e1adfdb 100644
--- a/cpu/stm32/periph/Makefile
+++ b/cpu/stm32/periph/Makefile
@@ -2,10 +2,12 @@ MODULE = periph
 # Select the specific implementation for `periph_i2c`
 ifneq (,$(filter periph_i2c,$(USEMODULE)))
-  ifneq (,$(filter $(CPU_FAM),f0 f3 f7 g0 g4 l0 l4 l5 wb))
+  ifneq (,$(filter $(CPU_FAM),f0 f3 f7 g0 g4 l0 l4 l5 wb wl))
     SRC += i2c_1.c
-  else # f1/f2/f4/l1
+  else ifneq (,$(filter $(CPU_FAM),f1 f2 f4 l1))
     SRC += i2c_2.c
+  else
+    $(error stm32 series i2c implementation not found.)

This will at least throw an obvious error if someone adds a series and doesn't select the correct implementation.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210407/aa6d29c7/attachment.htm>

More information about the notifications mailing list