STM32: Rename pinmap.h files to better reflect the chip naming conventions
This commit is contained in:
parent
6a8a62c0c1
commit
d36724abbc
@ -1,7 +1,7 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/stm32/chip.h
|
||||
*
|
||||
* Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009, 2011-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -82,28 +82,28 @@
|
||||
|
||||
# elif defined(CONFIG_ARCH_CHIP_STM32F103RE) || \
|
||||
defined(CONFIG_ARCH_CHIP_STM32F103RB)
|
||||
# include "chip/stm32f103re_pinmap.h"
|
||||
# include "chip/stm32f103r_pinmap.h"
|
||||
|
||||
/* STM32F103VC, STM32F103VD, and STM32F103VE are all provided in 100 pin packages and differ
|
||||
* only in the available FLASH and SRAM.
|
||||
*/
|
||||
|
||||
# elif defined(CONFIG_ARCH_CHIP_STM32F103VC) || defined(CONFIG_ARCH_CHIP_STM32F103VE)
|
||||
# include "chip/stm32f103vc_pinmap.h"
|
||||
# include "chip/stm32f103v_pinmap.h"
|
||||
|
||||
/* STM32F103ZC, STM32F103ZD, and STM32F103ZE are all provided in 144 pin packages and differ
|
||||
* only in the available FLASH and SRAM.
|
||||
*/
|
||||
# elif defined(CONFIG_ARCH_CHIP_STM32F103ZE)
|
||||
# include "chip/stm32f103ze_pinmap.h"
|
||||
# include "chip/stm32f103z_pinmap.h"
|
||||
|
||||
/* STM32 F105/F107 Connectivity Line */
|
||||
|
||||
# elif defined(CONFIG_ARCH_CHIP_STM32F105VB)
|
||||
# include "chip/stm32f105vb_pinmap.h"
|
||||
# include "chip/stm32f105v_pinmap.h"
|
||||
|
||||
# elif defined(CONFIG_ARCH_CHIP_STM32F107VC)
|
||||
# include "chip/stm32f107vc_pinmap.h"
|
||||
# include "chip/stm32f107v_pinmap.h"
|
||||
# else
|
||||
# error "Unsupported STM32F10XXX chip"
|
||||
# endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/stm32/chip/stm32f103re_pinmap.h
|
||||
* arch/arm/src/stm32/chip/stm32f103r_pinmap.h
|
||||
*
|
||||
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009, 2014 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2011 Uros Platise. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
* Uros Platise <uros.platise@isotel.eu>
|
||||
@ -35,8 +35,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103RE_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103RE_PINMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103R_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103R_PINMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -329,4 +329,4 @@
|
||||
#define GPIO_SDIO_CK (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTC|GPIO_PIN12)
|
||||
#define GPIO_SDIO_CMD (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTD|GPIO_PIN2)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F103RE_PINMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F103R_PINMAP_H */
|
@ -1,7 +1,7 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/stm32/chip/stm32f103vc_pinmap.h
|
||||
* arch/arm/src/stm32/chip/stm32f103v_pinmap.h
|
||||
*
|
||||
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2011, 2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
* Laurent Latil <laurent@latil.nom.fr>
|
||||
*
|
||||
@ -34,8 +34,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103VC_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103VC_PINMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103V_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103V_PINMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -413,4 +413,4 @@
|
||||
#define GPIO_PB4 (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTB|GPIO_PIN4)
|
||||
#endif
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F103VC_PINMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F103V_PINMAP_H */
|
@ -1,7 +1,7 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/stm32/chip/stm32f103ze_pinmap.h
|
||||
* arch/arm/src/stm32/chip/stm32f103z_pinmap.h
|
||||
*
|
||||
* Copyright (C) 2009, 2011-2012 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009, 2011-2012, 2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103ZE_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103ZE_PINMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103Z_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103Z_PINMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -584,5 +584,5 @@
|
||||
#define GPIO_NAND_NCE2 (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTD|GPIO_PIN7)
|
||||
#define GPIO_NAND_NCE3 (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTG|GPIO_PIN9)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F103ZE_PINMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F103Z_PINMAP_H */
|
||||
|
@ -1,7 +1,7 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/stm32/chip/stm32f105vb_pinmap.h
|
||||
* arch/arm/src/stm32/chip/stm32f105v_pinmap.h
|
||||
*
|
||||
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009, 2011, 2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F105VB_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F105VB_PINMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F105V_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F105V_PINMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -409,4 +409,4 @@
|
||||
#define GPIO_PB4 (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTB|GPIO_PIN4)
|
||||
#endif
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F105VB_PINMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F105V_PINMAP_H */
|
@ -1,7 +1,7 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/stm32/chip/stm32f107vc_pinmap.h
|
||||
* arch/arm/src/stm32/chip/stm32f107v_pinmap.h
|
||||
*
|
||||
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2009, 2011, 2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F107VC_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F107VC_PINMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F107V_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F107V_PINMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -415,4 +415,4 @@
|
||||
#define GPIO_PB4 (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTB|GPIO_PIN4)
|
||||
#endif
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F107VC_PINMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F107V_PINMAP_H */
|
Loading…
Reference in New Issue
Block a user