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

This commit is contained in:
Gregory Nutt 2019-05-24 14:36:08 -06:00
parent f46ad3f6a6
commit b855e3988f
28 changed files with 90 additions and 90 deletions

View File

@ -56,9 +56,9 @@
#include <arch/lpc17xx/chip.h>
#if defined(LPC176x)
# include "hardware/lpc176x_clockconfig.c"
# include "chip/lpc176x_clockconfig.c"
#elif defined(LPC178x)
# include "hardware/lpc178x_clockconfig.c"
# include "chip/lpc178x_clockconfig.c"
#else
# error "Unrecognized LPC17xx family"
#endif

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -50,8 +50,8 @@
#include "up_arch.h"
#include "chip.h"
#include "chip/chip/nuc_gcr.h"
#include "chip/chip/nuc_clk.h"
#include "hardware/chip/nuc_gcr.h"
#include "hardware/chip/nuc_clk.h"
#include "nuc_clockconfig.h"

View File

@ -49,7 +49,7 @@
#include "up_arch.h"
#include "chip.h"
#include "chip/nuc_gpio.h"
#include "hardware/nuc_gpio.h"
#include "nuc_gpio.h"

View File

@ -50,7 +50,7 @@
#include <nuttx/irq.h>
#include "chip.h"
#include "chip/nuc_gpio.h"
#include "hardware/nuc_gpio.h"
/****************************************************************************
* Pre-processor Declarations

View File

@ -49,10 +49,10 @@
#include "chip.h"
#include "nuc_config.h"
#include "chip/chip/nuc_clk.h"
#include "chip/chip/nuc_uart.h"
#include "hardware/chip/nuc_clk.h"
#include "hardware/chip/nuc_uart.h"
#include "chip/nuc_gcr.h"
#include "hardware/nuc_gcr.h"
#include "nuc_lowputc.h"
/****************************************************************************

View File

@ -63,7 +63,7 @@
#include "up_internal.h"
#include "chip.h"
#include "chip/nuc_uart.h"
#include "hardware/nuc_uart.h"
#include "nuc_lowputc.h"
#include "nuc_serial.h"

View File

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

View File

@ -51,8 +51,8 @@
#include "up_arch.h"
#include "chip.h"
#include "chip/nuc_clk.h"
#include "chip/nuc_gcr.h"
#include "hardware/nuc_clk.h"
#include "hardware/nuc_gcr.h"
/****************************************************************************
* Pre-processor Definitions