diff --git a/boards/nucleo32-common/Makefile b/boards/common/nucleo32/Makefile similarity index 100% rename from boards/nucleo32-common/Makefile rename to boards/common/nucleo32/Makefile diff --git a/boards/nucleo32-common/Makefile.features b/boards/common/nucleo32/Makefile.features similarity index 100% rename from boards/nucleo32-common/Makefile.features rename to boards/common/nucleo32/Makefile.features diff --git a/boards/common/nucleo32/Makefile.include b/boards/common/nucleo32/Makefile.include new file mode 100644 index 0000000000..2e01f540c3 --- /dev/null +++ b/boards/common/nucleo32/Makefile.include @@ -0,0 +1,5 @@ +# include nucleo common serial configuration +include $(RIOTBOARD)/common/nucleo/Makefile.include.serial + +# add the common header files to the include path +INCLUDES += -I$(RIOTBOARD)/common/nucleo32/include diff --git a/boards/nucleo32-common/include/arduino_board.h b/boards/common/nucleo32/include/arduino_board.h similarity index 100% rename from boards/nucleo32-common/include/arduino_board.h rename to boards/common/nucleo32/include/arduino_board.h diff --git a/boards/nucleo32-common/include/arduino_pinmap.h b/boards/common/nucleo32/include/arduino_pinmap.h similarity index 100% rename from boards/nucleo32-common/include/arduino_pinmap.h rename to boards/common/nucleo32/include/arduino_pinmap.h diff --git a/boards/nucleo32-common/include/board_common.h b/boards/common/nucleo32/include/board_common.h similarity index 100% rename from boards/nucleo32-common/include/board_common.h rename to boards/common/nucleo32/include/board_common.h diff --git a/boards/nucleo32-common/include/gpio_params.h b/boards/common/nucleo32/include/gpio_params.h similarity index 100% rename from boards/nucleo32-common/include/gpio_params.h rename to boards/common/nucleo32/include/gpio_params.h diff --git a/boards/nucleo32-common/Makefile.include b/boards/nucleo32-common/Makefile.include deleted file mode 100644 index e647e4f888..0000000000 --- a/boards/nucleo32-common/Makefile.include +++ /dev/null @@ -1,5 +0,0 @@ -# include nucleo common serial configuration -include $(RIOTBOARD)/nucleo-common/Makefile.include.serial - -# add the common header files to the include path -INCLUDES += -I$(RIOTBOARD)/nucleo32-common/include diff --git a/boards/nucleo32-f031/Makefile.dep b/boards/nucleo32-f031/Makefile.dep index 76e2dc17b4..7294858272 100644 --- a/boards/nucleo32-f031/Makefile.dep +++ b/boards/nucleo32-f031/Makefile.dep @@ -1 +1 @@ -include $(RIOTBOARD)/nucleo-common/Makefile.dep +include $(RIOTBOARD)/common/nucleo/Makefile.dep diff --git a/boards/nucleo32-f031/Makefile.features b/boards/nucleo32-f031/Makefile.features index 7513e53276..bf8dbd4a68 100644 --- a/boards/nucleo32-f031/Makefile.features +++ b/boards/nucleo32-f031/Makefile.features @@ -8,7 +8,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo-32 boards -include $(RIOTBOARD)/nucleo32-common/Makefile.features +include $(RIOTBOARD)/common/nucleo32/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m0_1 diff --git a/boards/nucleo32-f031/Makefile.include b/boards/nucleo32-f031/Makefile.include index 84e8bb7411..fc8437d2c2 100644 --- a/boards/nucleo32-f031/Makefile.include +++ b/boards/nucleo32-f031/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f0 export CPU_MODEL = stm32f031k6 # load the common Makefile.include for Nucleo-32 boards -include $(RIOTBOARD)/nucleo32-common/Makefile.include +include $(RIOTBOARD)/common/nucleo32/Makefile.include diff --git a/boards/nucleo32-f042/Makefile.dep b/boards/nucleo32-f042/Makefile.dep index 76e2dc17b4..7294858272 100644 --- a/boards/nucleo32-f042/Makefile.dep +++ b/boards/nucleo32-f042/Makefile.dep @@ -1 +1 @@ -include $(RIOTBOARD)/nucleo-common/Makefile.dep +include $(RIOTBOARD)/common/nucleo/Makefile.dep diff --git a/boards/nucleo32-f042/Makefile.features b/boards/nucleo32-f042/Makefile.features index 7513e53276..bf8dbd4a68 100644 --- a/boards/nucleo32-f042/Makefile.features +++ b/boards/nucleo32-f042/Makefile.features @@ -8,7 +8,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo-32 boards -include $(RIOTBOARD)/nucleo32-common/Makefile.features +include $(RIOTBOARD)/common/nucleo32/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m0_1 diff --git a/boards/nucleo32-f042/Makefile.include b/boards/nucleo32-f042/Makefile.include index 907a2a48dc..8b354ae30a 100644 --- a/boards/nucleo32-f042/Makefile.include +++ b/boards/nucleo32-f042/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f0 export CPU_MODEL = stm32f042k6 # load the common Makefile.include for Nucleo-32 boards -include $(RIOTBOARD)/nucleo32-common/Makefile.include +include $(RIOTBOARD)/common/nucleo32/Makefile.include diff --git a/boards/nucleo32-f303/Makefile.dep b/boards/nucleo32-f303/Makefile.dep index 76e2dc17b4..7294858272 100644 --- a/boards/nucleo32-f303/Makefile.dep +++ b/boards/nucleo32-f303/Makefile.dep @@ -1 +1 @@ -include $(RIOTBOARD)/nucleo-common/Makefile.dep +include $(RIOTBOARD)/common/nucleo/Makefile.dep diff --git a/boards/nucleo32-f303/Makefile.features b/boards/nucleo32-f303/Makefile.features index 9f7e1e2dc1..ef8701ee65 100644 --- a/boards/nucleo32-f303/Makefile.features +++ b/boards/nucleo32-f303/Makefile.features @@ -7,7 +7,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo-32 boards -include $(RIOTBOARD)/nucleo32-common/Makefile.features +include $(RIOTBOARD)/common/nucleo32/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m4_2 diff --git a/boards/nucleo32-f303/Makefile.include b/boards/nucleo32-f303/Makefile.include index b3b90180d9..d253288f3e 100644 --- a/boards/nucleo32-f303/Makefile.include +++ b/boards/nucleo32-f303/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32f3 export CPU_MODEL = stm32f303k8 # load the common Makefile.include for Nucleo-32 boards -include $(RIOTBOARD)/nucleo32-common/Makefile.include +include $(RIOTBOARD)/common/nucleo32/Makefile.include diff --git a/boards/nucleo32-l031/Makefile.dep b/boards/nucleo32-l031/Makefile.dep index 76e2dc17b4..7294858272 100644 --- a/boards/nucleo32-l031/Makefile.dep +++ b/boards/nucleo32-l031/Makefile.dep @@ -1 +1 @@ -include $(RIOTBOARD)/nucleo-common/Makefile.dep +include $(RIOTBOARD)/common/nucleo/Makefile.dep diff --git a/boards/nucleo32-l031/Makefile.features b/boards/nucleo32-l031/Makefile.features index 5d28613ad7..f92958c64f 100644 --- a/boards/nucleo32-l031/Makefile.features +++ b/boards/nucleo32-l031/Makefile.features @@ -7,7 +7,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo-32 boards -include $(RIOTBOARD)/nucleo32-common/Makefile.features +include $(RIOTBOARD)/common/nucleo32/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m0_1 diff --git a/boards/nucleo32-l031/Makefile.include b/boards/nucleo32-l031/Makefile.include index 7c63ee8907..24587304da 100644 --- a/boards/nucleo32-l031/Makefile.include +++ b/boards/nucleo32-l031/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32l0 export CPU_MODEL = stm32l031k6 # load the common Makefile.include for Nucleo-32 boards -include $(RIOTBOARD)/nucleo32-common/Makefile.include +include $(RIOTBOARD)/common/nucleo32/Makefile.include diff --git a/boards/nucleo32-l432/Makefile.dep b/boards/nucleo32-l432/Makefile.dep index 76e2dc17b4..7294858272 100644 --- a/boards/nucleo32-l432/Makefile.dep +++ b/boards/nucleo32-l432/Makefile.dep @@ -1 +1 @@ -include $(RIOTBOARD)/nucleo-common/Makefile.dep +include $(RIOTBOARD)/common/nucleo/Makefile.dep diff --git a/boards/nucleo32-l432/Makefile.features b/boards/nucleo32-l432/Makefile.features index 86a48c017a..5384c09134 100644 --- a/boards/nucleo32-l432/Makefile.features +++ b/boards/nucleo32-l432/Makefile.features @@ -7,7 +7,7 @@ FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart # load the common Makefile.features for Nucleo-32 boards -include $(RIOTBOARD)/nucleo32-common/Makefile.features +include $(RIOTBOARD)/common/nucleo32/Makefile.features # The board MPU family (used for grouping by the CI system) FEATURES_MCU_GROUP = cortex_m4_1 diff --git a/boards/nucleo32-l432/Makefile.include b/boards/nucleo32-l432/Makefile.include index 6e44161250..e3e505bc8c 100644 --- a/boards/nucleo32-l432/Makefile.include +++ b/boards/nucleo32-l432/Makefile.include @@ -3,4 +3,4 @@ export CPU = stm32l4 export CPU_MODEL = stm32l432kc # load the common Makefile.include for Nucleo-32 boards -include $(RIOTBOARD)/nucleo32-common/Makefile.include +include $(RIOTBOARD)/common/nucleo32/Makefile.include