STM32: Rename pinmap.h files to better reflect the chip naming conventions

This commit is contained in:
Gregory Nutt 2014-05-07 13:05:12 -06:00
parent 6e9df4d5ab
commit 1cc859405e
6 changed files with 31 additions and 31 deletions

View file

@ -1,7 +1,7 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip.h * 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> * Author: Gregory Nutt <gnutt@nuttx.org>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -82,28 +82,28 @@
# elif defined(CONFIG_ARCH_CHIP_STM32F103RE) || \ # elif defined(CONFIG_ARCH_CHIP_STM32F103RE) || \
defined(CONFIG_ARCH_CHIP_STM32F103RB) 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 /* STM32F103VC, STM32F103VD, and STM32F103VE are all provided in 100 pin packages and differ
* only in the available FLASH and SRAM. * only in the available FLASH and SRAM.
*/ */
# elif defined(CONFIG_ARCH_CHIP_STM32F103VC) || defined(CONFIG_ARCH_CHIP_STM32F103VE) # 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 /* STM32F103ZC, STM32F103ZD, and STM32F103ZE are all provided in 144 pin packages and differ
* only in the available FLASH and SRAM. * only in the available FLASH and SRAM.
*/ */
# elif defined(CONFIG_ARCH_CHIP_STM32F103ZE) # elif defined(CONFIG_ARCH_CHIP_STM32F103ZE)
# include "chip/stm32f103ze_pinmap.h" # include "chip/stm32f103z_pinmap.h"
/* STM32 F105/F107 Connectivity Line */ /* STM32 F105/F107 Connectivity Line */
# elif defined(CONFIG_ARCH_CHIP_STM32F105VB) # elif defined(CONFIG_ARCH_CHIP_STM32F105VB)
# include "chip/stm32f105vb_pinmap.h" # include "chip/stm32f105v_pinmap.h"
# elif defined(CONFIG_ARCH_CHIP_STM32F107VC) # elif defined(CONFIG_ARCH_CHIP_STM32F107VC)
# include "chip/stm32f107vc_pinmap.h" # include "chip/stm32f107v_pinmap.h"
# else # else
# error "Unsupported STM32F10XXX chip" # error "Unsupported STM32F10XXX chip"
# endif # endif

View file

@ -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. * Copyright (C) 2011 Uros Platise. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
* Uros Platise <uros.platise@isotel.eu> * Uros Platise <uros.platise@isotel.eu>
@ -35,8 +35,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103RE_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103R_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103RE_PINMAP_H #define __ARCH_ARM_SRC_STM32_CHIP_STM32F103R_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * 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_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) #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 */

View file

@ -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> * Author: Gregory Nutt <gnutt@nuttx.org>
* Laurent Latil <laurent@latil.nom.fr> * Laurent Latil <laurent@latil.nom.fr>
* *
@ -34,8 +34,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103VC_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103V_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103VC_PINMAP_H #define __ARCH_ARM_SRC_STM32_CHIP_STM32F103V_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -413,4 +413,4 @@
#define GPIO_PB4 (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTB|GPIO_PIN4) #define GPIO_PB4 (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTB|GPIO_PIN4)
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F103VC_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F103V_PINMAP_H */

View file

@ -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> * Author: Gregory Nutt <gnutt@nuttx.org>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103ZE_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103Z_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103ZE_PINMAP_H #define __ARCH_ARM_SRC_STM32_CHIP_STM32F103Z_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * 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_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) #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 */

View file

@ -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> * Author: Gregory Nutt <gnutt@nuttx.org>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F105VB_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F105V_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F105VB_PINMAP_H #define __ARCH_ARM_SRC_STM32_CHIP_STM32F105V_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -409,4 +409,4 @@
#define GPIO_PB4 (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTB|GPIO_PIN4) #define GPIO_PB4 (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTB|GPIO_PIN4)
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F105VB_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F105V_PINMAP_H */

View file

@ -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> * Author: Gregory Nutt <gnutt@nuttx.org>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F107VC_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F107V_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F107VC_PINMAP_H #define __ARCH_ARM_SRC_STM32_CHIP_STM32F107V_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -415,4 +415,4 @@
#define GPIO_PB4 (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTB|GPIO_PIN4) #define GPIO_PB4 (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTB|GPIO_PIN4)
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F107VC_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F107V_PINMAP_H */