diff --git a/boards/arm/96b_aerocore2/CMakeLists.txt b/boards/arm/96b_aerocore2/CMakeLists.txt deleted file mode 100644 index 176bea9e17c..00000000000 --- a/boards/arm/96b_aerocore2/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2020 Linaro Limited -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/96b_aerocore2/pinmux.c b/boards/arm/96b_aerocore2/pinmux.c deleted file mode 100644 index 1f22b4f4b83..00000000000 --- a/boards/arm/96b_aerocore2/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 Linaro Limited. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/96b_argonkey/CMakeLists.txt b/boards/arm/96b_argonkey/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/96b_argonkey/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/96b_argonkey/pinmux.c b/boards/arm/96b_argonkey/pinmux.c deleted file mode 100644 index 6b8b146ea9a..00000000000 --- a/boards/arm/96b_argonkey/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 STMicroelectronics. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for 96boards Argonkey board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/96b_avenger96/CMakeLists.txt b/boards/arm/96b_avenger96/CMakeLists.txt deleted file mode 100644 index 4e477d26df8..00000000000 --- a/boards/arm/96b_avenger96/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2019 Linaro Ltd. -# -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/96b_avenger96/pinmux.c b/boards/arm/96b_avenger96/pinmux.c deleted file mode 100644 index 8a9f46f066a..00000000000 --- a/boards/arm/96b_avenger96/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2019 Linaro Ltd. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for Avenger96 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/96b_carbon/CMakeLists.txt b/boards/arm/96b_carbon/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/96b_carbon/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/96b_carbon/pinmux.c b/boards/arm/96b_carbon/pinmux.c deleted file mode 100644 index 92638864868..00000000000 --- a/boards/arm/96b_carbon/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2016 Linaro Limited. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for 96boards Carbon board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/96b_meerkat96/CMakeLists.txt b/boards/arm/96b_meerkat96/CMakeLists.txt deleted file mode 100644 index f42562cc6ef..00000000000 --- a/boards/arm/96b_meerkat96/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# -# Copyright (c) 2019, Linaro Ltd. -# -# SPDX-License-Identifier: Apache-2.0 -# - -zephyr_library() -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -zephyr_library_sources(pinmux.c) diff --git a/boards/arm/96b_neonkey/pinmux.c b/boards/arm/96b_neonkey/pinmux.c deleted file mode 100644 index f3f6c3f9cf0..00000000000 --- a/boards/arm/96b_neonkey/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 Linaro Limited. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for 96boards Neonkey board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/96b_stm32_sensor_mez/CMakeLists.txt b/boards/arm/96b_stm32_sensor_mez/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/96b_stm32_sensor_mez/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/96b_stm32_sensor_mez/pinmux.c b/boards/arm/96b_stm32_sensor_mez/pinmux.c deleted file mode 100644 index 262916f353f..00000000000 --- a/boards/arm/96b_stm32_sensor_mez/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 Linaro Ltd. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for 96b_stm32_sensor_mez board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/adafruit_feather_stm32f405/CMakeLists.txt b/boards/arm/adafruit_feather_stm32f405/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/adafruit_feather_stm32f405/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/adafruit_feather_stm32f405/pinmux.c b/boards/arm/adafruit_feather_stm32f405/pinmux.c deleted file mode 100644 index c000e24582e..00000000000 --- a/boards/arm/adafruit_feather_stm32f405/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 Lucian Copeland for Adafruit Industries - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for Feather STM32F405 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/b_l4s5i_iot01a/CMakeLists.txt b/boards/arm/b_l4s5i_iot01a/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/b_l4s5i_iot01a/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/b_l4s5i_iot01a/pinmux.c b/boards/arm/b_l4s5i_iot01a/pinmux.c deleted file mode 100644 index 3c3de85cd39..00000000000 --- a/boards/arm/b_l4s5i_iot01a/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 STMIcroelectronics - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for B_L4S5I_IOT01A board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/black_f407ve/CMakeLists.txt b/boards/arm/black_f407ve/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/black_f407ve/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/black_f407ve/pinmux.c b/boards/arm/black_f407ve/pinmux.c deleted file mode 100644 index 5ff78ac01ba..00000000000 --- a/boards/arm/black_f407ve/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 Intel Corporation - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for black_f407ve board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_black_f407ve_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_black_f407ve_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/black_f407zg_pro/CMakeLists.txt b/boards/arm/black_f407zg_pro/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/black_f407zg_pro/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/black_f407zg_pro/pinmux.c b/boards/arm/black_f407zg_pro/pinmux.c deleted file mode 100644 index 6f3208fc6c4..00000000000 --- a/boards/arm/black_f407zg_pro/pinmux.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2020 Intel Corporation - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignment for black_f407zg_pro board */ -static const struct pin_config pinconf[] = { -}; - - -static int pinmux_black_f407zg_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_black_f407zg_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/blackpill_f411ce/CMakeLists.txt b/boards/arm/blackpill_f411ce/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/blackpill_f411ce/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/blackpill_f411ce/pinmux.c b/boards/arm/blackpill_f411ce/pinmux.c deleted file mode 100644 index 1dee814a72b..00000000000 --- a/boards/arm/blackpill_f411ce/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 Brian Bradley - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for Black Pill V2.0 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/disco_l475_iot1/CMakeLists.txt b/boards/arm/disco_l475_iot1/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/disco_l475_iot1/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/disco_l475_iot1/pinmux.c b/boards/arm/disco_l475_iot1/pinmux.c deleted file mode 100644 index 032a28630e1..00000000000 --- a/boards/arm/disco_l475_iot1/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 Linaro Limited - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for Disco L475 IOT1 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/dragino_lsn50/CMakeLists.txt b/boards/arm/dragino_lsn50/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/dragino_lsn50/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/dragino_lsn50/pinmux.c b/boards/arm/dragino_lsn50/pinmux.c deleted file mode 100644 index 8da74b9100a..00000000000 --- a/boards/arm/dragino_lsn50/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 Endre Karlson - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include "pinmux/stm32/pinmux_stm32.h" - -/* pin assignments for Dragino LSN50 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/google_kukui/CMakeLists.txt b/boards/arm/google_kukui/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/google_kukui/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/google_kukui/pinmux.c b/boards/arm/google_kukui/pinmux.c deleted file mode 100644 index fd9fcf91db5..00000000000 --- a/boards/arm/google_kukui/pinmux.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2019 The Chromium OS Authors - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/mikroe_mini_m4_for_stm32/CMakeLists.txt b/boards/arm/mikroe_mini_m4_for_stm32/CMakeLists.txt deleted file mode 100644 index dc81fa62960..00000000000 --- a/boards/arm/mikroe_mini_m4_for_stm32/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2019, Kwon Tae-young -# -# SPDX-License-Identifier: Apache-2.0 -# -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/mikroe_mini_m4_for_stm32/pinmux.c b/boards/arm/mikroe_mini_m4_for_stm32/pinmux.c deleted file mode 100644 index 858f81c47b9..00000000000 --- a/boards/arm/mikroe_mini_m4_for_stm32/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2019, Kwon Tae-young - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for MINI-M4 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f030r8/CMakeLists.txt b/boards/arm/nucleo_f030r8/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f030r8/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f030r8/pinmux.c b/boards/arm/nucleo_f030r8/pinmux.c deleted file mode 100644 index 36753f234ef..00000000000 --- a/boards/arm/nucleo_f030r8/pinmux.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2017 RnDity Sp. z o.o. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include -#include "pinmux/pinmux.h" - -#include "pinmux/stm32/pinmux_stm32.h" - -/* pin assignments for NUCLEO-F030R8 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f070rb/CMakeLists.txt b/boards/arm/nucleo_f070rb/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f070rb/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f070rb/pinmux.c b/boards/arm/nucleo_f070rb/pinmux.c deleted file mode 100644 index 595f453f154..00000000000 --- a/boards/arm/nucleo_f070rb/pinmux.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2018 qianfan Zhao - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include -#include "pinmux/pinmux.h" - -#include - -/* pin assignments for NUCLEO_F070RB board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f091rc/CMakeLists.txt b/boards/arm/nucleo_f091rc/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f091rc/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f091rc/pinmux.c b/boards/arm/nucleo_f091rc/pinmux.c deleted file mode 100644 index 447777c867a..00000000000 --- a/boards/arm/nucleo_f091rc/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 RnDity Sp. z o.o. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-F091RC board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f103rb/CMakeLists.txt b/boards/arm/nucleo_f103rb/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f103rb/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f103rb/pinmux.c b/boards/arm/nucleo_f103rb/pinmux.c deleted file mode 100644 index 60a40c4c4db..00000000000 --- a/boards/arm/nucleo_f103rb/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2016 Open-RnD Sp. z o.o. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-F103RB board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f207zg/CMakeLists.txt b/boards/arm/nucleo_f207zg/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f207zg/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f207zg/pinmux.c b/boards/arm/nucleo_f207zg/pinmux.c deleted file mode 100644 index b81d8f3e6c4..00000000000 --- a/boards/arm/nucleo_f207zg/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 qianfan Zhao - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-F207ZG board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f302r8/CMakeLists.txt b/boards/arm/nucleo_f302r8/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f302r8/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f302r8/pinmux.c b/boards/arm/nucleo_f302r8/pinmux.c deleted file mode 100644 index 8ea79d0eb6a..00000000000 --- a/boards/arm/nucleo_f302r8/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 Seitz & Associates - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-F302R8 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f303re/CMakeLists.txt b/boards/arm/nucleo_f303re/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f303re/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f303re/pinmux.c b/boards/arm/nucleo_f303re/pinmux.c deleted file mode 100644 index 21c6fe3b5b4..00000000000 --- a/boards/arm/nucleo_f303re/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 Paul M. Bendixen - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-F303RE board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f334r8/CMakeLists.txt b/boards/arm/nucleo_f334r8/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f334r8/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f334r8/pinmux.c b/boards/arm/nucleo_f334r8/pinmux.c deleted file mode 100644 index 884c0658754..00000000000 --- a/boards/arm/nucleo_f334r8/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 RnDity Sp. z o.o. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-F334RB board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f401re/CMakeLists.txt b/boards/arm/nucleo_f401re/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f401re/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f401re/pinmux.c b/boards/arm/nucleo_f401re/pinmux.c deleted file mode 100644 index ba612148cab..00000000000 --- a/boards/arm/nucleo_f401re/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2016 Linaro Limited. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-F401RE board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f411re/CMakeLists.txt b/boards/arm/nucleo_f411re/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f411re/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f411re/pinmux.c b/boards/arm/nucleo_f411re/pinmux.c deleted file mode 100644 index b137aadc6dd..00000000000 --- a/boards/arm/nucleo_f411re/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2016 Linaro Limited. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-F411RE board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f412zg/CMakeLists.txt b/boards/arm/nucleo_f412zg/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f412zg/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f412zg/pinmux.c b/boards/arm/nucleo_f412zg/pinmux.c deleted file mode 100644 index 5d8e52a5795..00000000000 --- a/boards/arm/nucleo_f412zg/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 Florian Vaussard, HEIG-VD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-F412ZG board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f413zh/CMakeLists.txt b/boards/arm/nucleo_f413zh/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f413zh/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f413zh/pinmux.c b/boards/arm/nucleo_f413zh/pinmux.c deleted file mode 100644 index 51f36dbb0f6..00000000000 --- a/boards/arm/nucleo_f413zh/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 Florian Vaussard, HEIG-VD - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-F413ZH board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f429zi/CMakeLists.txt b/boards/arm/nucleo_f429zi/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f429zi/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/96b_neonkey/CMakeLists.txt b/boards/arm/nucleo_f429zi/old.CMakeLists.txt similarity index 81% rename from boards/arm/96b_neonkey/CMakeLists.txt rename to boards/arm/nucleo_f429zi/old.CMakeLists.txt index d1b8108cfed..0875f8d23a9 100644 --- a/boards/arm/96b_neonkey/CMakeLists.txt +++ b/boards/arm/nucleo_f429zi/old.CMakeLists.txt @@ -2,6 +2,5 @@ if(CONFIG_PINMUX) zephyr_library() -zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) endif() diff --git a/boards/arm/nucleo_f429zi/pinmux.c b/boards/arm/nucleo_f429zi/pinmux.c deleted file mode 100644 index 5f3d646c9cc..00000000000 --- a/boards/arm/nucleo_f429zi/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 Linaro Limited - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-F429ZI board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f446re/CMakeLists.txt b/boards/arm/nucleo_f446re/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f446re/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f446re/pinmux.c b/boards/arm/nucleo_f446re/pinmux.c deleted file mode 100644 index a443c6a2e54..00000000000 --- a/boards/arm/nucleo_f446re/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 Philémon Jaermann - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for stm32F446RE Nucleo board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f746zg/CMakeLists.txt b/boards/arm/nucleo_f746zg/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f746zg/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f746zg/pinmux.c b/boards/arm/nucleo_f746zg/pinmux.c deleted file mode 100644 index 9463335eebf..00000000000 --- a/boards/arm/nucleo_f746zg/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 AJ Palmer - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* NUCLEO-F746ZG pin configurations */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f756zg/CMakeLists.txt b/boards/arm/nucleo_f756zg/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f756zg/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f756zg/pinmux.c b/boards/arm/nucleo_f756zg/pinmux.c deleted file mode 100644 index 491f9a26d97..00000000000 --- a/boards/arm/nucleo_f756zg/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 AJ Palmer - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* NUCLEO-F756ZG pin configurations */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_f767zi/CMakeLists.txt b/boards/arm/nucleo_f767zi/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_f767zi/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_f767zi/pinmux.c b/boards/arm/nucleo_f767zi/pinmux.c deleted file mode 100644 index 40c714fdce9..00000000000 --- a/boards/arm/nucleo_f767zi/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2019 Roland Ma - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* NUCLEO-F767ZI pin configurations */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_g071rb/CMakeLists.txt b/boards/arm/nucleo_g071rb/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_g071rb/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_g071rb/pinmux.c b/boards/arm/nucleo_g071rb/pinmux.c deleted file mode 100644 index da5105815ed..00000000000 --- a/boards/arm/nucleo_g071rb/pinmux.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2019 Philippe Retornaz - * Copyright (c) 2019 STMicroelectronics - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-G071RB board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_h743zi/CMakeLists.txt b/boards/arm/nucleo_h743zi/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_h743zi/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_h743zi/pinmux.c b/boards/arm/nucleo_h743zi/pinmux.c deleted file mode 100644 index 12c491c73cc..00000000000 --- a/boards/arm/nucleo_h743zi/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 Teslabs Engineering S.L. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* NUCLEO-H743ZI pin configurations */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_h745zi_q/CMakeLists.txt b/boards/arm/nucleo_h745zi_q/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_h745zi_q/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_h745zi_q/pinmux.c b/boards/arm/nucleo_h745zi_q/pinmux.c deleted file mode 100644 index 092024c3437..00000000000 --- a/boards/arm/nucleo_h745zi_q/pinmux.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2020 Alexander Kozhinov - * AlexanderKozhinov@yandex.com - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* NUCLEO-F745ZI-Q pin configurations */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_l011k4/CMakeLists.txt b/boards/arm/nucleo_l011k4/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_l011k4/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_l011k4/pinmux.c b/boards/arm/nucleo_l011k4/pinmux.c deleted file mode 100644 index dce8be35bcb..00000000000 --- a/boards/arm/nucleo_l011k4/pinmux.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2020 Steven Daglish - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-L011K4 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_l053r8/CMakeLists.txt b/boards/arm/nucleo_l053r8/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_l053r8/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_l053r8/pinmux.c b/boards/arm/nucleo_l053r8/pinmux.c deleted file mode 100644 index e19335c4c3c..00000000000 --- a/boards/arm/nucleo_l053r8/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 Anthony Kreft - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-L053R8 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_l073rz/CMakeLists.txt b/boards/arm/nucleo_l073rz/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_l073rz/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_l073rz/pinmux.c b/boards/arm/nucleo_l073rz/pinmux.c deleted file mode 100644 index e07c98114d9..00000000000 --- a/boards/arm/nucleo_l073rz/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 Ilya Tagunov - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-L073RZ board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_l152re/CMakeLists.txt b/boards/arm/nucleo_l152re/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_l152re/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_l152re/pinmux.c b/boards/arm/nucleo_l152re/pinmux.c deleted file mode 100644 index c2be31ac580..00000000000 --- a/boards/arm/nucleo_l152re/pinmux.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2019 Antony Pavlov - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_l432kc/CMakeLists.txt b/boards/arm/nucleo_l432kc/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_l432kc/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_l432kc/pinmux.c b/boards/arm/nucleo_l432kc/pinmux.c deleted file mode 100644 index 23ce712e2ad..00000000000 --- a/boards/arm/nucleo_l432kc/pinmux.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2016 Open-RnD Sp. z o.o. - * Copyright (c) 2016 BayLibre, SAS - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-L432KC board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_l452re/CMakeLists.txt b/boards/arm/nucleo_l452re/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_l452re/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_l452re/pinmux.c b/boards/arm/nucleo_l452re/pinmux.c deleted file mode 100644 index f6175593266..00000000000 --- a/boards/arm/nucleo_l452re/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2019 Libre Solar Technologies GmbH - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-L452RE board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_l476rg/CMakeLists.txt b/boards/arm/nucleo_l476rg/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_l476rg/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_l476rg/pinmux.c b/boards/arm/nucleo_l476rg/pinmux.c deleted file mode 100644 index 532e7b3e8e0..00000000000 --- a/boards/arm/nucleo_l476rg/pinmux.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2016 Open-RnD Sp. z o.o. - * Copyright (c) 2016 BayLibre, SAS - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-L476RG board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_l496zg/CMakeLists.txt b/boards/arm/nucleo_l496zg/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_l496zg/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_l496zg/pinmux.c b/boards/arm/nucleo_l496zg/pinmux.c deleted file mode 100644 index 42c78642fb2..00000000000 --- a/boards/arm/nucleo_l496zg/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 Centaur Analytics, Inc - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-L496ZG board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_l4r5zi/CMakeLists.txt b/boards/arm/nucleo_l4r5zi/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/nucleo_l4r5zi/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_l4r5zi/pinmux.c b/boards/arm/nucleo_l4r5zi/pinmux.c deleted file mode 100644 index c883f358624..00000000000 --- a/boards/arm/nucleo_l4r5zi/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 Pushpal Sidhu - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-L4R5ZI board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_l552ze_q/CMakeLists.txt b/boards/arm/nucleo_l552ze_q/CMakeLists.txt index 9ce07c2159e..696a175a779 100644 --- a/boards/arm/nucleo_l552ze_q/CMakeLists.txt +++ b/boards/arm/nucleo_l552ze_q/CMakeLists.txt @@ -1,8 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) endif() diff --git a/boards/arm/nucleo_l552ze_q/pinmux.c b/boards/arm/nucleo_l552ze_q/pinmux.c deleted file mode 100644 index 1c4cab239db..00000000000 --- a/boards/arm/nucleo_l552ze_q/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 Linaro Limited - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-L552ZE-Q board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/nucleo_wb55rg/CMakeLists.txt b/boards/arm/nucleo_wb55rg/CMakeLists.txt deleted file mode 100644 index 3b22ab6d84f..00000000000 --- a/boards/arm/nucleo_wb55rg/CMakeLists.txt +++ /dev/null @@ -1,5 +0,0 @@ -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/nucleo_wb55rg/pinmux.c b/boards/arm/nucleo_wb55rg/pinmux.c deleted file mode 100644 index bbae337e9d8..00000000000 --- a/boards/arm/nucleo_wb55rg/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 Linaro Limited - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for NUCLEO-WB55RG board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/olimex_stm32_e407/CMakeLists.txt b/boards/arm/olimex_stm32_e407/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/olimex_stm32_e407/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/olimex_stm32_e407/pinmux.c b/boards/arm/olimex_stm32_e407/pinmux.c deleted file mode 100644 index 8fd01419e8f..00000000000 --- a/boards/arm/olimex_stm32_e407/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 Erwin Rol - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for OLIMEX-STM32-E407 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/olimex_stm32_h103/CMakeLists.txt b/boards/arm/olimex_stm32_h103/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/olimex_stm32_h103/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/olimex_stm32_h103/pinmux.c b/boards/arm/olimex_stm32_h103/pinmux.c deleted file mode 100644 index aa2b190646b..00000000000 --- a/boards/arm/olimex_stm32_h103/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017-2020, embedjournal.com - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for OLIMEX-STM32-H103 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/olimex_stm32_h407/CMakeLists.txt b/boards/arm/olimex_stm32_h407/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/olimex_stm32_h407/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/olimex_stm32_h407/pinmux.c b/boards/arm/olimex_stm32_h407/pinmux.c deleted file mode 100644 index f6a6ccbc571..00000000000 --- a/boards/arm/olimex_stm32_h407/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018, Reto Schneider - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for OLIMEX-STM32-H407 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/olimex_stm32_p405/CMakeLists.txt b/boards/arm/olimex_stm32_p405/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/olimex_stm32_p405/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/olimex_stm32_p405/pinmux.c b/boards/arm/olimex_stm32_p405/pinmux.c deleted file mode 100644 index a58e4efa791..00000000000 --- a/boards/arm/olimex_stm32_p405/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 Erwin Rol - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for OLIMEX-STM32-P405 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/olimexino_stm32/CMakeLists.txt b/boards/arm/olimexino_stm32/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/olimexino_stm32/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/olimexino_stm32/pinmux.c b/boards/arm/olimexino_stm32/pinmux.c deleted file mode 100644 index 33faa93355d..00000000000 --- a/boards/arm/olimexino_stm32/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2016 Open-RnD Sp. z o.o. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include -#include - -#include - -/* pin assignments for OLIMEXINO-STM32 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/sensortile_box/CMakeLists.txt b/boards/arm/sensortile_box/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/sensortile_box/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/sensortile_box/pinmux.c b/boards/arm/sensortile_box/pinmux.c deleted file mode 100644 index 3708387d20a..00000000000 --- a/boards/arm/sensortile_box/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2019 STMicroelectronics - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for SensorTile.box board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/steval_fcu001v1/CMakeLists.txt b/boards/arm/steval_fcu001v1/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/steval_fcu001v1/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/steval_fcu001v1/pinmux.c b/boards/arm/steval_fcu001v1/pinmux.c deleted file mode 100644 index cf918a554e2..00000000000 --- a/boards/arm/steval_fcu001v1/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2019 Linumiz - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STEVAL-FCU001V1 */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm3210c_eval/CMakeLists.txt b/boards/arm/stm3210c_eval/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm3210c_eval/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm3210c_eval/pinmux.c b/boards/arm/stm3210c_eval/pinmux.c deleted file mode 100644 index 2a977cc8683..00000000000 --- a/boards/arm/stm3210c_eval/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 RnDity Sp. z o.o. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM3210C-EVAL board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32373c_eval/CMakeLists.txt b/boards/arm/stm32373c_eval/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32373c_eval/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32373c_eval/pinmux.c b/boards/arm/stm32373c_eval/pinmux.c deleted file mode 100644 index 1854179eef2..00000000000 --- a/boards/arm/stm32373c_eval/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 RnDity Sp. z o.o. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32373C-EVAL board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32_min_dev/CMakeLists.txt b/boards/arm/stm32_min_dev/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32_min_dev/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32_min_dev/pinmux.c b/boards/arm/stm32_min_dev/pinmux.c deleted file mode 100644 index f3da93cd30b..00000000000 --- a/boards/arm/stm32_min_dev/pinmux.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2017, embedjournal.com - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32_MIN_DEV board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f030_demo/CMakeLists.txt b/boards/arm/stm32f030_demo/CMakeLists.txt deleted file mode 100644 index 72a40c9ca4c..00000000000 --- a/boards/arm/stm32f030_demo/CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ -# -# Copyright (c) 2019 Antony Pavlov -# -# SPDX-License-Identifier: Apache-2.0 -# - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f030_demo/pinmux.c b/boards/arm/stm32f030_demo/pinmux.c deleted file mode 100644 index 0c61de36845..00000000000 --- a/boards/arm/stm32f030_demo/pinmux.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2019 Antony Pavlov - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include -#include "pinmux/pinmux.h" - -#include "pinmux/stm32/pinmux_stm32.h" - -/* pin assignments for STM32F030 DEMO board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f072_eval/CMakeLists.txt b/boards/arm/stm32f072_eval/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32f072_eval/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f072_eval/pinmux.c b/boards/arm/stm32f072_eval/pinmux.c deleted file mode 100644 index 46e8041c4b0..00000000000 --- a/boards/arm/stm32f072_eval/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 BayLibre, SAS - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include "pinmux/stm32/pinmux_stm32.h" - -/* pin assignments for STM32F072-EVAL board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f072b_disco/CMakeLists.txt b/boards/arm/stm32f072b_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32f072b_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f072b_disco/pinmux.c b/boards/arm/stm32f072b_disco/pinmux.c deleted file mode 100644 index ac4c0d76454..00000000000 --- a/boards/arm/stm32f072b_disco/pinmux.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2017 Clage GmbH - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include -#include "pinmux/pinmux.h" - -#include - -/* pin assignments for STM32F072B-DISCO board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f0_disco/CMakeLists.txt b/boards/arm/stm32f0_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32f0_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f0_disco/pinmux.c b/boards/arm/stm32f0_disco/pinmux.c deleted file mode 100644 index bc4785b9585..00000000000 --- a/boards/arm/stm32f0_disco/pinmux.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2018 Nathan Tsoi - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include -#include "pinmux/pinmux.h" - -#include "pinmux/stm32/pinmux_stm32.h" - -/* pin assignments for STM32F0DISCOVERY board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f3_disco/CMakeLists.txt b/boards/arm/stm32f3_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32f3_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f3_disco/pinmux.c b/boards/arm/stm32f3_disco/pinmux.c deleted file mode 100644 index 841aaf628ab..00000000000 --- a/boards/arm/stm32f3_disco/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 I-SENSE group of ICCS - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32F3DISCOVERY board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f411e_disco/CMakeLists.txt b/boards/arm/stm32f411e_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32f411e_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f411e_disco/pinmux.c b/boards/arm/stm32f411e_disco/pinmux.c deleted file mode 100644 index 4f6a3f83a0a..00000000000 --- a/boards/arm/stm32f411e_disco/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 Fenix Engineering Solutions - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32F411E-DISCO board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f412g_disco/CMakeLists.txt b/boards/arm/stm32f412g_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32f412g_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f412g_disco/pinmux.c b/boards/arm/stm32f412g_disco/pinmux.c deleted file mode 100644 index 043b348c008..00000000000 --- a/boards/arm/stm32f412g_disco/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 Powersoft. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32F412G-DISCO board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f429i_disc1/CMakeLists.txt b/boards/arm/stm32f429i_disc1/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32f429i_disc1/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f429i_disc1/pinmux.c b/boards/arm/stm32f429i_disc1/pinmux.c deleted file mode 100644 index d20a6c60f2a..00000000000 --- a/boards/arm/stm32f429i_disc1/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2016 Linaro Limited. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32F429I-DISC1 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f469i_disco/CMakeLists.txt b/boards/arm/stm32f469i_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32f469i_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f469i_disco/pinmux.c b/boards/arm/stm32f469i_disco/pinmux.c deleted file mode 100644 index dcd1ee60f5a..00000000000 --- a/boards/arm/stm32f469i_disco/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2016 Linaro Limited. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32F469I-DISCO board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f4_disco/CMakeLists.txt b/boards/arm/stm32f4_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32f4_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f4_disco/pinmux.c b/boards/arm/stm32f4_disco/pinmux.c deleted file mode 100644 index 474dc4bdbe4..00000000000 --- a/boards/arm/stm32f4_disco/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2016 Linaro Limited. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32F4DISCOVERY board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f723e_disco/CMakeLists.txt b/boards/arm/stm32f723e_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32f723e_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f723e_disco/pinmux.c b/boards/arm/stm32f723e_disco/pinmux.c deleted file mode 100644 index 00956a2a440..00000000000 --- a/boards/arm/stm32f723e_disco/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 Aurelien Jarno - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32F723E-DISCO board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f746g_disco/CMakeLists.txt b/boards/arm/stm32f746g_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32f746g_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f746g_disco/pinmux.c b/boards/arm/stm32f746g_disco/pinmux.c deleted file mode 100644 index 594ae1929d0..00000000000 --- a/boards/arm/stm32f746g_disco/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 Yurii Hamann - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32F746G-DISCO board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32f769i_disco/CMakeLists.txt b/boards/arm/stm32f769i_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32f769i_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32f769i_disco/pinmux.c b/boards/arm/stm32f769i_disco/pinmux.c deleted file mode 100644 index 35a839030bd..00000000000 --- a/boards/arm/stm32f769i_disco/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2018 Yong Jin - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32F769I-DISCO board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32h747i_disco/CMakeLists.txt b/boards/arm/stm32h747i_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32h747i_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32h747i_disco/pinmux.c b/boards/arm/stm32h747i_disco/pinmux.c deleted file mode 100644 index 884723f9a98..00000000000 --- a/boards/arm/stm32h747i_disco/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2019 Linaro Limited - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32H747I-DISCO board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32l1_disco/CMakeLists.txt b/boards/arm/stm32l1_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32l1_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32l1_disco/pinmux.c b/boards/arm/stm32l1_disco/pinmux.c deleted file mode 100644 index a553444c8f0..00000000000 --- a/boards/arm/stm32l1_disco/pinmux.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2019 eTactica ehf - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32l476g_disco/CMakeLists.txt b/boards/arm/stm32l476g_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32l476g_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32l476g_disco/pinmux.c b/boards/arm/stm32l476g_disco/pinmux.c deleted file mode 100644 index f360553376e..00000000000 --- a/boards/arm/stm32l476g_disco/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2017 Arthur Sfez - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32L476G DISCOVERY board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32l496g_disco/CMakeLists.txt b/boards/arm/stm32l496g_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32l496g_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32l496g_disco/pinmux.c b/boards/arm/stm32l496g_disco/pinmux.c deleted file mode 100644 index dea2ff5c5b2..00000000000 --- a/boards/arm/stm32l496g_disco/pinmux.c +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Copyright (c) 2016 Open-RnD Sp. z o.o. - * Copyright (c) 2016 BayLibre, SAS - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32L476G-DISCO board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32l562e_dk/CMakeLists.txt b/boards/arm/stm32l562e_dk/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32l562e_dk/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32l562e_dk/pinmux.c b/boards/arm/stm32l562e_dk/pinmux.c deleted file mode 100644 index bd11c708788..00000000000 --- a/boards/arm/stm32l562e_dk/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 Yestin Sun - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32L562E-DK Discovery board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32mp157c_dk2/CMakeLists.txt b/boards/arm/stm32mp157c_dk2/CMakeLists.txt deleted file mode 100644 index 79216cf2ccb..00000000000 --- a/boards/arm/stm32mp157c_dk2/CMakeLists.txt +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (c) 2019 STMicroelectronics -# -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32mp157c_dk2/pinmux.c b/boards/arm/stm32mp157c_dk2/pinmux.c deleted file mode 100644 index 82adeddcf7d..00000000000 --- a/boards/arm/stm32mp157c_dk2/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2019 STMicroelectronics - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32MP157c_dk2 board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/stm32vl_disco/CMakeLists.txt b/boards/arm/stm32vl_disco/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/stm32vl_disco/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/stm32vl_disco/pinmux.c b/boards/arm/stm32vl_disco/pinmux.c deleted file mode 100644 index b241f1d09ab..00000000000 --- a/boards/arm/stm32vl_disco/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 Jonas Eriksson, Up to Code AB - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for STM32 Discovery VL board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY); diff --git a/boards/arm/waveshare_open103z/CMakeLists.txt b/boards/arm/waveshare_open103z/CMakeLists.txt deleted file mode 100644 index d1b8108cfed..00000000000 --- a/boards/arm/waveshare_open103z/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: Apache-2.0 - -if(CONFIG_PINMUX) -zephyr_library() -zephyr_library_sources(pinmux.c) -zephyr_library_include_directories(${ZEPHYR_BASE}/drivers) -endif() diff --git a/boards/arm/waveshare_open103z/pinmux.c b/boards/arm/waveshare_open103z/pinmux.c deleted file mode 100644 index 1d95cba29b7..00000000000 --- a/boards/arm/waveshare_open103z/pinmux.c +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020 Stefano Manni - * - * SPDX-License-Identifier: Apache-2.0 - */ - -#include -#include -#include -#include -#include - -#include - -/* pin assignments for waveshre_open103z board */ -static const struct pin_config pinconf[] = { -}; - -static int pinmux_stm32_init(const struct device *port) -{ - ARG_UNUSED(port); - - stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf)); - - return 0; -} - -SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1, - CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY);