pinmux: Move stm32 board pinmux files into board dirs

Move all STM32 based board pinmux files into the board dirs so we are
consistent across all the STM32 platforms/boards.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-08-30 08:35:38 -05:00 committed by Anas Nashif
commit 31745c69db
39 changed files with 171 additions and 94 deletions

View file

@ -1 +1,8 @@
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for 96boards Carbon board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for Disco L475 IOT1 board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for NUCLEO-F103RB board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for NUCLEO-F334RB board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for NUCLEO-F401RE board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for NUCLEO-F411RE board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for NUCLEO-F412ZG board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for NUCLEO-F413ZH board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -10,9 +10,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for NUCLEO-L432KC board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -10,9 +10,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for NUCLEO-L476RG board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for NUCLEO-F103RB board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for STM3210C-EVAL board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for STM32373C-EVAL board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for STM32_MIN_DEV board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for STM32 MINI A15 board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for STM32F3DISCOVERY board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for STM32F469I-DISCO board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -9,9 +9,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for STM32F4DISCOVERY board */
static const struct pin_config pinconf[] = {

View file

@ -1,2 +1,8 @@
# No C files (yet)
obj- += dummy.o
# Copyright (c) 2017 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
ccflags-y +=-I$(srctree)/drivers
obj-y += pinmux.o

View file

@ -10,9 +10,8 @@
#include <init.h>
#include <pinmux.h>
#include <sys_io.h>
#include "pinmux/pinmux.h"
#include "pinmux_stm32.h"
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for STM32L476G-DISCO board */
static const struct pin_config pinconf[] = {

View file

@ -6,25 +6,6 @@ ccflags-$(CONFIG_PINMUX_QMSI) += -I$(CONFIG_QMSI_INSTALL_PATH)/include
obj-$(CONFIG_PINMUX_MCUX) += pinmux_mcux.o
obj-$(CONFIG_PINMUX_STM32) += stm32/pinmux_stm32.o
obj-$(CONFIG_PINMUX_BEETLE) += beetle/pinmux_board_v2m_beetle.o
obj-$(CONFIG_BOARD_NUCLEO_F103RB) += stm32/pinmux_board_nucleo_f103rb.o
obj-$(CONFIG_BOARD_STM3210C_EVAL) += stm32/pinmux_board_stm3210c_eval.o
obj-$(CONFIG_BOARD_NUCLEO_F334R8) += stm32/pinmux_board_nucleo_f334r8.o
obj-$(CONFIG_BOARD_STM32373C_EVAL) += stm32/pinmux_board_stm32373c_eval.o
obj-$(CONFIG_BOARD_NUCLEO_F401RE) += stm32/pinmux_board_nucleo_f401re.o
obj-$(CONFIG_BOARD_STM32F3_DISCO) += stm32/pinmux_board_stm32f3_disco.o
obj-$(CONFIG_BOARD_STM32F4_DISCO) += stm32/pinmux_board_stm32f4_disco.o
obj-$(CONFIG_BOARD_STM32F469I_DISCO) += stm32/pinmux_board_stm32f469i_disco.o
obj-$(CONFIG_BOARD_NUCLEO_F411RE) += stm32/pinmux_board_nucleo_f411re.o
obj-$(CONFIG_BOARD_NUCLEO_F412ZG) += stm32/pinmux_board_nucleo_f412zg.o
obj-$(CONFIG_BOARD_NUCLEO_F413ZH) += stm32/pinmux_board_nucleo_f413zh.o
obj-$(CONFIG_BOARD_96B_CARBON) += stm32/pinmux_board_carbon.o
obj-$(CONFIG_BOARD_NUCLEO_L476RG) += stm32/pinmux_board_nucleo_l476rg.o
obj-$(CONFIG_BOARD_NUCLEO_L432KC) += stm32/pinmux_board_nucleo_l432kc.o
obj-$(CONFIG_BOARD_DISCO_L475_IOT1) += stm32/pinmux_board_disco_l475_iot1.o
obj-$(CONFIG_BOARD_STM32L496G_DISCO) += stm32/pinmux_board_stm32l496g_disco.o
obj-$(CONFIG_BOARD_OLIMEXINO_STM32) += stm32/pinmux_board_olimexino_stm32.o
obj-$(CONFIG_BOARD_STM32_MINI_A15) += stm32/pinmux_board_stm32_mini_a15.o
obj-$(CONFIG_BOARD_STM32_MIN_DEV) += stm32/pinmux_board_stm32_min_dev.o
obj-$(CONFIG_PINMUX_QMSI) += pinmux_qmsi.o
obj-$(CONFIG_PINMUX_FE310) += pinmux_fe310.o
obj-$(CONFIG_PINMUX_CC2650) += pinmux_cc2650.o