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

This commit is contained in:
Gregory Nutt 2019-05-24 15:38:59 -06:00
parent 01ad31c2fa
commit 8e7da81916
30 changed files with 90 additions and 90 deletions

View File

@ -53,7 +53,7 @@
* this file for the proper setup.
*/
#include "chip/lpc11_memorymap.h"
#include "hardware/lpc11_memorymap.h"
/************************************************************************************
* Pre-processor Definitions

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc111x_iocon.h
* arch/arm/src/lpc11xx/hardware/lpc111x_iocon.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Rommel Marcelo
@ -34,8 +34,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_CHIP_LPC111X_IOCON_H
#define __ARCH_ARM_SRC_LPC11XX_CHIP_LPC111X_IOCON_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC111X_IOCON_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC111X_IOCON_H
/************************************************************************************
* Included Files
@ -44,7 +44,7 @@
#include <nuttx/config.h>
#include "chip.h"
#include "chip/lpc11_memorymap.h"
#include "hardware/lpc11_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -266,4 +266,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_CHIP_LPC118X_IOCON_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC118X_IOCON_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/lpc111x_memorymap.h
* arch/arm/src/lpc11xx/hardware/lpc111x_memorymap.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_LPC111X_MEMORYMAP_H
#define __ARCH_ARM_SRC_LPC11XX_LPC111X_MEMORYMAP_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC111X_MEMORYMAP_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC111X_MEMORYMAP_H
/************************************************************************************
* Included Files
@ -104,4 +104,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_LPC116X_MEMORYMAP_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC116X_MEMORYMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc111x_pinconfig.h
* arch/arm/src/lpc11xx/hardware/lpc111x_pinconfig.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_CHIP_LPC111X_PINCONFIG_H
#define __ARCH_ARM_SRC_LPC11XX_CHIP_LPC111X_PINCONFIG_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC111X_PINCONFIG_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC111X_PINCONFIG_H
/************************************************************************************
* Included Files
@ -119,4 +119,4 @@
* Public Function Prototypes
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_CHIP_LPC116X_PINCONFIG_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC116X_PINCONFIG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc11_adc.h
* arch/arm/src/lpc11xx/hardware/lpc11_adc.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_LPC11_CHIP_ADC_H
#define __ARCH_ARM_SRC_LPC11XX_LPC11_CHIP_ADC_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_CHIP_ADC_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_CHIP_ADC_H
/************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include "chip.h"
#include "chip/lpc11_memorymap.h"
#include "hardware/lpc11_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -168,4 +168,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_LPC11_CHIP_ADC_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_CHIP_ADC_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc11_gpio.h
* arch/arm/src/lpc11xx/hardware/lpc11_gpio.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_LPC11_CHIP_GPIO_H
#define __ARCH_ARM_SRC_LPC11XX_LPC11_CHIP_GPIO_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_CHIP_GPIO_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_CHIP_GPIO_H
/************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include "chip.h"
#include "chip/lpc11_memorymap.h"
#include "hardware/lpc11_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -143,4 +143,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_LPC11_CHIP_GPIO_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_CHIP_GPIO_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc11_i2c.h
* arch/arm/src/lpc11xx/hardware/lpc11_i2c.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_I2C_H
#define __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_I2C_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_I2C_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_I2C_H
/************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include "chip.h"
#include "chip/lpc11_memorymap.h"
#include "hardware/lpc11_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -205,4 +205,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_I2C_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_I2C_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc11_memorymap.h
* arch/arm/src/lpc11xx/hardware/lpc11_memorymap.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_MEMORYMAP_H
#define __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_MEMORYMAP_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_MEMORYMAP_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_MEMORYMAP_H
/************************************************************************************
* Included Files
@ -49,7 +49,7 @@
#include <arch/lpc11xx/chip.h>
#if defined(LPC111x)
# include "chip/lpc111x_memorymap.h"
# include "hardware/lpc111x_memorymap.h"
#else
# error "Unrecognized LPC11xx family"
#endif
@ -70,4 +70,4 @@
* Public Function Prototypes
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_MEMORYMAP_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_MEMORYMAP_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc11_pinconfig.h
* arch/arm/src/lpc11xx/hardware/lpc11_pinconfig.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_PINCONFIG_H
#define __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_PINCONFIG_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_PINCONFIG_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_PINCONFIG_H
/************************************************************************************
* Included Files
@ -49,7 +49,7 @@
#include <arch/lpc11xx/chip.h>
#if defined(LPC111x)
# include "chip/lpc111x_pinconfig.h"
# include "hardware/lpc111x_pinconfig.h"
#else
# error "Unrecognized LPC11xx family"
#endif
@ -70,4 +70,4 @@
* Public Function Prototypes
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_PINCONFIG_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_PINCONFIG_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc11_pmu.h
* arch/arm/src/lpc11xx/hardware/lpc11_pmu.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_PMU_H
#define __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_PMU_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_PMU_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_PMU_H
/************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include "chip.h"
#include "chip/lpc11_memorymap.h"
#include "hardware/lpc11_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -103,4 +103,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_PMU_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_PMU_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc11_ssp.h
* arch/arm/src/lpc11xx/hardware/lpc11_ssp.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_SSP_H
#define __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_SSP_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_SSP_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_SSP_H
/************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include "chip.h"
#include "chip/lpc11_memorymap.h"
#include "hardware/lpc11_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -179,4 +179,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_SPI_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_SPI_H */

View File

@ -1,5 +1,5 @@
/********************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc11_syscon.h
* arch/arm/src/lpc11xx/hardware/lpc11_syscon.h
*
* Copyright (C) 2010, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
********************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_SYSCON_H
#define __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_SYSCON_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_SYSCON_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_SYSCON_H
/********************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include "chip.h"
#include "chip/lpc11_memorymap.h"
#include "hardware/lpc11_memorymap.h"
/********************************************************************************************
* Pre-processor Definitions
@ -446,4 +446,4 @@
* Public Functions
********************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_SYSCON_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_SYSCON_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc11_timer.h
* arch/arm/src/lpc11xx/hardware/lpc11_timer.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_TIMER_H
#define __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_TIMER_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_TIMER_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_TIMER_H
/************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include "chip.h"
#include "chip/lpc11_memorymap.h"
#include "hardware/lpc11_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -268,4 +268,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_TIMER_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_TIMER_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc11_uart.h
* arch/arm/src/lpc11xx/hardware/lpc11_uart.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_UART_H
#define __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_UART_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_UART_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_UART_H
/************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include "chip.h"
#include "chip/lpc11_memorymap.h"
#include "hardware/lpc11_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -258,4 +258,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_CHIP_LPC11_UART_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_UART_H */

View File

@ -1,5 +1,5 @@
/************************************************************************************
* arch/arm/src/lpc11xx/chip/lpc11_wdt.h
* arch/arm/src/lpc11xx/hardware/lpc11_wdt.h
*
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARCH_ARM_SRC_LPC11XX_LPC11_WDT_H
#define __ARCH_ARM_SRC_LPC11XX_LPC11_WDT_H
#ifndef __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_WDT_H
#define __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_WDT_H
/************************************************************************************
* Included Files
@ -43,7 +43,7 @@
#include <nuttx/config.h>
#include "chip.h"
#include "chip/lpc11_memorymap.h"
#include "hardware/lpc11_memorymap.h"
/************************************************************************************
* Pre-processor Definitions
@ -99,4 +99,4 @@
* Public Functions
************************************************************************************/
#endif /* __ARCH_ARM_SRC_LPC11XX_LPC11_WDT_H */
#endif /* __ARCH_ARM_SRC_LPC11XX_HARDWARE_LPC11_WDT_H */

View File

@ -49,7 +49,7 @@
#include "up_arch.h"
#include "chip.h"
#include "chip/lpc111x_iocon.h"
#include "hardware/lpc111x_iocon.h"
#include "lpc11_gpio.h"
/****************************************************************************

View File

@ -48,9 +48,9 @@
#include "up_arch.h"
#include "up_internal.h"
#include "lpc11_clockconfig.h"
#include "chip/lpc11_syscon.h"
#include "chip/lpc111x_iocon.h"
#include "chip/lpc11_gpio.h"
#include "hardware/lpc11_syscon.h"
#include "hardware/lpc111x_iocon.h"
#include "hardware/lpc11_gpio.h"
/****************************************************************************
* Pre-processor Definitions

View File

@ -49,8 +49,8 @@
#include <arch/lpc11xx/chip.h>
#include "chip/lpc11_gpio.h"
#include "chip/lpc11_pinconfig.h"
#include "hardware/lpc11_gpio.h"
#include "hardware/lpc11_pinconfig.h"
/* Include the GPIO definitions for the selected LPC17xx family. */

View File

@ -70,7 +70,7 @@
#include "up_internal.h"
#include "chip.h"
#include "chip/lpc11_syscon.h"
#include "hardware/lpc11_syscon.h"
#include "lpc11_gpio.h"
#include "lpc11_i2c.h"

View File

@ -42,7 +42,7 @@
#include <nuttx/config.h>
#include <nuttx/i2c/i2c_master.h>
#include "chip/lpc11_i2c.h"
#include "hardware/lpc11_i2c.h"
/****************************************************************************
* Public Functions

View File

@ -47,8 +47,8 @@
#include "up_internal.h"
#include "up_arch.h"
#include "chip/lpc11_syscon.h"
#include "chip/lpc11_uart.h"
#include "hardware/lpc11_syscon.h"
#include "hardware/lpc11_uart.h"
#include "lpc11_gpio.h"
#include "lpc11_lowputc.h"

View File

@ -62,7 +62,7 @@
#include "up_internal.h"
#include "chip.h"
#include "chip/lpc11_uart.h"
#include "hardware/lpc11_uart.h"
#include "lpc11_gpio.h"
#include "lpc11_serial.h"

View File

@ -43,8 +43,8 @@
#include <nuttx/config.h>
#include <arch/board/board.h>
#include "chip/lpc11_uart.h"
#include "chip/lpc11_syscon.h"
#include "hardware/lpc11_uart.h"
#include "hardware/lpc11_syscon.h"
#include "lpc11_gpio.h"

View File

@ -55,7 +55,7 @@
#include "up_arch.h"
#include "chip.h"
#include "chip/lpc11_syscon.h"
#include "hardware/lpc11_syscon.h"
#include "lpc11_gpio.h"
#include "lpc11_spi.h"

View File

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

View File

@ -55,7 +55,7 @@
#include "up_arch.h"
#include "chip.h"
#include "chip/lpc11_syscon.h"
#include "hardware/lpc11_syscon.h"
#include "lpc11_gpio.h"
#include "lpc11_ssp.h"

View File

@ -44,7 +44,7 @@
#include <nuttx/spi/spi.h>
#include "chip/lpc11_ssp.h"
#include "hardware/lpc11_ssp.h"
#if defined(CONFIG_LPC11_SSP0) || defined(CONFIG_LPC11_SSP1)

View File

@ -54,9 +54,9 @@
#include "up_arch.h"
#include "chip.h"
#include "chip/lpc11_syscon.h"
#include "hardware/lpc11_syscon.h"
#include "lpc11_timer.h"
#include "chip/lpc116x_pinconfig.h"
#include "hardware/lpc116x_pinconfig.h"
#include "lpc11_gpio.h"
#include "lpc116x_gpio.h"

View File

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

View File

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