Rename arch/arm/src/xmc4/chip to arch/arm/src/xmc4/hardware.
This commit is contained in:
parent
291d2f486d
commit
7156012a94
@ -48,7 +48,7 @@
|
||||
|
||||
#include <arch/irq.h>
|
||||
#include <arch/xmc4/chip.h>
|
||||
#include "chip/xmc4_memorymap.h"
|
||||
#include "hardware/xmc4_memorymap.h"
|
||||
|
||||
/* If the common ARMv7-M vector handling logic is used, then it expects the
|
||||
* following definition in this file that provides the number of supported external
|
||||
|
@ -1,5 +1,5 @@
|
||||
/********************************************************************************************************************
|
||||
* arch/arm/src/xmc4/chip/xmc4_ethernet.h
|
||||
* arch/arm/src/xmc4/hardware/xmc4_ethernet.h
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -49,8 +49,8 @@
|
||||
*
|
||||
********************************************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_CHIP_XMC4_ETHERNET_H
|
||||
#define __ARCH_ARM_SRC_XMC4_CHIP_XMC4_ETHERNET_H
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_ETHERNET_H
|
||||
#define __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_ETHERNET_H
|
||||
|
||||
/********************************************************************************************************************
|
||||
* Included Files
|
||||
@ -58,7 +58,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "chip/xmc4_memorymap.h"
|
||||
#include "hardware/xmc4_memorymap.h"
|
||||
|
||||
/********************************************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -647,4 +647,4 @@
|
||||
/* HW Feature Register */
|
||||
#define ETH_HW_FEATURE_
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_CHIP_XMC4_ETHERNET_H */
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_ETHERNET_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/xmc4/chip/xmc4_flash.h
|
||||
* arch/arm/src/xmc4/hardware/xmc4_flash.h
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -49,8 +49,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_CHIP_XMC4_FLASH_H
|
||||
#define __ARCH_ARM_SRC_XMC4_CHIP_XMC4_FLASH_H
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_FLASH_H
|
||||
#define __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_FLASH_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -58,7 +58,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "chip/xmc4_memorymap.h"
|
||||
#include "hardware/xmc4_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -202,4 +202,4 @@
|
||||
#define FLASH_PROCON2_S12_S13ROM (1 << 11) /* Bit 11: Sectors 12 and 13 Locked Forever by User 2 */
|
||||
#define FLASH_PROCON2_S14_S15ROM (1 << 12) /* Bit 12: Sectors 14 and 15 Locked Forever by User 2 */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_CHIP_XMC4_FLASH_H */
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_FLASH_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/xmc4/chip/xmc4_memorymap.h
|
||||
* arch/arm/src/xmc4/hardware/xmc4_memorymap.h
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -49,8 +49,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_CHIP_XMC4_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_XMC4_CHIP_XMC4_MEMORYMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_MEMORYMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -240,4 +240,4 @@
|
||||
|
||||
#define XMC4_PPB_BASE 0xe000e000
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_CHIP_XMC4_MEMORYMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_MEMORYMAP_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/xmc4/chip/xmc4_pinmux.h
|
||||
* arch/arm/src/xmc4/hardware/xmc4_pinmux.h
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -35,8 +35,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_CHIP_XMC4_PINMUX_H
|
||||
#define __ARCH_ARM_SRC_XMC4_CHIP_XMC4_PINMUX_H
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_PINMUX_H
|
||||
#define __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_PINMUX_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -801,4 +801,4 @@
|
||||
#define GPIO_WWDT_SERVICEOUT_1 (GPIO_OUTPUT_ALT1 | GPIO_PORT0 | GPIO_PIN7)
|
||||
#define GPIO_WWDT_SERVICEOUT_2 (GPIO_OUTPUT_ALT1 | GPIO_PORT1 | GPIO_PIN4)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_CHIP_XMC4_PINMXU_H */
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_PINMXU_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/xmc4/chip/xmc4_ports.h
|
||||
* arch/arm/src/xmc4/hardware/xmc4_ports.h
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -49,8 +49,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_CHIP_XMC4_PORTS_H
|
||||
#define __ARCH_ARM_SRC_XMC4_CHIP_XMC4_PORTS_H
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_PORTS_H
|
||||
#define __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_PORTS_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -58,7 +58,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "chip/xmc4_memorymap.h"
|
||||
#include "hardware/xmc4_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -507,4 +507,4 @@
|
||||
#define PORT_HWSEL_HW15_MASK (3 << PORT_HWSEL_HW15_SHIFT)
|
||||
# define PORT_HWSEL_HW15(n) ((uint32_t)(n) << PORT_HWSEL_HW15_SHIFT)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_CHIP_XMC4_PORTS_H */
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_PORTS_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/xmc4/chip/xmc4_scu.h
|
||||
* arch/arm/src/xmc4/hardware/xmc4_scu.h
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -49,15 +49,15 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_CHIP_XMC4_SCU_H
|
||||
#define __ARCH_ARM_SRC_XMC4_CHIP_XMC4_SCU_H
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_SCU_H
|
||||
#define __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_SCU_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
************************************************************************************/
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include "chip/xmc4_memorymap.h"
|
||||
#include "hardware/xmc4_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -1119,4 +1119,4 @@
|
||||
# define SCU_CLKMXSTAT_SYSCLKMUX_OFI (1 << SCU_CLKMXSTAT_SYSCLKMUX_SHIFT)
|
||||
# define SCU_CLKMXSTAT_SYSCLKMUX_PLL (2 << SCU_CLKMXSTAT_SYSCLKMUX_SHIFT)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_CHIP_XMC4_SCU_H */
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_SCU_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/xmc4/chip/xmc4_usic.h
|
||||
* arch/arm/src/xmc4/hardware/xmc4_usic.h
|
||||
*
|
||||
* Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -49,8 +49,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_CHIP_XMC4_USIC_H
|
||||
#define __ARCH_ARM_SRC_XMC4_CHIP_XMC4_USIC_H
|
||||
#ifndef __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_USIC_H
|
||||
#define __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_USIC_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -58,7 +58,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "chip/xmc4_memorymap.h"
|
||||
#include "hardware/xmc4_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@ -1098,4 +1098,4 @@
|
||||
#define USIC_IN_TDATA_SHIFT (0) /* Bits 0-15: Transmit Data */
|
||||
#define USIC_IN_TDATA_MASK (0xffff << USIC_IN_TDATA_SHIFT)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_CHIP_XMC4_USIC_H */
|
||||
#endif /* __ARCH_ARM_SRC_XMC4_HARDWARE_XMC4_USIC_H */
|
@ -56,9 +56,9 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/xmc4_scu.h"
|
||||
#include "hardware/xmc4_scu.h"
|
||||
#include "xmc4_clockconfig.h"
|
||||
#include "chip/xmc4_ports.h"
|
||||
#include "hardware/xmc4_ports.h"
|
||||
|
||||
#include <arch/board/board.h>
|
||||
|
||||
|
@ -56,7 +56,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/xmc4_scu.h"
|
||||
#include "hardware/xmc4_scu.h"
|
||||
#include "xmc4_clockconfig.h"
|
||||
|
||||
#include <arch/board/board.h>
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include <nuttx/config.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "chip/xmc4_dma.h"
|
||||
#include "hardware/xmc4_dma.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Declarations
|
||||
|
@ -49,7 +49,7 @@
|
||||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
#include "chip/xmc4_ports.h"
|
||||
#include "hardware/xmc4_ports.h"
|
||||
#include "xmc4_gpio.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "chip/xmc4_ports.h"
|
||||
#include "hardware/xmc4_ports.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Preprocessor Definitions
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
#include <nuttx/i2c/i2c_master.h>
|
||||
#include "chip/xmc4_i2c.h"
|
||||
#include "hardware/xmc4_i2c.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
|
@ -50,9 +50,9 @@
|
||||
#include <debug.h>
|
||||
|
||||
#include "xmc4_config.h"
|
||||
#include "chip/xmc4_usic.h"
|
||||
#include "chip/xmc4_ports.h"
|
||||
#include "chip/xmc4_pinmux.h"
|
||||
#include "hardware/xmc4_usic.h"
|
||||
#include "hardware/xmc4_ports.h"
|
||||
#include "hardware/xmc4_pinmux.h"
|
||||
#include "xmc4_usic.h"
|
||||
#include "xmc4_gpio.h"
|
||||
#include "xmc4_lowputc.h"
|
||||
|
@ -59,7 +59,7 @@
|
||||
|
||||
#include "chip.h"
|
||||
#include "xmc4_config.h"
|
||||
#include "chip/xmc4_usic.h"
|
||||
#include "hardware/xmc4_usic.h"
|
||||
#include "xmc4_lowputc.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -66,9 +66,9 @@
|
||||
#include "xmc4_gpio.h"
|
||||
#include "xmc4_spi.h"
|
||||
#include "xmc4_usic.h"
|
||||
#include "chip/xmc4_spi.h"
|
||||
#include "chip/xmc4_usic.h"
|
||||
#include "chip/xmc4_pinmux.h"
|
||||
#include "hardware/xmc4_spi.h"
|
||||
#include "hardware/xmc4_usic.h"
|
||||
#include "hardware/xmc4_pinmux.h"
|
||||
|
||||
#if defined(CONFIG_XMC4_SPI0) || defined(CONFIG_XMC4_SPI1) || \
|
||||
defined(CONFIG_XMC4_SPI2) || defined(CONFIG_XMC4_SPI3) || \
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include "chip/xmc4_usic.h"
|
||||
#include "hardware/xmc4_usic.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -49,7 +49,7 @@
|
||||
#include "nvic.h"
|
||||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
#include "chip/xmc4_flash.h"
|
||||
#include "hardware/xmc4_flash.h"
|
||||
|
||||
#include "xmc4_clockconfig.h"
|
||||
#include "xmc4_lowputc.h"
|
||||
|
@ -61,8 +61,8 @@
|
||||
#include <arch/xmc4/chip.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/xmc4_usic.h"
|
||||
#include "chip/xmc4_scu.h"
|
||||
#include "hardware/xmc4_usic.h"
|
||||
#include "hardware/xmc4_scu.h"
|
||||
#include "xmc4_clockconfig.h"
|
||||
#include "xmc4_usic.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user