diff --git a/boards/common/nucleo/Makefile.include b/boards/common/nucleo/Makefile.include index 21b714a355..c8839f7c51 100644 --- a/boards/common/nucleo/Makefile.include +++ b/boards/common/nucleo/Makefile.include @@ -1,5 +1,38 @@ -# include nucleo common serial configuration -include $(RIOTBOARD)/common/nucleo/Makefile.include.serial +# export this module and its includes +USEMODULE += boards_common_nucleo +INCLUDES += -I$(RIOTBOARD)/common/nucleo/include -# add the common header files to the include path -INCLUDES += -I$(RIOTBOARD)/common/nucleo/include +# configure the serial terminal +PORT_LINUX ?= /dev/ttyACM0 +PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*))) +include $(RIOTMAKE)/tools/serial.inc.mk + +# all Nucleo boards have an on-board ST-link v2-1 adapter +export DEBUG_ADAPTER ?= stlink +export STLINK_VERSION ?= 2-1 + +# select OpenOCD configuration depending on CPU type +ifeq (,$(OPENOCD_CONFIG)) + ifeq ($(CPU),stm32f0) + export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-f0.cfg + else ifeq ($(CPU),stm32f1) + export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-f1.cfg + else ifeq ($(CPU),stm32f2) + export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-f2.cfg + else ifeq ($(CPU),stm32f3) + export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-f3.cfg + else ifeq ($(CPU),stm32f4) + export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-f4.cfg + else ifeq ($(CPU),stm32f7) + export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-f7.cfg + else ifeq ($(CPU),stm32l0) + export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-l0.cfg + else ifeq ($(CPU),stm32l1) + export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-l1.cfg + else ifeq ($(CPU),stm32l4) + export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-l4.cfg + endif +endif + +# this board uses openocd +include $(RIOTMAKE)/tools/openocd.inc.mk diff --git a/boards/common/nucleo/Makefile.include.serial b/boards/common/nucleo/Makefile.include.serial deleted file mode 100644 index a5e9afab2c..0000000000 --- a/boards/common/nucleo/Makefile.include.serial +++ /dev/null @@ -1,36 +0,0 @@ -# define the default port depending on the host OS -PORT_LINUX ?= /dev/ttyACM0 -PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*))) - -# setup serial terminal -include $(RIOTMAKE)/tools/serial.inc.mk - -# All Nucleo boards have an on-board ST-link v2-1 adapter -export DEBUG_ADAPTER ?= stlink -export STLINK_VERSION ?= 2-1 - -# Choose OpenOCD board configuration depending on CPU type -ifeq (,$(OPENOCD_CONFIG)) - ifeq ($(CPU),stm32f0) - export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-f0.cfg - else ifeq ($(CPU),stm32f1) - export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-f1.cfg - else ifeq ($(CPU),stm32f2) - export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-f2.cfg - else ifeq ($(CPU),stm32f3) - export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-f3.cfg - else ifeq ($(CPU),stm32f4) - export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-f4.cfg - else ifeq ($(CPU),stm32f7) - export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-f7.cfg - else ifeq ($(CPU),stm32l0) - export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-l0.cfg - else ifeq ($(CPU),stm32l1) - export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-l1.cfg - else ifeq ($(CPU),stm32l4) - export OPENOCD_CONFIG := $(RIOTBOARD)/common/nucleo/dist/openocd-l4.cfg - endif -endif - -# this board uses openocd -include $(RIOTMAKE)/tools/openocd.inc.mk diff --git a/boards/common/nucleo144/Makefile.include b/boards/common/nucleo144/Makefile.include index 64c4ada071..3a5f61e2ec 100644 --- a/boards/common/nucleo144/Makefile.include +++ b/boards/common/nucleo144/Makefile.include @@ -1,5 +1,5 @@ -# include nucleo common serial configuration -include $(RIOTBOARD)/common/nucleo/Makefile.include.serial +# include shared global Nucleo Makefile +include $(RIOTBOARD)/common/nucleo/Makefile.include # add the common header files to the include path INCLUDES += -I$(RIOTBOARD)/common/nucleo144/include diff --git a/boards/common/nucleo32/Makefile.include b/boards/common/nucleo32/Makefile.include index 2e01f540c3..e931437eb9 100644 --- a/boards/common/nucleo32/Makefile.include +++ b/boards/common/nucleo32/Makefile.include @@ -1,5 +1,5 @@ -# include nucleo common serial configuration -include $(RIOTBOARD)/common/nucleo/Makefile.include.serial +# include shared global Nucleo Makefile +include $(RIOTBOARD)/common/nucleo/Makefile.include # add the common header files to the include path INCLUDES += -I$(RIOTBOARD)/common/nucleo32/include diff --git a/boards/common/nucleo/Makefile b/boards/common/nucleo64/Makefile similarity index 100% rename from boards/common/nucleo/Makefile rename to boards/common/nucleo64/Makefile diff --git a/boards/common/nucleo/Makefile.features b/boards/common/nucleo64/Makefile.features similarity index 100% rename from boards/common/nucleo/Makefile.features rename to boards/common/nucleo64/Makefile.features diff --git a/boards/common/nucleo64/Makefile.include b/boards/common/nucleo64/Makefile.include new file mode 100644 index 0000000000..4bdc74ef06 --- /dev/null +++ b/boards/common/nucleo64/Makefile.include @@ -0,0 +1,5 @@ +# include shared global Nucleo Makefile +include $(RIOTBOARD)/common/nucleo/Makefile.include + +# add the common header files to the include path +INCLUDES += -I$(RIOTBOARD)/common/nucleo64/include diff --git a/boards/common/nucleo/include/arduino_board.h b/boards/common/nucleo64/include/arduino_board.h similarity index 100% rename from boards/common/nucleo/include/arduino_board.h rename to boards/common/nucleo64/include/arduino_board.h diff --git a/boards/common/nucleo/include/arduino_pinmap.h b/boards/common/nucleo64/include/arduino_pinmap.h similarity index 100% rename from boards/common/nucleo/include/arduino_pinmap.h rename to boards/common/nucleo64/include/arduino_pinmap.h diff --git a/boards/common/nucleo/include/board_common.h b/boards/common/nucleo64/include/board_common.h similarity index 100% rename from boards/common/nucleo/include/board_common.h rename to boards/common/nucleo64/include/board_common.h diff --git a/boards/common/nucleo/include/gpio_params.h b/boards/common/nucleo64/include/gpio_params.h similarity index 100% rename from boards/common/nucleo/include/gpio_params.h rename to boards/common/nucleo64/include/gpio_params.h diff --git a/boards/nucleo-f030/Makefile.features b/boards/nucleo-f030/Makefile.features index 01698fe254..a5ae6b5961 100644 --- a/boards/nucleo-f030/Makefile.features +++ b/boards/nucleo-f030/Makefile.features @@ -7,7 +7,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m0_1 diff --git a/boards/nucleo-f030/Makefile.include b/boards/nucleo-f030/Makefile.include index 8c0f845a9a..81fbec2803 100644 --- a/boards/nucleo-f030/Makefile.include +++ b/boards/nucleo-f030/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f0 export CPU_MODEL = stm32f030r8 # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-f070/Makefile.features b/boards/nucleo-f070/Makefile.features index 01698fe254..a5ae6b5961 100644 --- a/boards/nucleo-f070/Makefile.features +++ b/boards/nucleo-f070/Makefile.features @@ -7,7 +7,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m0_1 diff --git a/boards/nucleo-f070/Makefile.include b/boards/nucleo-f070/Makefile.include index 99e836bb77..ef931408a5 100644 --- a/boards/nucleo-f070/Makefile.include +++ b/boards/nucleo-f070/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f0 export CPU_MODEL = stm32f070rb # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-f072/Makefile.features b/boards/nucleo-f072/Makefile.features index 81e6fe26cb..d23147e336 100644 --- a/boards/nucleo-f072/Makefile.features +++ b/boards/nucleo-f072/Makefile.features @@ -8,7 +8,7 @@ FEATURES_PROVIDED += periph_uart FEATURES_PROVIDED += periph_spi # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m0_1 diff --git a/boards/nucleo-f072/Makefile.include b/boards/nucleo-f072/Makefile.include index ee50ffc82e..dce7440ba8 100644 --- a/boards/nucleo-f072/Makefile.include +++ b/boards/nucleo-f072/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f0 export CPU_MODEL = stm32f072rb # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-f091/Makefile.features b/boards/nucleo-f091/Makefile.features index 81e6fe26cb..d23147e336 100644 --- a/boards/nucleo-f091/Makefile.features +++ b/boards/nucleo-f091/Makefile.features @@ -8,7 +8,7 @@ FEATURES_PROVIDED += periph_uart FEATURES_PROVIDED += periph_spi # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m0_1 diff --git a/boards/nucleo-f091/Makefile.include b/boards/nucleo-f091/Makefile.include index 5e8cad6863..6c5fa32d9d 100644 --- a/boards/nucleo-f091/Makefile.include +++ b/boards/nucleo-f091/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f0 export CPU_MODEL = stm32f091rc # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-f103/Makefile.features b/boards/nucleo-f103/Makefile.features index 8e8843d5e4..bfc6a2aec1 100644 --- a/boards/nucleo-f103/Makefile.features +++ b/boards/nucleo-f103/Makefile.features @@ -6,7 +6,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m3_1 diff --git a/boards/nucleo-f103/Makefile.include b/boards/nucleo-f103/Makefile.include index de63a919b9..fde39f6fe4 100644 --- a/boards/nucleo-f103/Makefile.include +++ b/boards/nucleo-f103/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f1 export CPU_MODEL = stm32f103rb # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-f302/Makefile.features b/boards/nucleo-f302/Makefile.features index d761bf567a..c70c7439ac 100644 --- a/boards/nucleo-f302/Makefile.features +++ b/boards/nucleo-f302/Makefile.features @@ -8,7 +8,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m4_2 diff --git a/boards/nucleo-f302/Makefile.include b/boards/nucleo-f302/Makefile.include index 6d4d2e4035..017be69320 100644 --- a/boards/nucleo-f302/Makefile.include +++ b/boards/nucleo-f302/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f3 export CPU_MODEL = stm32f302r8 # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-f303/Makefile.features b/boards/nucleo-f303/Makefile.features index d761bf567a..c70c7439ac 100644 --- a/boards/nucleo-f303/Makefile.features +++ b/boards/nucleo-f303/Makefile.features @@ -8,7 +8,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m4_2 diff --git a/boards/nucleo-f303/Makefile.include b/boards/nucleo-f303/Makefile.include index 723f72fb62..952f166d6d 100644 --- a/boards/nucleo-f303/Makefile.include +++ b/boards/nucleo-f303/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f3 export CPU_MODEL = stm32f303re # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-f334/Makefile.features b/boards/nucleo-f334/Makefile.features index 84fb8df11e..d8564bbf7e 100644 --- a/boards/nucleo-f334/Makefile.features +++ b/boards/nucleo-f334/Makefile.features @@ -7,7 +7,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m4_2 diff --git a/boards/nucleo-f334/Makefile.include b/boards/nucleo-f334/Makefile.include index 41809262c5..3d78f87e21 100644 --- a/boards/nucleo-f334/Makefile.include +++ b/boards/nucleo-f334/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f3 export CPU_MODEL = stm32f334r8 # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-f401/Makefile.features b/boards/nucleo-f401/Makefile.features index 10ffdd68dd..9e60ed80e2 100644 --- a/boards/nucleo-f401/Makefile.features +++ b/boards/nucleo-f401/Makefile.features @@ -9,7 +9,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m4_3 diff --git a/boards/nucleo-f401/Makefile.include b/boards/nucleo-f401/Makefile.include index 4a63668cf1..0d2f4a1d16 100644 --- a/boards/nucleo-f401/Makefile.include +++ b/boards/nucleo-f401/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f4 export CPU_MODEL = stm32f401re # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-f410/Makefile.include b/boards/nucleo-f410/Makefile.include index b3d4a910d1..c2254d8012 100644 --- a/boards/nucleo-f410/Makefile.include +++ b/boards/nucleo-f410/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f4 export CPU_MODEL = stm32f410rb # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-f411/Makefile.include b/boards/nucleo-f411/Makefile.include index 70a5d0a199..c05ee3f9af 100644 --- a/boards/nucleo-f411/Makefile.include +++ b/boards/nucleo-f411/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f4 export CPU_MODEL = stm32f411re # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-f446/Makefile.features b/boards/nucleo-f446/Makefile.features index 10ffdd68dd..9e60ed80e2 100644 --- a/boards/nucleo-f446/Makefile.features +++ b/boards/nucleo-f446/Makefile.features @@ -9,7 +9,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m4_3 diff --git a/boards/nucleo-f446/Makefile.include b/boards/nucleo-f446/Makefile.include index 332851abc3..d892d86b04 100644 --- a/boards/nucleo-f446/Makefile.include +++ b/boards/nucleo-f446/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f4 export CPU_MODEL = stm32f446re # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-l053/Makefile.features b/boards/nucleo-l053/Makefile.features index d785886eba..674038985b 100644 --- a/boards/nucleo-l053/Makefile.features +++ b/boards/nucleo-l053/Makefile.features @@ -7,7 +7,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m0_1 diff --git a/boards/nucleo-l053/Makefile.include b/boards/nucleo-l053/Makefile.include index e4344de4b8..d1e1ee470e 100644 --- a/boards/nucleo-l053/Makefile.include +++ b/boards/nucleo-l053/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32l0 export CPU_MODEL = stm32l053r8 # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-l073/Makefile.features b/boards/nucleo-l073/Makefile.features index 33fd602785..3d4cdbc941 100644 --- a/boards/nucleo-l073/Makefile.features +++ b/boards/nucleo-l073/Makefile.features @@ -9,7 +9,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m0_1 diff --git a/boards/nucleo-l073/Makefile.include b/boards/nucleo-l073/Makefile.include index 59447c1094..4e7785f38c 100644 --- a/boards/nucleo-l073/Makefile.include +++ b/boards/nucleo-l073/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32l0 export CPU_MODEL = stm32l073rz # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-l152/Makefile.features b/boards/nucleo-l152/Makefile.features index 4bc3faf2d4..5af262f182 100644 --- a/boards/nucleo-l152/Makefile.features +++ b/boards/nucleo-l152/Makefile.features @@ -10,7 +10,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m3_2 diff --git a/boards/nucleo-l152/Makefile.include b/boards/nucleo-l152/Makefile.include index f6bf89126a..f949c2f6d6 100644 --- a/boards/nucleo-l152/Makefile.include +++ b/boards/nucleo-l152/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32l1 export CPU_MODEL = stm32l152re # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include diff --git a/boards/nucleo-l476/Makefile.features b/boards/nucleo-l476/Makefile.features index b4ed73641e..e2b7533200 100644 --- a/boards/nucleo-l476/Makefile.features +++ b/boards/nucleo-l476/Makefile.features @@ -8,7 +8,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.features +include $(RIOTBOARD)/common/nucleo64/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m4_2 diff --git a/boards/nucleo-l476/Makefile.include b/boards/nucleo-l476/Makefile.include index a796b9257d..1812cb94ad 100644 --- a/boards/nucleo-l476/Makefile.include +++ b/boards/nucleo-l476/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32l4 export CPU_MODEL = stm32l476rg # load the common Makefile.include for Nucleo boards -include $(RIOTBOARD)/common/nucleo/Makefile.include +include $(RIOTBOARD)/common/nucleo64/Makefile.include