Rename arch/arm/src/stm32/chip to arch/arm/src/stm32/hardware.

This commit is contained in:
Gregory Nutt 2019-05-25 08:31:02 -06:00
parent 91db79663d
commit 4126ec86cb
123 changed files with 426 additions and 427 deletions

View File

@ -52,11 +52,11 @@
/* Include the chip memory map */ /* Include the chip memory map */
#include "chip/stm32_memorymap.h" #include "hardware/stm32_memorymap.h"
/* Include the chip pinmap */ /* Include the chip pinmap */
#include "chip/stm32_pinmap.h" #include "hardware/stm32_pinmap.h"
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32_adc.h * arch/arm/src/stm32/hardware/stm32_adc.h
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_ADC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ADC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_ADC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ADC_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -72,4 +72,4 @@
# error "STM32 ADC IP version not specified" # error "STM32 ADC IP version not specified"
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_ADC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ADC_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32_adc_v1.h * arch/arm/src/stm32/hardware/stm32_adc_v1.h
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org> * Authors: Gregory Nutt <gnutt@nuttx.org>
@ -34,8 +34,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_ADC_V1_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ADC_V1_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_ADC_V1_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ADC_V1_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -626,4 +626,4 @@
* Public Function Prototypes * Public Function Prototypes
****************************************************************************************************/ ****************************************************************************************************/
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_ADC_V1_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ADC_V1_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32_adc_v1l1.h * arch/arm/src/stm32/hardware/stm32_adc_v1l1.h
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org> * Authors: Gregory Nutt <gnutt@nuttx.org>
@ -34,8 +34,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_ADC_V1L1_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ADC_V1L1_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_ADC_V1L1_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ADC_V1L1_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -562,4 +562,4 @@
* Public Function Prototypes * Public Function Prototypes
****************************************************************************************************/ ****************************************************************************************************/
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_ADC_V1L1_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ADC_V1L1_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32_adc_v2.h * arch/arm/src/stm32/hardware/stm32_adc_v2.h
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org> * Authors: Gregory Nutt <gnutt@nuttx.org>
@ -34,8 +34,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_ADC_V2_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ADC_V2_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_ADC_V2_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ADC_V2_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -734,4 +734,4 @@
* Public Function Prototypes * Public Function Prototypes
****************************************************************************************************/ ****************************************************************************************************/
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_ADC_V2_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ADC_V2_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_bkp.h * arch/arm/src/stm32/hardware/stm32_bkp.h
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_BKP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_BKP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_BKP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_BKP_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -187,4 +187,4 @@
#define BKP_DR_SHIFT (0) /* Bits 1510: Backup data */ #define BKP_DR_SHIFT (0) /* Bits 1510: Backup data */
#define BKP_DR_MASK (0xffff << BKP_DR_SHIFT) #define BKP_DR_MASK (0xffff << BKP_DR_SHIFT)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_BKP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_BKP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_can.h * arch/arm/src/stm32/hardware/stm32_can.h
* *
* Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_CAN_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_CAN_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_CAN_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_CAN_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -506,4 +506,4 @@
* Public Functions * Public Functions
************************************************************************************/ ************************************************************************************/
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_CAN_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_CAN_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_dac.h * arch/arm/src/stm32/hardware/stm32_dac.h
* *
* Copyright (C) 2011, 2013-2014 Gregory Nutt. All rights reserved. * Copyright (C) 2011, 2013-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_DAC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DAC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_DAC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DAC_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -317,4 +317,4 @@
#define DAC_SR_DMAUDR1 (1 << 13) /* Bit 13: DAC channel 1 DMA underrun flag */ #define DAC_SR_DMAUDR1 (1 << 13) /* Bit 13: DAC channel 1 DMA underrun flag */
#define DAC_SR_DMAUDR2 (1 << 29) /* Bit 29: DAC channel 2 DMA underrun flag */ #define DAC_SR_DMAUDR2 (1 << 29) /* Bit 29: DAC channel 2 DMA underrun flag */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_DAC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DAC_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32_dbgmcu.h * arch/arm/src/stm32/hardware/stm32_dbgmcu.h
* *
* Copyright (C) 2009, 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_DBGMCU_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DBGMCU_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_DBGMCU_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DBGMCU_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -168,4 +168,4 @@
* Public Functions * Public Functions
****************************************************************************************************/ ****************************************************************************************************/
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_DBGMCU_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DBGMCU_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_dma.h * arch/arm/src/stm32/hardware/stm32_dma.h
* *
* Copyright (C) 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2018 Gregory Nutt. All rights reserved.
* Author: Mateusz Szafoni <raiden00@railab.me> * Author: Mateusz Szafoni <raiden00@railab.me>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DMA_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DMA_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -61,4 +61,4 @@
# error "STM32 DMA IP version not specified" # error "STM32 DMA IP version not specified"
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DMA_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* arch/arm/src/stm32/chip/stm32_dma2d.h * arch/arm/src/stm32/hardware/stm32_dma2d.h
* *
* Copyright (C) 2014-2015 Marco Krahl. All rights reserved. * Copyright (C) 2014-2015 Marco Krahl. All rights reserved.
* Author: Marco Krahl <ocram.lhark@gmail.com> * Author: Marco Krahl <ocram.lhark@gmail.com>
@ -33,15 +33,15 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA2D_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DMA2D_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA2D_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DMA2D_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <nuttx/config.h> #include <nuttx/config.h>
#include "chip/stm32_memorymap.h" #include "hardware/stm32_memorymap.h"
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -247,4 +247,4 @@
* Public Types * Public Types
****************************************************************************/ ****************************************************************************/
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA2D_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DMA2D_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_dma_v1.h * arch/arm/src/stm32/hardware/stm32_dma_v1.h
* *
* Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA_V1_DMA_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DMA_V1_DMA_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA_V1_DMA_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DMA_V1_DMA_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -703,4 +703,4 @@
# error "Unknown DMA channel assignments" # error "Unknown DMA channel assignments"
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA_V1_DMA_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DMA_V1_DMA_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_dma_v2.h * arch/arm/src/stm32/hardware/stm32_dma_v2.h
* *
* Copyright (C) 2011-2012, 2014-2015 Gregory Nutt. All rights reserved. * Copyright (C) 2011-2012, 2014-2015 Gregory Nutt. All rights reserved.
* Copyright (C) 2016 Omni Hoverboards Inc. All rights reserved. * Copyright (C) 2016 Omni Hoverboards Inc. All rights reserved.
@ -36,8 +36,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA_V2_DMA_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DMA_V2_DMA_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA_V2_DMA_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DMA_V2_DMA_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -563,4 +563,4 @@
#define DMAMAP_TIM8_TRIG STM32_DMA_MAP(DMA2,DMA_STREAM7,DMA_CHAN7) #define DMAMAP_TIM8_TRIG STM32_DMA_MAP(DMA2,DMA_STREAM7,DMA_CHAN7)
#define DMAMAP_TIM8_COM STM32_DMA_MAP(DMA2,DMA_STREAM7,DMA_CHAN7) #define DMAMAP_TIM8_COM STM32_DMA_MAP(DMA2,DMA_STREAM7,DMA_CHAN7)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_DMA_V2_DMA_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_DMA_V2_DMA_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32_eth.h * arch/arm/src/stm32/hardware/stm32_eth.h
* *
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_ETH_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ETH_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_ETH_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ETH_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -837,5 +837,5 @@ struct eth_rxdesc_s
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* STM32_NETHERNET > 0 */ #endif /* STM32_NETHERNET > 0 */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_ETH_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_ETH_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_exti.h * arch/arm/src/stm32/hardware/stm32_exti.h
* *
* Copyright (C) 2009, 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_EXTI_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_EXTI_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_EXTI_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_EXTI_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -213,4 +213,4 @@
# define STM32_EXTI_PR STM32_EXTI1_PR # define STM32_EXTI_PR STM32_EXTI1_PR
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_EXTI_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_EXTI_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_flash.h * arch/arm/src/stm32/hardware/stm32_flash.h
* *
* Copyright (C) 2009, 2011, 2015, 2018 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011, 2015, 2018 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -34,8 +34,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_FLASH_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_FLASH_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_FLASH_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_FLASH_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -502,4 +502,4 @@ void stm32_flash_unlock(void);
int stm32_flash_writeprotect(size_t page, bool enabled); int stm32_flash_writeprotect(size_t page, bool enabled);
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_FLASH_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_FLASH_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_i2c.h * arch/arm/src/stm32/hardware/stm32_i2c.h
* *
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_I2C_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_I2C_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_I2C_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_I2C_H
/* There are 2 main types of I2C IP cores among STM32 chips: /* There are 2 main types of I2C IP cores among STM32 chips:
* 1. STM32 I2C IPv1 - F1, F2, F4 and L1 * 1. STM32 I2C IPv1 - F1, F2, F4 and L1
@ -49,5 +49,5 @@
# error STM32 I2C IP version not specified # error STM32 I2C IP version not specified
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_I2C_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_I2C_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_i2c_v1.h * arch/arm/src/stm32/hardware/stm32_i2c_v1.h
* *
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_I2C_V1_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_I2C_V1_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_I2C_V1_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_I2C_V1_H
/* This file provide definitions for the STM32 I2C IP core 1 (F1, F2, F4 and L1) */ /* This file provide definitions for the STM32 I2C IP core 1 (F1, F2, F4 and L1) */
@ -211,5 +211,5 @@
# define I2C_FLTR_DNF_MASK (0xf << I2C_FLTR_DNF_SHIFT) # define I2C_FLTR_DNF_MASK (0xf << I2C_FLTR_DNF_SHIFT)
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_I2C_V1_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_I2C_V1_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_i2c_v2.h * arch/arm/src/stm32/hardware/stm32_i2c_v2.h
* *
* Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_I2C_V2_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_I2C_V2_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_I2C_V2_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_I2C_V2_H
/* This file provide definitions for the STM32 I2C IP core 2 (G0, L0, F0, F3, F7, /* This file provide definitions for the STM32 I2C IP core 2 (G0, L0, F0, F3, F7,
* H7, and L4). * H7, and L4).
@ -250,5 +250,5 @@
#define I2C_TXDR_MASK (0xff) #define I2C_TXDR_MASK (0xff)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_I2C_V2_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_I2C_V2_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_lcd.h * arch/arm/src/stm32/hardware/stm32_lcd.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_STC_STM32_CHIP_STM32_LCD_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_LCD_H
#define __ARCH_ARM_STC_STM32_CHIP_STM32_LCD_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_LCD_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -210,4 +210,4 @@
#define LCD_RAMH_S(n) (1 << ((n)-32)) #define LCD_RAMH_S(n) (1 << ((n)-32))
#endif /* STM32_NLCD */ #endif /* STM32_NLCD */
#endif /* __ARCH_ARM_STC_STM32_CHIP_STM32_LCD_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_LCD_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_ltdc.h * arch/arm/src/stm32/hardware/stm32_ltdc.h
* *
* Copyright (C) 2013 Ken Pettit. All rights reserved. * Copyright (C) 2013 Ken Pettit. All rights reserved.
* Author: Ken Pettit <pettitkd@gmail.com> * Author: Ken Pettit <pettitkd@gmail.com>
@ -33,15 +33,15 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_LTDC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_LTDC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_LTDC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_LTDC_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
************************************************************************************/ ************************************************************************************/
#include <nuttx/config.h> #include <nuttx/config.h>
#include "chip/stm32_memorymap.h" #include "hardware/stm32_memorymap.h"
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -378,4 +378,4 @@
* Public Types * Public Types
************************************************************************************/ ************************************************************************************/
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_LTDC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_LTDC_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_memorymap.h * arch/arm/src/stm32/hardware/stm32_memorymap.h
* *
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_MEMORYMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_MEMORYMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_MEMORYMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_MEMORYMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -44,22 +44,22 @@
#include "chip.h" #include "chip.h"
#if defined(CONFIG_STM32_STM32L15XX) #if defined(CONFIG_STM32_STM32L15XX)
# include "chip/stm32l15xxx_memorymap.h" # include "hardware/stm32l15xxx_memorymap.h"
#elif defined(CONFIG_STM32_STM32F10XX) #elif defined(CONFIG_STM32_STM32F10XX)
# include "chip/stm32f10xxx_memorymap.h" # include "hardware/stm32f10xxx_memorymap.h"
#elif defined(CONFIG_STM32_STM32F20XX) #elif defined(CONFIG_STM32_STM32F20XX)
# include "chip/stm32f20xxx_memorymap.h" # include "hardware/stm32f20xxx_memorymap.h"
#elif defined(CONFIG_STM32_STM32F30XX) #elif defined(CONFIG_STM32_STM32F30XX)
# include "chip/stm32f30xxx_memorymap.h" # include "hardware/stm32f30xxx_memorymap.h"
#elif defined(CONFIG_STM32_STM32F33XX) #elif defined(CONFIG_STM32_STM32F33XX)
# include "chip/stm32f33xxx_memorymap.h" # include "hardware/stm32f33xxx_memorymap.h"
#elif defined(CONFIG_STM32_STM32F37XX) #elif defined(CONFIG_STM32_STM32F37XX)
# include "chip/stm32f37xxx_memorymap.h" # include "hardware/stm32f37xxx_memorymap.h"
#elif defined(CONFIG_STM32_STM32F4XXX) #elif defined(CONFIG_STM32_STM32F4XXX)
# include "chip/stm32f40xxx_memorymap.h" # include "hardware/stm32f40xxx_memorymap.h"
#else #else
# error "Unsupported STM32 memory map" # error "Unsupported STM32 memory map"
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_MEMORYMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_MEMORYMAP_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32_otghs.h * arch/arm/src/stm32/hardware/stm32_otghs.h
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_OTGHS_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_OTGHS_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_OTGHS_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_OTGHS_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -1047,4 +1047,4 @@
#define OTGHS_PCGCCTL_PHYSUSP (1 << 4) /* Bit 4: PHY Suspended */ #define OTGHS_PCGCCTL_PHYSUSP (1 << 4) /* Bit 4: PHY Suspended */
/* Bits 5-31: Reserved, must be kept at reset value */ /* Bits 5-31: Reserved, must be kept at reset value */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_OTGHS_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_OTGHS_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_pinmap.h * arch/arm/src/stm32/hardware/stm32_pinmap.h
* *
* Copyright (C) 2019 Gregory Nutt. All rights reserved. * Copyright (C) 2019 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -49,7 +49,7 @@
/* STM32L15xx family */ /* STM32L15xx family */
# if defined(CONFIG_STM32_STM32L15XX) # if defined(CONFIG_STM32_STM32L15XX)
# include "chip/stm32l15xxx_pinmap.h" # include "hardware/stm32l15xxx_pinmap.h"
# else # else
# error "Unsupported EnergyLite chip" # error "Unsupported EnergyLite chip"
# endif # endif
@ -61,17 +61,17 @@
/* STM32F100 Value Line */ /* STM32F100 Value Line */
# if defined(CONFIG_STM32_VALUELINE) # if defined(CONFIG_STM32_VALUELINE)
# include "chip/stm32f100_pinmap.h" # include "hardware/stm32f100_pinmap.h"
/* STM32 F102 USB Access Medium Density Family */ /* STM32 F102 USB Access Medium Density Family */
# elif defined(CONFIG_ARCH_CHIP_STM32F102CB) # elif defined(CONFIG_ARCH_CHIP_STM32F102CB)
# include "chip/stm32f102_pinmap.h" # include "hardware/stm32f102_pinmap.h"
/* STM32 F103 Low / Medium Density Family */ /* STM32 F103 Low / Medium Density Family */
# elif defined(CONFIG_ARCH_CHIP_STM32F103C4) || \ # elif defined(CONFIG_ARCH_CHIP_STM32F103C4) || \
defined(CONFIG_ARCH_CHIP_STM32F103C8) || \ defined(CONFIG_ARCH_CHIP_STM32F103C8) || \
defined(CONFIG_ARCH_CHIP_STM32F103CB) defined(CONFIG_ARCH_CHIP_STM32F103CB)
# include "chip/stm32f103c_pinmap.h" # include "hardware/stm32f103c_pinmap.h"
/* STM32 F103 High Density Family */ /* STM32 F103 High Density Family */
/* STM32F103RC, STM32F103RD, and STM32F103RE are all provided in 64 pin packages and differ /* STM32F103RC, STM32F103RD, and STM32F103RE are all provided in 64 pin packages and differ
@ -83,31 +83,31 @@
defined(CONFIG_ARCH_CHIP_STM32F103RD) || \ defined(CONFIG_ARCH_CHIP_STM32F103RD) || \
defined(CONFIG_ARCH_CHIP_STM32F103RE) || \ defined(CONFIG_ARCH_CHIP_STM32F103RE) || \
defined(CONFIG_ARCH_CHIP_STM32F103RG) defined(CONFIG_ARCH_CHIP_STM32F103RG)
# include "chip/stm32f103r_pinmap.h" # include "hardware/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/stm32f103v_pinmap.h" # include "hardware/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/stm32f103z_pinmap.h" # include "hardware/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/stm32f105v_pinmap.h" # include "hardware/stm32f105v_pinmap.h"
# elif defined(CONFIG_ARCH_CHIP_STM32F105RB) # elif defined(CONFIG_ARCH_CHIP_STM32F105RB)
# include "chip/stm32f105r_pinmap.h" # include "hardware/stm32f105r_pinmap.h"
# elif defined(CONFIG_ARCH_CHIP_STM32F107VC) # elif defined(CONFIG_ARCH_CHIP_STM32F107VC)
# include "chip/stm32f107v_pinmap.h" # include "hardware/stm32f107v_pinmap.h"
# else # else
# error "Unsupported STM32F10XXX chip" # error "Unsupported STM32F10XXX chip"
# endif # endif
@ -115,23 +115,23 @@
/* STM32 F2 Family ******************************************************************/ /* STM32 F2 Family ******************************************************************/
#elif defined(CONFIG_STM32_STM32F20XX) #elif defined(CONFIG_STM32_STM32F20XX)
# include "chip/stm32f20xxx_pinmap.h" # include "hardware/stm32f20xxx_pinmap.h"
/* STM32 F3 Family ******************************************************************/ /* STM32 F3 Family ******************************************************************/
#elif defined(CONFIG_STM32_STM32F30XX) #elif defined(CONFIG_STM32_STM32F30XX)
# include "chip/stm32f30xxx_pinmap.h" # include "hardware/stm32f30xxx_pinmap.h"
#elif defined(CONFIG_STM32_STM32F33XX) #elif defined(CONFIG_STM32_STM32F33XX)
# include "chip/stm32f33xxx_pinmap.h" # include "hardware/stm32f33xxx_pinmap.h"
#elif defined(CONFIG_STM32_STM32F37XX) #elif defined(CONFIG_STM32_STM32F37XX)
# include "chip/stm32f37xxx_pinmap.h" # include "hardware/stm32f37xxx_pinmap.h"
/* STM32 F4 Family ******************************************************************/ /* STM32 F4 Family ******************************************************************/
#elif defined(CONFIG_STM32_STM32F4XXX) #elif defined(CONFIG_STM32_STM32F4XXX)
# include "chip/stm32f40xxx_pinmap.h" # include "hardware/stm32f40xxx_pinmap.h"
#else #else
# error "No pinmap file for this STM32 chip" # error "No pinmap file for this STM32 chip"
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_pwr.h * arch/arm/src/stm32/hardware/stm32_pwr.h
* *
* Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_PWR_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_PWR_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_PWR_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_PWR_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -170,4 +170,4 @@
# define PWR_CSR_ODSWRDY (1 << 17) /* Bit 17: Over Drive Switch ready */ # define PWR_CSR_ODSWRDY (1 << 17) /* Bit 17: Over Drive Switch ready */
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_PWR_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_PWR_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_rng.h * arch/arm/src/stm32/hardware/stm32_rng.h
* *
* Copyright (C) 2012 Max Holtzberg. All rights reserved. * Copyright (C) 2012 Max Holtzberg. All rights reserved.
* Author: Max Holtzberg <mh@uvc.de> * Author: Max Holtzberg <mh@uvc.de>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_STC_STM32_CHIP_STM32_RNG_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_RNG_H
#define __ARCH_ARM_STC_STM32_CHIP_STM32_RNG_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_RNG_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -74,4 +74,4 @@
#define RNG_SR_CEIS (1 << 5) /* Bit 5: Clock error interrupt status */ #define RNG_SR_CEIS (1 << 5) /* Bit 5: Clock error interrupt status */
#define RNG_SR_SEIS (1 << 6) /* Bit 6: Seed error interrupt status */ #define RNG_SR_SEIS (1 << 6) /* Bit 6: Seed error interrupt status */
#endif /* __ARCH_ARM_STC_STM32_CHIP_STM32_RNG_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_RNG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_rtc.h * arch/arm/src/stm32/hardware/stm32_rtc.h
* *
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_RTC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_RTC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_RTC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_RTC_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -93,4 +93,4 @@
#define RTC_DIVH_RTC_DIV_SHIFT (0) /* Bits 3-0: RTC Clock Divider High */ #define RTC_DIVH_RTC_DIV_SHIFT (0) /* Bits 3-0: RTC Clock Divider High */
#define RTC_DIVH_RTC_DIV_MASK (0x0f << RTC_DIVH_RTC_DIV_SHIFT) #define RTC_DIVH_RTC_DIV_MASK (0x0f << RTC_DIVH_RTC_DIV_SHIFT)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_RTC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_RTC_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_rtcc.h.h * arch/arm/src/stm32/hardware/stm32_rtcc.h.h
* *
* Copyright (C) 2011-2013 Gregory Nutt. All rights reserved. * Copyright (C) 2011-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_RTCC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_RTCC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_RTCC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_RTCC_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -414,4 +414,4 @@
#define RTC_ALRMSSR_MASKSS_SHIFT (24) /* Bits 24-27: Mask the most-significant bits starting at this bit */ #define RTC_ALRMSSR_MASKSS_SHIFT (24) /* Bits 24-27: Mask the most-significant bits starting at this bit */
#define RTC_ALRMSSR_MASKSS_MASK (0xf << RTC_ALRMSSR_MASKSS_SHIFT) #define RTC_ALRMSSR_MASKSS_MASK (0xf << RTC_ALRMSSR_MASKSS_SHIFT)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_RTCC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_RTCC_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_sdio.h * arch/arm/src/stm32/hardware/stm32_sdio.h
* *
* Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_SDIO_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_SDIO_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_SDIO_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_SDIO_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -287,5 +287,5 @@
#define SDIO_FIFOCNT_SHIFT (0) #define SDIO_FIFOCNT_SHIFT (0)
#define SDIO_FIFOCNT_MASK (0x01ffffff << SDIO_FIFOCNT_SHIFT) #define SDIO_FIFOCNT_MASK (0x01ffffff << SDIO_FIFOCNT_SHIFT)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_SDIO_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_SDIO_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_spi.h * arch/arm/src/stm32/hardware/stm32_spi.h
* *
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_STC_STM32_CHIP_STM32_SPI_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_SPI_H
#define __ARCH_ARM_STC_STM32_CHIP_STM32_SPI_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_SPI_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -256,4 +256,4 @@
# define SPI_I2SPR_MCKOE (1 << 9) /* Bit 9: Master clock output enable */ # define SPI_I2SPR_MCKOE (1 << 9) /* Bit 9: Master clock output enable */
#endif #endif
#endif /* __ARCH_ARM_STC_STM32_CHIP_STM32_SPI_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_SPI_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32_tim.h * arch/arm/src/stm32/hardware/stm32_tim.h
* *
* Copyright (C) 2009, 2011-2012 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -37,8 +37,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_TIM_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_TIM_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_TIM_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_TIM_H
/**************************************************************************************************** /****************************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -1354,4 +1354,4 @@
#define BTIM_EGR_UG (1 << 0) /* Bit 0: Update generation */ #define BTIM_EGR_UG (1 << 0) /* Bit 0: Update generation */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_TIM_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_TIM_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_usbdev.h * arch/arm/src/stm32/hardware/stm32_usbdev.h
* *
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,15 +33,15 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_USBDEV_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_USBDEV_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_USBDEV_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_USBDEV_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
************************************************************************************/ ************************************************************************************/
#include <nuttx/config.h> #include <nuttx/config.h>
#include <chip.h> #include "chip.h"
#if defined(CONFIG_STM32_STM32L15XX) || defined(CONFIG_STM32_STM32F10XX) || defined(CONFIG_STM32_STM32F30XX) \ #if defined(CONFIG_STM32_STM32L15XX) || defined(CONFIG_STM32_STM32F10XX) || defined(CONFIG_STM32_STM32F30XX) \
|| defined(CONFIG_STM32_STM32F37XX) || defined(CONFIG_STM32_STM32F37XX)
@ -233,5 +233,5 @@
#define USB_COUNT_RX_MASK (0x03ff << USB_COUNT_RX_SHIFT) #define USB_COUNT_RX_MASK (0x03ff << USB_COUNT_RX_SHIFT)
#endif /* CONFIG_STM32_STM32F10XX || CONFIG_STM32_STM32F30XX || CONFIG_STM32_STM32F37XX */ #endif /* CONFIG_STM32_STM32F10XX || CONFIG_STM32_STM32F30XX || CONFIG_STM32_STM32F37XX */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_USBDEV_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_USBDEV_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32_wdg.h * arch/arm/src/stm32/hardware/stm32_wdg.h
* *
* Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_WDG_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_WDG_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_WDG_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_WDG_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -159,4 +159,4 @@
* Public Functions * Public Functions
************************************************************************************/ ************************************************************************************/
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_WDG_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_WDG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f100_pinmap.h * arch/arm/src/stm32/hardware/stm32f100_pinmap.h
* *
* Copyright (C) 2009 Gregory Nutt. All rights reserved. * Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2011 Uros Platise. All rights reserved. * Copyright (C) 2011 Uros Platise. All rights reserved.
@ -38,8 +38,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F100_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F100_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F100_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F100_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -392,4 +392,4 @@
#define GPIO_UART5_TX (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTC|GPIO_PIN12) #define GPIO_UART5_TX (GPIO_ALT|GPIO_CNF_AFPP|GPIO_MODE_50MHz|GPIO_PORTC|GPIO_PIN12)
#define GPIO_UART5_RX (GPIO_INPUT|GPIO_CNF_INFLOAT|GPIO_MODE_INPUT|GPIO_PORTD|GPIO_PIN2) #define GPIO_UART5_RX (GPIO_INPUT|GPIO_CNF_INFLOAT|GPIO_MODE_INPUT|GPIO_PORTD|GPIO_PIN2)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F100_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F100_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f102_pinmap.h * arch/arm/src/stm32/hardware/stm32f102_pinmap.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -34,8 +34,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F102_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F102_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F102_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F102_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -255,4 +255,4 @@
# endif # endif
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F102_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F102_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f103c_pinmap.h * arch/arm/src/stm32/hardware/stm32f103c_pinmap.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -37,8 +37,8 @@
* have the full complement of remapping. * have the full complement of remapping.
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103C_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F103C_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103C_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F103C_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -273,4 +273,4 @@
# endif # endif
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F103C_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F103C_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f103r_pinmap.h * arch/arm/src/stm32/hardware/stm32f103r_pinmap.h
* *
* Copyright (C) 2009, 2014 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.
@ -35,8 +35,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103R_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F103R_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103R_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F103R_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -355,4 +355,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_STM32F103R_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F103R_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f103v_pinmap.h * arch/arm/src/stm32/hardware/stm32f103v_pinmap.h
* *
* Copyright (C) 2011, 2014 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>
@ -34,8 +34,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103V_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F103V_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103V_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F103V_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -429,4 +429,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_STM32F103V_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F103V_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f103z_pinmap.h * arch/arm/src/stm32/hardware/stm32f103z_pinmap.h
* *
* Copyright (C) 2009, 2011-2012, 2014 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>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F103Z_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F103Z_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F103Z_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F103Z_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -586,5 +586,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_STM32F103Z_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F103Z_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f105r_pinmap.h * arch/arm/src/stm32/hardware/stm32f105r_pinmap.h
* *
* Copyright (C) 2009, 2011, 2014, 2016 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011, 2014, 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F105R_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F105R_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F105R_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F105R_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -325,4 +325,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_STM32F105R_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F105R_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f105v_pinmap.h * arch/arm/src/stm32/hardware/stm32f105v_pinmap.h
* *
* Copyright (C) 2009, 2011, 2014 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>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F105V_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F105V_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F105V_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F105V_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -373,4 +373,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_STM32F105V_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F105V_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f107v_pinmap.h * arch/arm/src/stm32/hardware/stm32f107v_pinmap.h
* *
* Copyright (C) 2009, 2011, 2014 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>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F107V_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F107V_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F107V_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F107V_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -417,4 +417,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_STM32F107V_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F107V_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f10xxx_gpio.h * arch/arm/src/stm32/hardware/stm32f10xxx_gpio.h
* *
* Copyright (C) 2009, 2011-2012 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F10XXX_GPIO_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F10XXX_GPIO_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F10XXX_GPIO_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F10XXX_GPIO_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -396,5 +396,5 @@
# define AFIO_MAPR2_MISC_REMAP (1 << 13) /* Bit 13: Miscellaneous features remapping */ # define AFIO_MAPR2_MISC_REMAP (1 << 13) /* Bit 13: Miscellaneous features remapping */
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F10XXX_GPIO_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F10XXX_GPIO_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f10xxx_memorymap.h * arch/arm/src/stm32/hardware/stm32f10xxx_memorymap.h
* *
* Copyright (C) 2009, 2011, 3013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011, 3013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F10XXX_MEMORYMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F10XXX_MEMORYMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F10XXX_MEMORYMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F10XXX_MEMORYMAP_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -160,5 +160,5 @@
#define STM32_SCS_BASE 0xe000e000 #define STM32_SCS_BASE 0xe000e000
#define STM32_DEBUGMCU_BASE 0xe0042000 #define STM32_DEBUGMCU_BASE 0xe0042000
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F10XXX_MEMORYMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F10XXX_MEMORYMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f10xx_rcc.h * arch/arm/src/stm32/hardware/stm32f10xx_rcc.h
* *
* Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F10XXX_RCC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F10XXX_RCC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F10XXX_RCC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F10XXX_RCC_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -475,5 +475,5 @@
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F10XXX_RCC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F10XXX_RCC_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f10xxx_uart.h * arch/arm/src/stm32/hardware/stm32f10xxx_uart.h
* *
* Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_STC_STM32_CHIP_STM32F10XXX_UART_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F10XXX_UART_H
#define __ARCH_ARM_STC_STM32_CHIP_STM32F10XXX_UART_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F10XXX_UART_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -214,4 +214,4 @@
* Public Functions * Public Functions
************************************************************************************/ ************************************************************************************/
#endif /* __ARCH_ARM_STC_STM32_CHIP_STM32F10XXX_UART_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F10XXX_UART_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f20xxx_gpio.h * arch/arm/src/stm32/hardware/stm32f20xxx_gpio.h
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_GPIO_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_GPIO_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_GPIO_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_GPIO_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -366,5 +366,5 @@
#define GPIO_AFRH15_SHIFT (28) #define GPIO_AFRH15_SHIFT (28)
#define GPIO_AFRH15_MASK (15 << GPIO_AFRH15_SHIFT) #define GPIO_AFRH15_MASK (15 << GPIO_AFRH15_SHIFT)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_GPIO_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_GPIO_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f20xxx_memorymap.h * arch/arm/src/stm32/hardware/stm32f20xxx_memorymap.h
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_MEMORYMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_MEMORYMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_MEMORYMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_MEMORYMAP_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -205,5 +205,5 @@
#define STM32_SCS_BASE 0xe000e000 #define STM32_SCS_BASE 0xe000e000
#define STM32_DEBUGMCU_BASE 0xe0042000 #define STM32_DEBUGMCU_BASE 0xe0042000
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_MEMORYMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_MEMORYMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f20xxx_pinmap.h * arch/arm/src/stm32/hardware/stm32f20xxx_pinmap.h
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -696,5 +696,5 @@
#define GPIO_USART6_TX_1 (GPIO_ALT|GPIO_AF8|GPIO_PULLUP|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTC|GPIO_PIN6) #define GPIO_USART6_TX_1 (GPIO_ALT|GPIO_AF8|GPIO_PULLUP|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTC|GPIO_PIN6)
#define GPIO_USART6_TX_2 (GPIO_ALT|GPIO_AF8|GPIO_PULLUP|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTG|GPIO_PIN14) #define GPIO_USART6_TX_2 (GPIO_ALT|GPIO_AF8|GPIO_PULLUP|GPIO_SPEED_100MHz|GPIO_PUSHPULL|GPIO_PORTG|GPIO_PIN14)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_PINMAP_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32f20xxx_rcc.h * arch/arm/src/stm32/hardware/stm32f20xxx_rcc.h
* *
* Copyright (C) 2012, 2014 Gregory Nutt. All rights reserved. * Copyright (C) 2012, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_RCC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_RCC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_RCC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_RCC_H
/**************************************************************************************************** /****************************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -502,5 +502,5 @@
#define RCC_PLLI2SCFGR_PLLI2SR_SHIFT (28) /* Bits 28-30: PLLI2S division factor for I2S clocks */ #define RCC_PLLI2SCFGR_PLLI2SR_SHIFT (28) /* Bits 28-30: PLLI2S division factor for I2S clocks */
#define RCC_PLLI2SCFGR_PLLI2SR_MASK (7 << RCC_PLLI2SCFGR_PLLI2SR_SHIFT) #define RCC_PLLI2SCFGR_PLLI2SR_MASK (7 << RCC_PLLI2SCFGR_PLLI2SR_SHIFT)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_RCC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_RCC_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32f20xxx_syscfg.h * arch/arm/src/stm32/hardware/stm32f20xxx_syscfg.h
* *
* Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_SYSCFG_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_SYSCFG_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_SYSCFG_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_SYSCFG_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -148,4 +148,4 @@
#define SYSCFG_CMPCR_READY (1 << 8) /* Bit 8: Compensation cell ready flag */ #define SYSCFG_CMPCR_READY (1 << 8) /* Bit 8: Compensation cell ready flag */
#endif /* CONFIG_STM32_STM32F20XX */ #endif /* CONFIG_STM32_STM32F20XX */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F20XXX_SYSCFG_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_SYSCFG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f20xxx_uart.h * arch/arm/src/stm32/hardware/stm32f20xxx_uart.h
* *
* Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011-2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_STC_STM32_CHIP_STM32F20XXX_UART_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_UART_H
#define __ARCH_ARM_STC_STM32_CHIP_STM32F20XXX_UART_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_UART_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -226,4 +226,4 @@
* Public Functions * Public Functions
************************************************************************************/ ************************************************************************************/
#endif /* __ARCH_ARM_STC_STM32_CHIP_STM32F20XXX_UART_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F20XXX_UART_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f30xxx_gpio.h * arch/arm/src/stm32/hardware/stm32f30xxx_gpio.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_GPIO_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_GPIO_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_GPIO_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_GPIO_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -328,5 +328,5 @@
#define GPIO_BRR(n) (1 << (n)) #define GPIO_BRR(n) (1 << (n))
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_GPIO_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_GPIO_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f30xxx_memorymap.h * arch/arm/src/stm32/hardware/stm32f30xxx_memorymap.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_MEMORYMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_MEMORYMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_MEMORYMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_MEMORYMAP_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -160,5 +160,5 @@
#define STM32_SCS_BASE 0xe000e000 #define STM32_SCS_BASE 0xe000e000
#define STM32_DEBUGMCU_BASE 0xe0042000 #define STM32_DEBUGMCU_BASE 0xe0042000
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_MEMORYMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_MEMORYMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f30xxx_pinmap.h * arch/arm/src/stm32/hardware/stm32f30xxx_pinmap.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2015-2016 Omni Hoverboards Inc. All rights reserved. * Copyright (C) 2015-2016 Omni Hoverboards Inc. All rights reserved.
@ -35,8 +35,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -666,4 +666,4 @@
#define GPIO_PF9_EVENT_OUT (GPIO_ALT|GPIO_AF1|GPIO_PORTF|GPIO_PIN9) #define GPIO_PF9_EVENT_OUT (GPIO_ALT|GPIO_AF1|GPIO_PORTF|GPIO_PIN9)
#define GPIO_PF10_EVENT_OUT (GPIO_ALT|GPIO_AF1|GPIO_PORTF|GPIO_PIN10) #define GPIO_PF10_EVENT_OUT (GPIO_ALT|GPIO_AF1|GPIO_PORTF|GPIO_PIN10)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f30xx_rcc.h * arch/arm/src/stm32/hardware/stm32f30xx_rcc.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_RCC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_RCC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_RCC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_RCC_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -394,5 +394,5 @@
# define RCC_CFGR3_UART5SW_LSE (2 << RCC_CFGR3_UART5SW_SHIFT) /* LSE clock */ # define RCC_CFGR3_UART5SW_LSE (2 << RCC_CFGR3_UART5SW_SHIFT) /* LSE clock */
# define RCC_CFGR3_UART5SW_HSI (0 << RCC_CFGR3_UART5SW_SHIFT) /* HSI clock */ # define RCC_CFGR3_UART5SW_HSI (0 << RCC_CFGR3_UART5SW_SHIFT) /* HSI clock */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_RCC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_RCC_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32f30xxx_syscfg.h * arch/arm/src/stm32/hardware/stm32f30xxx_syscfg.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_SYSCFG_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_SYSCFG_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_SYSCFG_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_SYSCFG_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -174,4 +174,4 @@
#define SYSCFG_CFGR2_SRAM_PEF (1 << 8) /* Bit 8: SRAM parity error */ #define SYSCFG_CFGR2_SRAM_PEF (1 << 8) /* Bit 8: SRAM parity error */
#endif /* CONFIG_STM32_STM32F30XX */ #endif /* CONFIG_STM32_STM32F30XX */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F30XXX_SYSCFG_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_SYSCFG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f30xxx_uart.h * arch/arm/src/stm32/hardware/stm32f30xxx_uart.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_STC_STM32_CHIP_STM32F30XXX_UART_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_UART_H
#define __ARCH_ARM_STC_STM32_CHIP_STM32F30XXX_UART_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_UART_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -347,4 +347,4 @@
* Public Functions * Public Functions
************************************************************************************/ ************************************************************************************/
#endif /* __ARCH_ARM_STC_STM32_CHIP_STM32F30XXX_UART_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F30XXX_UART_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32f33xxx_comp.h * arch/arm/src/stm32/hardware/stm32f33xxx_comp.h
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Mateusz Szafoni <raiden00@railab.me> * Author: Mateusz Szafoni <raiden00@railab.me>
@ -33,8 +33,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_COMP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_COMP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_COMP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_COMP_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -122,4 +122,4 @@
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_COMP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_COMP_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32f33xxx_hrtim.h * arch/arm/src/stm32/hardware/stm32f33xxx_hrtim.h
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Mateusz Szafoni <raiden00@railab.me> * Author: Mateusz Szafoni <raiden00@railab.me>
@ -33,8 +33,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_HRTIM_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_HRTIM_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_HRTIM_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_HRTIM_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -1815,4 +1815,4 @@
#define HRTIM_BDMADR_SHIFT 0 /* Bits 0-31: Burst DMA Data register */ #define HRTIM_BDMADR_SHIFT 0 /* Bits 0-31: Burst DMA Data register */
#define HRTIM_BDMADR_MASK (0xffffffff << HRTIM_BDMADR_SHIFT) #define HRTIM_BDMADR_MASK (0xffffffff << HRTIM_BDMADR_SHIFT)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_HRTIM_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_HRTIM_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f33xxx_memorymap.h * arch/arm/src/stm32/hardware/stm32f33xxx_memorymap.h
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -34,8 +34,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F33XXX_MEMORYMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F33XXX_MEMORYMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F33XXX_MEMORYMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F33XXX_MEMORYMAP_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -148,4 +148,4 @@
#define STM32_SCS_BASE 0xe000e000 #define STM32_SCS_BASE 0xe000e000
#define STM32_DEBUGMCU_BASE 0xe0042000 #define STM32_DEBUGMCU_BASE 0xe0042000
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F33XXX_MEMORYMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F33XXX_MEMORYMAP_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32f33xxx_opamp.h * arch/arm/src/stm32/hardware/stm32f33xxx_opamp.h
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Mateusz Szafoni <raiden00@railab.me> * Author: Mateusz Szafoni <raiden00@railab.me>
@ -33,8 +33,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32_OPAMP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32_OPAMP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32_OPAMP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32_OPAMP_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -114,4 +114,4 @@
#define OPAMP_CSR_OUTCAL (1 << 30) /* Bit 30: OPAMP output status flag */ #define OPAMP_CSR_OUTCAL (1 << 30) /* Bit 30: OPAMP output status flag */
#define OPAMP_CSR_LOCK (1 << 31) /* Bit 31: OPAMP 2 lock */ #define OPAMP_CSR_LOCK (1 << 31) /* Bit 31: OPAMP 2 lock */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32_OPAMP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32_OPAMP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f33xxx_pinmap.h * arch/arm/src/stm32/hardware/stm32f33xxx_pinmap.h
* *
* Copyright (C) 2017 Gregory Nutt. All rights reserved. * Copyright (C) 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -34,8 +34,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F33XXX_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F33XXX_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F33XXX_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F33XXX_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -463,4 +463,4 @@
#define GPIO_PD2_EVENT_OUT (GPIO_ALT|GPIO_AF1|GPIO_PORTD|GPIO_PIN2) #define GPIO_PD2_EVENT_OUT (GPIO_ALT|GPIO_AF1|GPIO_PORTD|GPIO_PIN2)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F33XXX_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F33XXX_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f33xx_rcc.h * arch/arm/src/stm32/hardware/stm32f33xx_rcc.h
* For STM32F33xx advanced ARM-based 32-bit MCUs * For STM32F33xx advanced ARM-based 32-bit MCUs
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
@ -35,8 +35,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F33XXX_RCC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F33XXX_RCC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F33XXX_RCC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F33XXX_RCC_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -358,4 +358,4 @@
# define RCC_CFGR3_USART3SW_LSE (2 << RCC_CFGR3_USART3SW_SHIFT) /* LSE clock */ # define RCC_CFGR3_USART3SW_LSE (2 << RCC_CFGR3_USART3SW_SHIFT) /* LSE clock */
# define RCC_CFGR3_USART3SW_HSI (0 << RCC_CFGR3_USART3SW_SHIFT) /* HSI clock */ # define RCC_CFGR3_USART3SW_HSI (0 << RCC_CFGR3_USART3SW_SHIFT) /* HSI clock */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F33XXX_RCC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F33XXX_RCC_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32f33xxx_syscfg.h * arch/arm/src/stm32/hardware/stm32f33xxx_syscfg.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -34,8 +34,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F33XXX_SYSCFG_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F33XXX_SYSCFG_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F33XXX_SYSCFG_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F33XXX_SYSCFG_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -207,4 +207,4 @@
#define SYSCFG_CFGR3_DAC1_TRIG5_RMP (1 << 17) /* Bit 17: HRTIM1_DAC1_TRIG2 remap */ #define SYSCFG_CFGR3_DAC1_TRIG5_RMP (1 << 17) /* Bit 17: HRTIM1_DAC1_TRIG2 remap */
#endif /* CONFIG_STM32_STM32F33XX */ #endif /* CONFIG_STM32_STM32F33XX */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F33XXX_SYSCFG_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F33XXX_SYSCFG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f37xxx_memorymap.h * arch/arm/src/stm32/hardware/stm32f37xxx_memorymap.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -34,8 +34,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_MEMORYMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_MEMORYMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_MEMORYMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_MEMORYMAP_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -155,4 +155,4 @@
#define STM32_SCS_BASE 0xe000e000 #define STM32_SCS_BASE 0xe000e000
#define STM32_DEBUGMCU_BASE 0xe0042000 #define STM32_DEBUGMCU_BASE 0xe0042000
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_MEMORYMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_MEMORYMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f37xxx_pinmap.h * arch/arm/src/stm32/hardware/stm32f37xxx_pinmap.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -34,8 +34,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -608,5 +608,5 @@
#define GPIO_PF9_EVENT_OUT (GPIO_ALT|GPIO_AF1|GPIO_PORTF|GPIO_PIN9) #define GPIO_PF9_EVENT_OUT (GPIO_ALT|GPIO_AF1|GPIO_PORTF|GPIO_PIN9)
#define GPIO_PF10_EVENT_OUT (GPIO_ALT|GPIO_AF1|GPIO_PORTF|GPIO_PIN10) #define GPIO_PF10_EVENT_OUT (GPIO_ALT|GPIO_AF1|GPIO_PORTF|GPIO_PIN10)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f37xx_rcc.h * arch/arm/src/stm32/hardware/stm32f37xx_rcc.h
* For STM32F37xx advanced ARM-based 32-bit MCUs * For STM32F37xx advanced ARM-based 32-bit MCUs
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
@ -35,8 +35,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_RCC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_RCC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_RCC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_RCC_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -387,5 +387,5 @@
# define RCC_CFGR3_USART3SW_LSE (2 << RCC_CFGR3_USART3SW_SHIFT) /* LSE clock */ # define RCC_CFGR3_USART3SW_LSE (2 << RCC_CFGR3_USART3SW_SHIFT) /* LSE clock */
# define RCC_CFGR3_USART3SW_HSI (0 << RCC_CFGR3_USART3SW_SHIFT) /* HSI clock */ # define RCC_CFGR3_USART3SW_HSI (0 << RCC_CFGR3_USART3SW_SHIFT) /* HSI clock */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_RCC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_RCC_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32f37xxx_sdadc.h * arch/arm/src/stm32/hardware/stm32f37xxx_sdadc.h
* *
* Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011, 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2016 Studelec SA. All rights reserved. * Copyright (C) 2016 Studelec SA. All rights reserved.
@ -35,8 +35,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_SDADC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_SDADC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_SDADC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_SDADC_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -301,4 +301,4 @@
* Public Function Prototypes * Public Function Prototypes
****************************************************************************************************/ ****************************************************************************************************/
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_SDADC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_SDADC_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32f37xxx_syscfg.h * arch/arm/src/stm32/hardware/stm32f37xxx_syscfg.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -34,8 +34,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_SYSCFG_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_SYSCFG_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_SYSCFG_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_SYSCFG_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -163,4 +163,4 @@
#define SYSCFG_CFGR2_SRAM_PEF (1 << 8) /* Bit 8: SRAM parity error */ #define SYSCFG_CFGR2_SRAM_PEF (1 << 8) /* Bit 8: SRAM parity error */
#endif /* CONFIG_STM32_STM32F37XX */ #endif /* CONFIG_STM32_STM32F37XX */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F37XXX_SYSCFG_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F37XXX_SYSCFG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f40xxx_gpio.h * arch/arm/src/stm32/hardware/stm32f40xxx_gpio.h
* *
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_GPIO_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_GPIO_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_GPIO_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_GPIO_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -392,5 +392,5 @@
#define GPIO_AFRH15_SHIFT (28) #define GPIO_AFRH15_SHIFT (28)
#define GPIO_AFRH15_MASK (15 << GPIO_AFRH15_SHIFT) #define GPIO_AFRH15_MASK (15 << GPIO_AFRH15_SHIFT)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_GPIO_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_GPIO_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f40xxx_memorymap.h * arch/arm/src/stm32/hardware/stm32f40xxx_memorymap.h
* *
* Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_MEMORYMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_MEMORYMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_MEMORYMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_MEMORYMAP_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -215,5 +215,5 @@
#define STM32_SCS_BASE 0xe000e000 #define STM32_SCS_BASE 0xe000e000
#define STM32_DEBUGMCU_BASE 0xe0042000 #define STM32_DEBUGMCU_BASE 0xe0042000
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_MEMORYMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_MEMORYMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f40xxx_pinmap.h * arch/arm/src/stm32/hardware/stm32f40xxx_pinmap.h
* *
* Copyright (C) 2011-2012, 2014-2015 Gregory Nutt. All rights reserved. * Copyright (C) 2011-2012, 2014-2015 Gregory Nutt. All rights reserved.
* Copyright (C) 2016 Omni Hoverboards Inc. All rights reserved. * Copyright (C) 2016 Omni Hoverboards Inc. All rights reserved.
@ -36,8 +36,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -1194,4 +1194,4 @@
# define GPIO_FMPI2C1_SMBA_2 (GPIO_ALT|GPIO_AF4|GPIO_SPEED_50MHz|GPIO_PUSHPULL|GPIO_PORTF|GPIO_PIN13) # define GPIO_FMPI2C1_SMBA_2 (GPIO_ALT|GPIO_AF4|GPIO_SPEED_50MHz|GPIO_PUSHPULL|GPIO_PORTF|GPIO_PIN13)
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_PINMAP_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32f40xxx_rcc.h * arch/arm/src/stm32/hardware/stm32f40xxx_rcc.h
* *
* Copyright (C) 2009, 2011-2012, 2014-2015 Gregory Nutt. All rights reserved. * Copyright (C) 2009, 2011-2012, 2014-2015 Gregory Nutt. All rights reserved.
* Copyright (C) 2016 Omni Hoverboards Inc. All rights reserved. * Copyright (C) 2016 Omni Hoverboards Inc. All rights reserved.
@ -36,8 +36,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_RCC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_RCC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_RCC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_RCC_H
/**************************************************************************************************** /****************************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -900,4 +900,4 @@
# define RCC_DCKCFGR2_SPDIFRXSEL_PLLI2S (1 << RCC_DCKCFGR2_SPDIFRXSEL_SHIFT) /* PLLI2S clock is selected as SPDIF-Rx clock */ # define RCC_DCKCFGR2_SPDIFRXSEL_PLLI2S (1 << RCC_DCKCFGR2_SPDIFRXSEL_SHIFT) /* PLLI2S clock is selected as SPDIF-Rx clock */
#endif #endif
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_RCC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_RCC_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32f40xxx_syscfg.h * arch/arm/src/stm32/hardware/stm32f40xxx_syscfg.h
* *
* Copyright (C) 2011, 2013, 2014-2015 Gregory Nutt. All rights reserved. * Copyright (C) 2011, 2013, 2014-2015 Gregory Nutt. All rights reserved.
* Copyright (C) 2016 Omni Hoverboards Inc. All rights reserved. * Copyright (C) 2016 Omni Hoverboards Inc. All rights reserved.
@ -36,8 +36,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_SYSCFG_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_SYSCFG_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_SYSCFG_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_SYSCFG_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -199,4 +199,4 @@
#endif #endif
#endif /* CONFIG_STM32_STM32F4XXX */ #endif /* CONFIG_STM32_STM32F4XXX */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32F40XXX_SYSCFG_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_SYSCFG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32f40xxx_uart.h * arch/arm/src/stm32/hardware/stm32f40xxx_uart.h
* *
* Copyright (C) 2009, 2011-2014 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>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_STC_STM32_CHIP_STM32F40XXX_UART_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_UART_H
#define __ARCH_ARM_STC_STM32_CHIP_STM32F40XXX_UART_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_UART_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -244,4 +244,4 @@
* Public Functions * Public Functions
************************************************************************************/ ************************************************************************************/
#endif /* __ARCH_ARM_STC_STM32_CHIP_STM32F40XXX_UART_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32F40XXX_UART_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32fxxxxx_otgfs.h * arch/arm/src/stm32/hardware/stm32fxxxxx_otgfs.h
* *
* Copyright (C) 2012, 2014-2016 Gregory Nutt. All rights reserved. * Copyright (C) 2012, 2014-2016 Gregory Nutt. All rights reserved.
* Copyright (C) 2016 Omni Hoverboards Inc. All rights reserved. * Copyright (C) 2016 Omni Hoverboards Inc. All rights reserved.
@ -36,8 +36,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32FXXXXX_OTGFS_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32FXXXXX_OTGFS_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32FXXXXX_OTGFS_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32FXXXXX_OTGFS_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -1043,4 +1043,4 @@
#define OTGFS_PCGCCTL_PHYSUSP (1 << 4) /* Bit 4: PHY Suspended */ #define OTGFS_PCGCCTL_PHYSUSP (1 << 4) /* Bit 4: PHY Suspended */
/* Bits 5-31: Reserved, must be kept at reset value */ /* Bits 5-31: Reserved, must be kept at reset value */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32FXXXXX_OTGFS_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32FXXXXX_OTGFS_H */

View File

@ -1,5 +1,5 @@
/******************************************************************************************** /********************************************************************************************
* arch/arm/src/stm32/chip/stm32l15xxx_aes.h * arch/arm/src/stm32/hardware/stm32l15xxx_aes.h
* AES hardware accelerator for STM32L162xx advanced ARM-based * AES hardware accelerator for STM32L162xx advanced ARM-based
* 32-bit MCUs * 32-bit MCUs
* *
@ -35,8 +35,8 @@
* *
********************************************************************************************/ ********************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_AES_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_AES_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_AES_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_AES_H
/******************************************************************************************** /********************************************************************************************
* Included Files * Included Files
@ -45,7 +45,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include "chip.h" #include "chip.h"
#include "chip/stm32l15xxx_memorymap.h" #include "hardware/stm32l15xxx_memorymap.h"
/******************************************************************************************** /********************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -114,4 +114,4 @@
#define AES_SR_RDERR (1 << 1) /* Read Error Flag */ #define AES_SR_RDERR (1 << 1) /* Read Error Flag */
#define AES_SR_WRERR (1 << 2) /* Write Error Flag */ #define AES_SR_WRERR (1 << 2) /* Write Error Flag */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_AES_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_AES_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32l15xxx_gpio.h * arch/arm/src/stm32/hardware/stm32l15xxx_gpio.h
* For STM32L100xx, STM32L151xx, STM32L152xx and STM32L162xx advanced ARM-based * For STM32L100xx, STM32L151xx, STM32L152xx and STM32L162xx advanced ARM-based
* 32-bit MCUs * 32-bit MCUs
* *
@ -35,8 +35,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_GPIO_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_GPIO_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_GPIO_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_GPIO_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -355,4 +355,4 @@
#define GPIO_AFRH15_SHIFT (28) #define GPIO_AFRH15_SHIFT (28)
#define GPIO_AFRH15_MASK (15 << GPIO_AFRH15_SHIFT) #define GPIO_AFRH15_MASK (15 << GPIO_AFRH15_SHIFT)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_GPIO_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_GPIO_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32l15xxx_memorymap.h * arch/arm/src/stm32/hardware/stm32l15xxx_memorymap.h
* For STM32L100xx, STM32L151xx, STM32L152xx and STM32L162xx advanced ARM-based * For STM32L100xx, STM32L151xx, STM32L152xx and STM32L162xx advanced ARM-based
* 32-bit MCUs * 32-bit MCUs
* *
@ -35,8 +35,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_MEMORYMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_MEMORYMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_MEMORYMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_MEMORYMAP_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -143,4 +143,4 @@
#define STM32_SCS_BASE 0xe000e000 #define STM32_SCS_BASE 0xe000e000
#define STM32_DEBUGMCU_BASE 0xe0042000 #define STM32_DEBUGMCU_BASE 0xe0042000
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_MEMORYMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_MEMORYMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32l15xxx_pinmap.h * arch/arm/src/stm32/hardware/stm32l15xxx_pinmap.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_PINMAP_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_PINMAP_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_PINMAP_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_PINMAP_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -613,4 +613,4 @@
#define GPIO_WKUP2 (GPIO_ALT | GPIO_AF9 | GPIO_PORTC | GPIO_PIN13) #define GPIO_WKUP2 (GPIO_ALT | GPIO_AF9 | GPIO_PORTC | GPIO_PIN13)
#define GPIO_WKUP3 (GPIO_ALT | GPIO_AF0 | GPIO_PORTE | GPIO_PIN6) #define GPIO_WKUP3 (GPIO_ALT | GPIO_AF0 | GPIO_PORTE | GPIO_PIN6)
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_PINMAP_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_PINMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32l15xx_rcc.h * arch/arm/src/stm32/hardware/stm32l15xx_rcc.h
* *
* Copyright (C) 2013 Gregory Nutt. All rights reserved. * Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_RCC_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_RCC_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_RCC_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_RCC_H
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions
@ -461,5 +461,5 @@
#define RCC_CSR_WWDGRSTF (1 << 30) /* Bit 30: Window watchdog reset flag */ #define RCC_CSR_WWDGRSTF (1 << 30) /* Bit 30: Window watchdog reset flag */
#define RCC_CSR_LPWRRSTF (1 << 31) /* Bit 31: Low-Power reset flag */ #define RCC_CSR_LPWRRSTF (1 << 31) /* Bit 31: Low-Power reset flag */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_RCC_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_RCC_H */

View File

@ -1,5 +1,5 @@
/**************************************************************************************************** /****************************************************************************************************
* arch/arm/src/stm32/chip/stm32l15xxx_syscfg.h * arch/arm/src/stm32/hardware/stm32l15xxx_syscfg.h
* For STM32L100xx, STM32L151xx, STM32L152xx and STM32L162xx advanced ARM-based * For STM32L100xx, STM32L151xx, STM32L152xx and STM32L162xx advanced ARM-based
* 32-bit MCUs * 32-bit MCUs
* *
@ -35,8 +35,8 @@
* *
****************************************************************************************************/ ****************************************************************************************************/
#ifndef __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_SYSCFG_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_SYSCFG_H
#define __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_SYSCFG_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_SYSCFG_H
/**************************************************************************************************** /****************************************************************************************************
* Included Files * Included Files
@ -156,4 +156,4 @@
#define SYSCFG_EXTICR4_EXTI15_MASK (SYSCFG_EXTICR_PORT_MASK << SYSCFG_EXTICR4_EXTI15_SHIFT) #define SYSCFG_EXTICR4_EXTI15_MASK (SYSCFG_EXTICR_PORT_MASK << SYSCFG_EXTICR4_EXTI15_SHIFT)
/* Bits 16-31: Reserved */ /* Bits 16-31: Reserved */
#endif /* __ARCH_ARM_SRC_STM32_CHIP_STM32L15XXX_SYSCFG_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_SYSCFG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************ /************************************************************************************
* arch/arm/src/stm32/chip/stm32l15xxx_uart.h * arch/arm/src/stm32/hardware/stm32l15xxx_uart.h
* For STM32L100xx, STM32L151xx, STM32L152xx and STM32L162xx advanced ARM-based * For STM32L100xx, STM32L151xx, STM32L152xx and STM32L162xx advanced ARM-based
* 32-bit MCUs * 32-bit MCUs
* *
@ -35,8 +35,8 @@
* *
************************************************************************************/ ************************************************************************************/
#ifndef __ARCH_ARM_STC_STM32_CHIP_STM32L15XXX_UART_H #ifndef __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_UART_H
#define __ARCH_ARM_STC_STM32_CHIP_STM32L15XXX_UART_H #define __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_UART_H
/************************************************************************************ /************************************************************************************
* Included Files * Included Files
@ -218,4 +218,4 @@
* Public Functions * Public Functions
************************************************************************************/ ************************************************************************************/
#endif /* __ARCH_ARM_STC_STM32_CHIP_STM32L15XXX_UART_H */ #endif /* __ARCH_ARM_SRC_STM32_HARDWARE_STM32L15XXX_UART_H */

View File

@ -46,7 +46,7 @@
#include "chip.h" #include "chip.h"
#include "chip/stm32_adc.h" #include "hardware/stm32_adc.h"
#include <nuttx/analog/adc.h> #include <nuttx/analog/adc.h>

View File

@ -51,7 +51,7 @@
*/ */
#ifdef CONFIG_STM32_STM32L15XX #ifdef CONFIG_STM32_STM32L15XX
# include "chip/stm32l15xxx_aes.h" # include "hardware/stm32l15xxx_aes.h"
#else #else
# error "Unknown chip for AES" # error "Unknown chip for AES"
#endif #endif

View File

@ -50,9 +50,9 @@
#include "chip.h" #include "chip.h"
#ifdef CONFIG_STM32_STM32F10XX #ifdef CONFIG_STM32_STM32F10XX
# include "chip/stm32_bkp.h" # include "hardware/stm32_bkp.h"
#else #else
# include "chip/stm32_rtcc.h" # include "hardware/stm32_rtcc.h"
#endif #endif
/************************************************************************************ /************************************************************************************

View File

@ -43,7 +43,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include "chip.h" #include "chip.h"
#include "chip/stm32_can.h" #include "hardware/stm32_can.h"
#include <nuttx/can/can.h> #include <nuttx/can/can.h>

View File

@ -44,7 +44,7 @@
#include "chip.h" #include "chip.h"
#include <arch/board/board.h> #include <arch/board/board.h>
#include "chip/stm32_tim.h" #include "hardware/stm32_tim.h"
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions

View File

@ -49,7 +49,7 @@
#if defined(CONFIG_STM32_STM32F30XX) #if defined(CONFIG_STM32_STM32F30XX)
# error "COMP support for STM32F30XX not implemented yet" # error "COMP support for STM32F30XX not implemented yet"
#elif defined(CONFIG_STM32_STM32F33XX) #elif defined(CONFIG_STM32_STM32F33XX)
# include "chip/stm32f33xxx_comp.h" # include "hardware/stm32f33xxx_comp.h"
#elif defined(CONFIG_STM32_STM32F37XX) #elif defined(CONFIG_STM32_STM32F37XX)
# error "COMP support for STM32F37XX ot implemented yet" # error "COMP support for STM32F37XX ot implemented yet"
#endif #endif

View File

@ -43,7 +43,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include "chip.h" #include "chip.h"
#include "chip/stm32_dac.h" #include "hardware/stm32_dac.h"
#include <nuttx/analog/dac.h> #include <nuttx/analog/dac.h>

View File

@ -43,7 +43,7 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include "chip.h" #include "chip.h"
#include "chip/stm32_dbgmcu.h" #include "hardware/stm32_dbgmcu.h"
/************************************************************************************ /************************************************************************************
* Pre-processor Definitions * Pre-processor Definitions

View File

@ -45,7 +45,7 @@
#include "chip.h" #include "chip.h"
#include "chip/stm32_dma.h" #include "hardware/stm32_dma.h"
/* These definitions provide the bit encoding of the 'status' parameter passed to the /* These definitions provide the bit encoding of the 'status' parameter passed to the
* DMA callback function (see dma_callback_t). * DMA callback function (see dma_callback_t).

View File

@ -58,9 +58,9 @@
#include "up_arch.h" #include "up_arch.h"
#include "up_internal.h" #include "up_internal.h"
#include "stm32.h" #include "stm32.h"
#include "chip/stm32_ltdc.h" #include "hardware/stm32_ltdc.h"
#include "chip/stm32_dma2d.h" #include "hardware/stm32_dma2d.h"
#include "chip/stm32_ccm.h" #include "hardware/stm32_ccm.h"
#include "stm32_dma2d.h" #include "stm32_dma2d.h"
/**************************************************************************** /****************************************************************************

View File

@ -46,7 +46,7 @@
#if STM32_NETHERNET > 0 #if STM32_NETHERNET > 0
#include "chip/stm32_eth.h" #include "hardware/stm32_eth.h"
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__

View File

@ -45,7 +45,7 @@
#include <nuttx/irq.h> #include <nuttx/irq.h>
#include "chip.h" #include "chip.h"
#include "chip/stm32_exti.h" #include "hardware/stm32_exti.h"
/************************************************************************************ /************************************************************************************
* Public Data * Public Data

View File

@ -44,7 +44,7 @@
#include <nuttx/progmem.h> #include <nuttx/progmem.h>
#include "chip.h" #include "chip.h"
#include "chip/stm32_flash.h" #include "hardware/stm32_flash.h"
/************************************************************************************ /************************************************************************************
* Public Function Prototypes * Public Function Prototypes

View File

@ -54,16 +54,16 @@
#include "chip.h" #include "chip.h"
#if defined(CONFIG_STM32_STM32L15XX) #if defined(CONFIG_STM32_STM32L15XX)
# include "chip/stm32l15xxx_gpio.h" # include "hardware/stm32l15xxx_gpio.h"
#elif defined(CONFIG_STM32_STM32F10XX) #elif defined(CONFIG_STM32_STM32F10XX)
# include "chip/stm32f10xxx_gpio.h" # include "hardware/stm32f10xxx_gpio.h"
#elif defined(CONFIG_STM32_STM32F20XX) #elif defined(CONFIG_STM32_STM32F20XX)
# include "chip/stm32f20xxx_gpio.h" # include "hardware/stm32f20xxx_gpio.h"
#elif defined(CONFIG_STM32_STM32F30XX) || defined(CONFIG_STM32_STM32F33XX) || \ #elif defined(CONFIG_STM32_STM32F30XX) || defined(CONFIG_STM32_STM32F33XX) || \
defined(CONFIG_STM32_STM32F37XX) defined(CONFIG_STM32_STM32F37XX)
# include "chip/stm32f30xxx_gpio.h" # include "hardware/stm32f30xxx_gpio.h"
#elif defined(CONFIG_STM32_STM32F4XXX) #elif defined(CONFIG_STM32_STM32F4XXX)
# include "chip/stm32f40xxx_gpio.h" # include "hardware/stm32f40xxx_gpio.h"
#else #else
# error "Unrecognized STM32 chip" # error "Unrecognized STM32 chip"
#endif #endif

View File

@ -49,8 +49,8 @@
#ifdef CONFIG_STM32_HRTIM1 #ifdef CONFIG_STM32_HRTIM1
#if defined(CONFIG_STM32_STM32F33XX) #if defined(CONFIG_STM32_STM32F33XX)
# include "chip/stm32f33xxx_hrtim.h" # include "hardware/stm32f33xxx_hrtim.h"
# include "chip/stm32f33xxx_rcc.h" # include "hardware/stm32f33xxx_rcc.h"
#else #else
# error # error
#endif #endif

View File

@ -44,7 +44,7 @@
#include <nuttx/i2c/i2c_master.h> #include <nuttx/i2c/i2c_master.h>
#include "chip.h" #include "chip.h"
#include "chip/stm32_i2c.h" #include "hardware/stm32_i2c.h"
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions

Some files were not shown because too many files have changed in this diff Show More