Re-arranging some Tiva directories to simply forthcoming SimpleLink port
Squashed commit of the following: arch/arm/src/tiva/Make.defs: Trivial change to conditional VPATH. arch/arm/src/tiva: Move LM3S and LM4F source files to lm/ sub-directory. Move all TM4C source files to tm4c sub-directory. arch/arm/src/tiva and configs/: Change include patch from chip/ to hardware/ in all Tiva files includes. arch/tmp/src: Rename chip/ subdirectory to hardware/. This is a better name since it does not conflict with other directory names and, well, we are going to be change a lot of the Tiva directory structure in the next few commits.
This commit is contained in:
parent
1e299dd5fe
commit
e7e54ccbf7
@ -427,7 +427,8 @@ config MAX326XX_3WIRE
|
||||
default n
|
||||
---help---
|
||||
By default, 4-pin mode is supported(MISO, MOSI, SCK, SS). Selecting
|
||||
this option enables 3-pin mode (MOSI, SCK, SS).
|
||||
this option enables 3-pin mode (SOSI, SCK, SS). The SISO pin is bi-
|
||||
directional, half duplex in the 3-pin mode.
|
||||
|
||||
REVISIT: Perhaps this should be an on-the-fly configuration as an
|
||||
SPI "Hardware Feature" so that we can support 3-wire and 4-wire
|
||||
|
@ -144,3 +144,13 @@ endif
|
||||
ifeq ($(CONFIG_TIVA_EEPROM),y)
|
||||
CHIP_CSRCS += tiva_eeprom.c
|
||||
endif
|
||||
|
||||
# Paths to source files
|
||||
|
||||
VPATH += chip/common
|
||||
|
||||
ifeq ($(CONFIG_ARCH_CHIP_LM),y)
|
||||
VPATH += chip/lm
|
||||
else ifeq ($(CONFIG_ARCH_CHIP_TM4C),y)
|
||||
VPATH += chip/tm4c
|
||||
endif
|
||||
|
@ -46,17 +46,17 @@
|
||||
|
||||
/* Then get all of the register definitions */
|
||||
|
||||
#include "chip/tiva_memorymap.h" /* Memory map */
|
||||
#include "chip/tiva_syscontrol.h" /* System control module */
|
||||
#include "chip/tiva_gpio.h" /* GPIO modules */
|
||||
#include "chip/tiva_uart.h" /* UART modules */
|
||||
#include "chip/tiva_i2c.h" /* I2C modules */
|
||||
#include "chip/tiva_ssi.h" /* SSI modules */
|
||||
#include "chip/tiva_ethernet.h" /* Ethernet MAC and PHY */
|
||||
#include "chip/tiva_flash.h" /* FLASH */
|
||||
#include "chip/tiva_eeprom.h" /* EEPROM */
|
||||
#include "chip/tiva_timer.h" /* Timer */
|
||||
#include "chip/tiva_adc.h" /* ADC */
|
||||
#include "hardware/tiva_memorymap.h" /* Memory map */
|
||||
#include "hardware/tiva_syscontrol.h" /* System control module */
|
||||
#include "hardware/tiva_gpio.h" /* GPIO modules */
|
||||
#include "hardware/tiva_uart.h" /* UART modules */
|
||||
#include "hardware/tiva_i2c.h" /* I2C modules */
|
||||
#include "hardware/tiva_ssi.h" /* SSI modules */
|
||||
#include "hardware/tiva_ethernet.h" /* Ethernet MAC and PHY */
|
||||
#include "hardware/tiva_flash.h" /* FLASH */
|
||||
#include "hardware/tiva_eeprom.h" /* EEPROM */
|
||||
#include "hardware/tiva_timer.h" /* Timer */
|
||||
#include "hardware/tiva_adc.h" /* ADC */
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_adclib.c
|
||||
* arch/arm/src/tiva/common/tiva_adclib.c
|
||||
*
|
||||
* Copyright (C) 2015 TRD2 Inc. All rights reserved.
|
||||
* Author: Calvin Maguranis <calvin.maguranis@trd2inc.com>
|
||||
@ -71,8 +71,8 @@
|
||||
#include "up_internal.h"
|
||||
#include "tiva_gpio.h"
|
||||
#include "tiva_adc.h"
|
||||
#include "chip/tiva_adc.h"
|
||||
#include "chip/tiva_pinmap.h"
|
||||
#include "hardware/tiva_adc.h"
|
||||
#include "hardware/tiva_pinmap.h"
|
||||
|
||||
#if defined (CONFIG_TIVA_ADC0) || defined (CONFIG_TIVA_ADC1)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_adclow.c
|
||||
* arch/arm/src/tiva/common/tiva_adclow.c
|
||||
*
|
||||
* Copyright (C) 2016-2018 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2015 TRD2 Inc. All rights reserved.
|
||||
@ -81,9 +81,9 @@
|
||||
#include "up_internal.h"
|
||||
#include "tiva_gpio.h"
|
||||
#include "tiva_adc.h"
|
||||
#include "chip/tiva_adc.h"
|
||||
#include "chip/tiva_pinmap.h"
|
||||
#include "chip/tiva_syscontrol.h"
|
||||
#include "hardware/tiva_adc.h"
|
||||
#include "hardware/tiva_pinmap.h"
|
||||
#include "hardware/tiva_syscontrol.h"
|
||||
|
||||
#ifdef CONFIG_TIVA_ADC
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_allocateheap.c
|
||||
* arch/arm/src/tiva/common/tiva_allocateheap.c
|
||||
*
|
||||
* Copyright (C) 2013, 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_dumpgpio.c
|
||||
* arch/arm/src/tiva/common/tiva_dumpgpio.c
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_eeprom.c
|
||||
* arch/arm/src/tiva/common/tiva_eeprom.c
|
||||
*
|
||||
* Copyright (C) 2018 Gregory Nutt. All rights reserved.
|
||||
* Author: Shirshak Sengupta <sgshirshak@gmail.com>
|
||||
@ -48,7 +48,7 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip.h"
|
||||
#include "chip/tiva_syscontrol.h"
|
||||
#include "hardware/tiva_syscontrol.h"
|
||||
#include "tiva_eeprom.h"
|
||||
|
||||
/****************************************************************************
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_flash.c
|
||||
* arch/arm/src/tiva/common/tiva_flash.c
|
||||
*
|
||||
* Copyright (c) 2013 Max Holtzberg. All rights reserved.
|
||||
* Copyright (C) 2013, 2018 Gregory Nutt. All rights reserved.
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_gpio.c
|
||||
* arch/arm/src/tiva/common/tiva_gpio.c
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2014-2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_gpioirq.c
|
||||
* arch/arm/src/tiva/common/tiva_gpioirq.c
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2012, 2014-2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/tiva_i2c.c
|
||||
* arch/arm/src/tiva/common/tiva_i2c.c
|
||||
*
|
||||
* Copyright (C) 2014-2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -68,8 +68,8 @@
|
||||
#include "tiva_enablepwr.h"
|
||||
#include "tiva_enableclks.h"
|
||||
#include "tiva_gpio.h"
|
||||
#include "chip/tiva_pinmap.h"
|
||||
#include "chip/tiva_syscontrol.h"
|
||||
#include "hardware/tiva_pinmap.h"
|
||||
#include "hardware/tiva_syscontrol.h"
|
||||
#include "tiva_i2c.h"
|
||||
|
||||
/* At least one I2C peripheral must be enabled */
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_irq.c
|
||||
* arch/arm/src/tiva/common/tiva_irq.c
|
||||
*
|
||||
* Copyright (C) 2009, 2011, 2013-2014, 2018 Gregory Nutt. All rights
|
||||
* reserved.
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_lowputc.c
|
||||
* arch/arm/src/tiva/common/tiva_lowputc.c
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2014, 2018 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -50,7 +50,7 @@
|
||||
#include "tiva_enableclks.h"
|
||||
#include "tiva_periphrdy.h"
|
||||
#include "tiva_gpio.h"
|
||||
#include "chip/tiva_pinmap.h"
|
||||
#include "hardware/tiva_pinmap.h"
|
||||
|
||||
#include "tiva_lowputc.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_mpuinit.c
|
||||
* arch/arm/src/tiva/common/tiva_mpuinit.c
|
||||
*
|
||||
* Copyright (C) 2013-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/tiva_pwm.c
|
||||
* arch/arm/src/tiva/common/tiva_pwm.c
|
||||
*
|
||||
* Copyright (C) 2016 Young Mu. All rights reserved.
|
||||
* Author: Young Mu <young.mu@aliyun.com>
|
||||
@ -57,9 +57,9 @@
|
||||
#include "tiva_enablepwr.h"
|
||||
#include "tiva_enableclks.h"
|
||||
|
||||
#include "chip/tiva_pwm.h"
|
||||
#include "chip/tiva_pinmap.h"
|
||||
#include "chip/tm4c_memorymap.h"
|
||||
#include "hardware/tiva_pwm.h"
|
||||
#include "hardware/tiva_pinmap.h"
|
||||
#include "hardware/tm4c_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Private Types
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/tiva_qencoder.c
|
||||
* arch/arm/src/tiva/common/tiva_qencoder.c
|
||||
*
|
||||
* Copyright (C) 2016 Young Mu. All rights reserved.
|
||||
* Author: Young Mu <young.mu@aliyun.com>
|
||||
@ -56,9 +56,9 @@
|
||||
#include "tiva_enablepwr.h"
|
||||
#include "tiva_enableclks.h"
|
||||
|
||||
#include "chip/tiva_qencoder.h"
|
||||
#include "chip/tiva_pinmap.h"
|
||||
#include "chip/tm4c_memorymap.h"
|
||||
#include "hardware/tiva_qencoder.h"
|
||||
#include "hardware/tiva_pinmap.h"
|
||||
#include "hardware/tm4c_memorymap.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Private Types
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_serial.c
|
||||
* arch/arm/src/tiva/common/tiva_serial.c
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2012-2014, 2017-2018 Gregory Nutt. All rights
|
||||
* reserved.
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_ssi.c
|
||||
* arch/arm/src/tiva/common/tiva_ssi.c
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2014, 2016-2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -61,7 +61,7 @@
|
||||
#include "tiva_enableclks.h"
|
||||
#include "tiva_gpio.h"
|
||||
#include "tiva_ssi.h"
|
||||
#include "chip/tiva_pinmap.h"
|
||||
#include "hardware/tiva_pinmap.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_start.c
|
||||
* arch/arm/src/tiva/common/tiva_start.c
|
||||
*
|
||||
* Copyright (C) 2009, 2012, 2014, 2018 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_syscontrol.c
|
||||
* arch/arm/src/tiva/common/tiva_syscontrol.c
|
||||
*
|
||||
* Copyright (C) 2009-2014, 2018 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_timerisr.c
|
||||
* arch/arm/src/tiva/common/tiva_timerisr.c
|
||||
*
|
||||
* Copyright (C) 2009, 2014, 2017 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_timerlib.c
|
||||
* arch/arm/src/tiva/common/tiva_timerlib.c
|
||||
*
|
||||
* Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -51,8 +51,8 @@
|
||||
#include <arch/board/board.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip/tiva_syscontrol.h"
|
||||
#include "chip/tiva_timer.h"
|
||||
#include "hardware/tiva_syscontrol.h"
|
||||
#include "hardware/tiva_timer.h"
|
||||
|
||||
#include "tiva_enableclks.h"
|
||||
#include "tiva_enablepwr.h"
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_timerlow32.c
|
||||
* arch/arm/src/tiva/common/tiva_timerlow32.c
|
||||
*
|
||||
* Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
|
||||
* Authors: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tiva_userspace.c
|
||||
* arch/arm/src/tiva/common/tiva_userspace.c
|
||||
*
|
||||
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/lm3s_ethernet.h
|
||||
* arch/arm/src/tiva/hardwarelm3s_ethernet.h
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2012-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_LM3S_ETHERNET_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_LM3S_ETHERNET_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_ETHERNET_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_ETHERNET_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -200,4 +200,4 @@
|
||||
* Public Function Prototypes
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_LM3S_ETHERNET_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_ETHERNET_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/lm3s_flash.h
|
||||
* arch/arm/src/tiva/hardwarelm3s_flash.h
|
||||
*
|
||||
* Copyright (C) 2009, 2013-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_LM3S_FLASH_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_LM3S_FLASH_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_FLASH_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_FLASH_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -160,4 +160,4 @@
|
||||
* Public Function Prototypes
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_LM3S_FLASH_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_FLASH_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/lm3s_memorymap.h
|
||||
* arch/arm/src/tiva/hardwarelm3s_memorymap.h
|
||||
*
|
||||
* Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_LM3S_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_LM3S_MEMORYMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_MEMORYMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -349,4 +349,4 @@
|
||||
* Public Function Prototypes
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_LM3S_MEMORYMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_MEMORYMAP_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/lm3s_pinmap.h
|
||||
* arch/arm/src/tiva/hardwarelm3s_pinmap.h
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_LM3S_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_LM3S_PINMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_PINMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -278,4 +278,4 @@
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_LM3S_PINMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_PINMAP_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/lm3s_syscontrol.h
|
||||
* arch/arm/src/tiva/hardwarelm3s_syscontrol.h
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_LM3S_SYSCONTROL_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_LM3S_SYSCONTROL_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_SYSCONTROL_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_SYSCONTROL_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -492,4 +492,4 @@
|
||||
* Public Functions
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_LM3S_SYSCONTROL_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_LM3S_SYSCONTROL_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/lm4f_memorymap.h
|
||||
* arch/arm/src/tiva/hardwarelm4f_memorymap.h
|
||||
*
|
||||
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
|
||||
* Authors: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -34,8 +34,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_LM4F_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_LM4F_MEMORYMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_LM4F_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_LM4F_MEMORYMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -160,4 +160,4 @@
|
||||
* Public Function Prototypes
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_LM4F_MEMORYMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_LM4F_MEMORYMAP_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/lm4f_pinmap.h
|
||||
* arch/arm/src/tiva/hardwarelm4f_pinmap.h
|
||||
*
|
||||
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_LM4F_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_LM4F_PINMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_LM4F_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_LM4F_PINMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -212,4 +212,4 @@
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_LM4F_PINMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_LM4F_PINMAP_H */
|
@ -1,5 +1,5 @@
|
||||
/********************************************************************************************
|
||||
* arch/arm/src/tiva/chip/lm4f_syscontrol.h
|
||||
* arch/arm/src/tiva/hardwarelm4f_syscontrol.h
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
********************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_LM4F_SYSCONTROL_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_LM4F_SYSCONTROL_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_LM4F_SYSCONTROL_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_LM4F_SYSCONTROL_H
|
||||
|
||||
/********************************************************************************************
|
||||
* Included Files
|
||||
@ -1533,4 +1533,4 @@
|
||||
* Public Functions
|
||||
********************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_LM4F_SYSCONTROL_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_LM4F_SYSCONTROL_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_adc.h
|
||||
* arch/arm/src/tiva/hardwaretiva_adc.h
|
||||
*
|
||||
* Copyright (C) 2015 Calvin Maguranis. All rights reserved.
|
||||
* Author: Calvin Maguranis <c.maguranis@gmail.com>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_ADC_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_ADC_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_ADC_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_ADC_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -943,4 +943,4 @@
|
||||
#define ADC_CC_CS_PIOSC (0x001) /* PIOSC */
|
||||
#define ADC_CC_CS_MOSC (0x002) /* MOSC */
|
||||
|
||||
#endif // __ARCH_ARM_SRC_TIVA_CHIP_TIVA_ADC_H
|
||||
#endif // __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_ADC_H
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_eeprom.h
|
||||
* arch/arm/src/tiva/hardwaretiva_eeprom.h
|
||||
*
|
||||
* Copyright (C) 2018 Gregory Nutt. All rights reserved.
|
||||
* Author: Shirshak Sengupta <sgshirshak@gmail.com>
|
||||
@ -34,8 +34,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_EEPROM_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_EEPROM_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_EEPROM_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_EEPROM_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -200,4 +200,4 @@
|
||||
#define EEPROM_PP_SIZE_6K 0x000001ff /* 6 KB of EEPROM */
|
||||
#define EEPROM_PP_SIZE_S 0
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_EEPROM_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_EEPROM_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_epi.h
|
||||
* arch/arm/src/tiva/hardwaretiva_epi.h
|
||||
*
|
||||
* Copyright (C) 2009-2013 Max Neklyudov. All rights reserved.
|
||||
* Author: Max Neklyudov <macscomp@gmail.com>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_EPI_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_EPI_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_EPI_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_EPI_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -110,4 +110,4 @@
|
||||
#define EPI_BAUD_COUNT0_MASK (0xFFFF << EPI_BAUD_COUNT0_SHIFT)
|
||||
# define EPI_BAUD_COUNT0(n) ((n) << EPI_BAUD_COUNT0_SHIFT)
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_EPI_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_EPI_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_ethernet.h
|
||||
* arch/arm/src/tiva/hardwaretiva_ethernet.h
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2012-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_ETHERNET_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_ETHERNET_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_ETHERNET_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_ETHERNET_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -43,9 +43,9 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#if defined(CONFIG_ARCH_CHIP_TM4C)
|
||||
# include "chip/tm4c_ethernet.h"
|
||||
# include "hardware/tm4c_ethernet.h"
|
||||
#elif defined(CONFIG_ARCH_CHIP_LM3S)
|
||||
# include "chip/lm3s_ethernet.h"
|
||||
# include "hardware/lm3s_ethernet.h"
|
||||
#endif
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_ETHERNET_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_ETHERNET_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_flash.h
|
||||
* arch/arm/src/tiva/hardwaretiva_flash.h
|
||||
*
|
||||
* Copyright (C) 2009, 2013-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_FLASH_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_FLASH_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_FLASH_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_FLASH_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -45,12 +45,12 @@
|
||||
/* The TM4C129 family has a different FLASH register layout */
|
||||
|
||||
#if defined(CONFIG_ARCH_CHIP_TM4C129)
|
||||
# include "chip/tm4c_flash.h"
|
||||
# include "hardware/tm4c_flash.h"
|
||||
|
||||
/* Others (including LM4F and TM4C123) are similar to the LM3S family */
|
||||
|
||||
#else
|
||||
# include "chip/lm3s_flash.h"
|
||||
# include "hardware/lm3s_flash.h"
|
||||
#endif
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_FLASH_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_FLASH_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_gpio.h
|
||||
* arch/arm/src/tiva/hardwaretiva_gpio.h
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2013 Gregory Nutt. All rights reserved.
|
||||
* Authors: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -34,8 +34,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_GPIO_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_GPIO_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_GPIO_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_GPIO_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -1208,4 +1208,4 @@
|
||||
* Public Function Prototypes
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_GPIO_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_GPIO_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_i2c.h
|
||||
* arch/arm/src/tiva/hardwaretiva_i2c.h
|
||||
*
|
||||
* Copyright (C) 2009, 2013-2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_I2C_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_I2C_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_I2C_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_I2C_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -1061,4 +1061,4 @@
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_I2C_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_I2C_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_memorymap.h
|
||||
* arch/arm/src/tiva/hardwaretiva_memorymap.h
|
||||
*
|
||||
* Copyright (C) 2013-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_MEMORYMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_MEMORYMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -45,11 +45,11 @@
|
||||
/* Include the memory map file for the specific Tiva/Stellaris chip */
|
||||
|
||||
#if defined(CONFIG_ARCH_CHIP_LM3S)
|
||||
# include "chip/lm3s_memorymap.h"
|
||||
# include "hardware/lm3s_memorymap.h"
|
||||
#elif defined(CONFIG_ARCH_CHIP_LM4F)
|
||||
# include "chip/lm4f_memorymap.h"
|
||||
# include "hardware/lm4f_memorymap.h"
|
||||
#elif defined(CONFIG_ARCH_CHIP_TM4C)
|
||||
# include "chip/tm4c_memorymap.h"
|
||||
# include "hardware/tm4c_memorymap.h"
|
||||
#else
|
||||
# error "Unsupported Tiva/Stellaris memory map"
|
||||
#endif
|
||||
@ -70,4 +70,4 @@
|
||||
* Public Function Prototypes
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_MEMORYMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_MEMORYMAP_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_pinmap.h
|
||||
* arch/arm/src/tiva/hardwaretiva_pinmap.h
|
||||
*
|
||||
* Copyright (C) 2013-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_PINMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_PINMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -45,11 +45,11 @@
|
||||
/* Include the pin mapping file for the specific Tiva/Stellaris chip */
|
||||
|
||||
#if defined(CONFIG_ARCH_CHIP_LM3S)
|
||||
# include "chip/lm3s_pinmap.h"
|
||||
# include "hardware/lm3s_pinmap.h"
|
||||
#elif defined(CONFIG_ARCH_CHIP_LM4F)
|
||||
# include "chip/lm4f_pinmap.h"
|
||||
# include "hardware/lm4f_pinmap.h"
|
||||
#elif defined(CONFIG_ARCH_CHIP_TM4C)
|
||||
# include "chip/tm4c_pinmap.h"
|
||||
# include "hardware/tm4c_pinmap.h"
|
||||
#else
|
||||
# error "Unsupported Tiva/Stellaris PIN mapping"
|
||||
#endif
|
||||
@ -70,4 +70,4 @@
|
||||
* Public Function Prototypes
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_PINMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_PINMAP_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_pwm.h
|
||||
* arch/arm/src/tiva/hardwaretiva_pwm.h
|
||||
*
|
||||
* Copyright (C) 2016 Young Mu. All rights reserved.
|
||||
* Author: Young Mu <young.mu@aliyun.com>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_PWM_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_PWM_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_PWM_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_PWM_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -126,4 +126,4 @@
|
||||
#define INT_CLR (0) /* (Value) Bit Clear */
|
||||
#define INT_SET (1) /* (Value) Bit Set */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_PWM_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_PWM_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_qencoder.h
|
||||
* arch/arm/src/tiva/hardwaretiva_qencoder.h
|
||||
*
|
||||
* Copyright (C) 2016 Young Mu. All rights reserved.
|
||||
* Author: Young Mu <young.mu@aliyun.com>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_QENCODER_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_QENCODER_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_QENCODER_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_QENCODER_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -95,4 +95,4 @@
|
||||
#define DIRECTION_FORWARD (0) /* (Value) Forward */
|
||||
#define DIRECTION_BACKWARD (1) /* (Value) Backward */
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_QENCODER_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_QENCODER_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_ssi.h
|
||||
* arch/arm/src/tiva/hardwaretiva_ssi.h
|
||||
*
|
||||
* Copyright (C) 2009, 2013-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_SSI_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_SSI_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_SSI_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_SSI_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -232,4 +232,4 @@
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* TIVA_NSSI > 0 */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_SSI_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_SSI_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_syscontrol.h
|
||||
* arch/arm/src/tiva/hardwaretiva_syscontrol.h
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2013-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_SYSCONTROL_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_SYSCONTROL_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_SYSCONTROL_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_SYSCONTROL_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -46,13 +46,13 @@
|
||||
/* Include the system control header file for the specific Tiva/Stellaris chip */
|
||||
|
||||
#if defined(CONFIG_ARCH_CHIP_LM3S)
|
||||
# include "chip/lm3s_syscontrol.h"
|
||||
# include "hardware/lm3s_syscontrol.h"
|
||||
#elif defined(CONFIG_ARCH_CHIP_LM4F)
|
||||
# include "chip/lm4f_syscontrol.h"
|
||||
# include "hardware/lm4f_syscontrol.h"
|
||||
#elif defined(CONFIG_ARCH_CHIP_TM4C123)
|
||||
# include "chip/tm4c123_syscontrol.h"
|
||||
# include "hardware/tm4c123_syscontrol.h"
|
||||
#elif defined(CONFIG_ARCH_CHIP_TM4C129)
|
||||
# include "chip/tm4c129_syscontrol.h"
|
||||
# include "hardware/tm4c129_syscontrol.h"
|
||||
#else
|
||||
# error "Unsupported Tiva/Stellaris system control module"
|
||||
#endif
|
||||
@ -73,4 +73,4 @@
|
||||
* Public Functions
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_SYSCONTROL_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_SYSCONTROL_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_timer.h
|
||||
* arch/arm/src/tiva/hardwaretiva_timer.h
|
||||
*
|
||||
* Originally:
|
||||
*
|
||||
@ -46,8 +46,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_TIMER_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_TIMER_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_TIMER_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_TIMER_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -809,4 +809,4 @@
|
||||
# define TIMER_CC_ALTCLK (1 << 0) /* Bit 0: Alternate Clock Source */
|
||||
#endif
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_TIMER_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_TIMER_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tiva_uart.h
|
||||
* arch/arm/src/tiva/hardwaretiva_uart.h
|
||||
*
|
||||
* Copyright (C) 2009, 2013-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TIVA_UART_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TIVA_UART_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_UART_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_UART_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -733,4 +733,4 @@
|
||||
* Public Functions
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TIVA_UART_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TIVA_UART_H */
|
@ -1,5 +1,5 @@
|
||||
/********************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tm4c123_syscontrol.h
|
||||
* arch/arm/src/tiva/hardwaretm4c123_syscontrol.h
|
||||
*
|
||||
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
********************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TM4C123_SYSCONTROL_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TM4C123_SYSCONTROL_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C123_SYSCONTROL_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C123_SYSCONTROL_H
|
||||
|
||||
/********************************************************************************************
|
||||
* Included Files
|
||||
@ -1860,4 +1860,4 @@
|
||||
* Public Functions
|
||||
********************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TM4C123_SYSCONTROL_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C123_SYSCONTROL_H */
|
@ -1,5 +1,5 @@
|
||||
/********************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tm4c129_syscontrol.h
|
||||
* arch/arm/src/tiva/hardwaretm4c129_syscontrol.h
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
********************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TM4C129_SYSCONTROL_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TM4C129_SYSCONTROL_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C129_SYSCONTROL_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C129_SYSCONTROL_H
|
||||
|
||||
/********************************************************************************************
|
||||
* Included Files
|
||||
@ -2166,4 +2166,4 @@
|
||||
* Public Functions
|
||||
********************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TM4C129_SYSCONTROL_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C129_SYSCONTROL_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tm4c_ethernet.h
|
||||
* arch/arm/src/tiva/hardwaretm4c_ethernet.h
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -38,8 +38,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TM4C_ETHERNET_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TM4C_ETHERNET_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C_ETHERNET_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C_ETHERNET_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -1387,4 +1387,4 @@ struct emac_rxdesc_s
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TM4C_ETHERNET_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C_ETHERNET_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tm4c_flash.h
|
||||
* arch/arm/src/tiva/hardwaretm4c_flash.h
|
||||
*
|
||||
* Copyright (C) 2015 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -38,8 +38,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TM4C_FLASH_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TM4C_FLASH_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C_FLASH_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C_FLASH_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -401,4 +401,4 @@
|
||||
/* Flash Memory Protection Read Enable 0-15 (32-bit, bit-encoded) */
|
||||
/* Flash Memory Protection Program Enable 0-15 (32-bit, bit-encoded) */
|
||||
|
||||
#endif // __ARCH_ARM_SRC_TIVA_CHIP_TM4C_FLASH_H
|
||||
#endif // __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C_FLASH_H
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tm4c_memorymap.h
|
||||
* arch/arm/src/tiva/hardwaretm4c_memorymap.h
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Authors: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TM4C_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TM4C_MEMORYMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C_MEMORYMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C_MEMORYMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -574,4 +574,4 @@
|
||||
* Public Function Prototypes
|
||||
************************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TM4C_MEMORYMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C_MEMORYMAP_H */
|
@ -1,5 +1,5 @@
|
||||
/************************************************************************************
|
||||
* arch/arm/src/tiva/chip/tm4c_pinmap.h
|
||||
* arch/arm/src/tiva/hardwaretm4c_pinmap.h
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -33,8 +33,8 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_CHIP_TM4C_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_CHIP_TM4C_PINMAP_H
|
||||
#ifndef __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C_PINMAP_H
|
||||
#define __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C_PINMAP_H
|
||||
|
||||
/************************************************************************************
|
||||
* Included Files
|
||||
@ -1426,4 +1426,4 @@
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_CHIP_TM4C_PINMAP_H */
|
||||
#endif /* __ARCH_ARM_SRC_TIVA_HARDWARE_TM4C_PINMAP_H */
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/lm3s_ethernet.c
|
||||
* arch/arm/src/tiva/lm/lm3s_ethernet.c
|
||||
*
|
||||
* Copyright (C) 2009-2010, 2014, 2016, 2018 Gregory Nutt. All rights
|
||||
* reserved.
|
||||
@ -68,7 +68,7 @@
|
||||
|
||||
#include "tiva_gpio.h"
|
||||
#include "tiva_ethernet.h"
|
||||
#include "chip/tiva_pinmap.h"
|
||||
#include "hardware/tiva_pinmap.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
@ -41,7 +41,7 @@
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include "chip/tiva_eeprom.h"
|
||||
#include "hardware/tiva_eeprom.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip.h"
|
||||
#include "chip/tiva_syscontrol.h"
|
||||
#include "hardware/tiva_syscontrol.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip.h"
|
||||
#include "chip/tiva_syscontrol.h"
|
||||
#include "hardware/tiva_syscontrol.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -44,7 +44,7 @@
|
||||
#include <nuttx/i2c/i2c_master.h>
|
||||
|
||||
#include "chip.h"
|
||||
#include "chip/tiva_i2c.h"
|
||||
#include "hardware/tiva_i2c.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
|
@ -44,7 +44,7 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip.h"
|
||||
#include "chip/tiva_syscontrol.h"
|
||||
#include "hardware/tiva_syscontrol.h"
|
||||
|
||||
/************************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -49,7 +49,7 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip.h"
|
||||
#include "chip/tiva_timer.h"
|
||||
#include "hardware/tiva_timer.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tm4c129_syscontrol.c
|
||||
* arch/arm/src/tiva/tm4c/tm4c129_syscontrol.c
|
||||
*
|
||||
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/arm/src/tiva/tm4c_ethernet.c
|
||||
* arch/arm/src/tiva/tm4c/tm4c_ethernet.c
|
||||
*
|
||||
* Copyright (C) 2014-2015, 2017-2018 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
@ -76,7 +76,7 @@
|
||||
#include "tiva_periphrdy.h"
|
||||
#include "tiva_ethernet.h"
|
||||
|
||||
#include "chip/tiva_pinmap.h"
|
||||
#include "hardware/tiva_pinmap.h"
|
||||
#include <arch/board/board.h>
|
||||
|
||||
/* TIVA_NETHCONTROLLERS determines the number of physical interfaces
|
@ -48,7 +48,7 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip.h"
|
||||
#include "chip/tiva_flash.h"
|
||||
#include "hardware/tiva_flash.h"
|
||||
#include "tiva_ethernet.h"
|
||||
|
||||
/************************************************************************************
|
||||
|
@ -48,7 +48,7 @@
|
||||
#include "tiva_adc.h"
|
||||
#include "tiva_timer.h"
|
||||
#include "tm4c123g-launchpad.h"
|
||||
#include "chip/tiva_pinmap.h"
|
||||
#include "hardware/tiva_pinmap.h"
|
||||
|
||||
#ifdef CONFIG_TIVA_ADC
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
#include "up_arch.h"
|
||||
#include "chip.h"
|
||||
#include "chip/tiva_flash.h"
|
||||
#include "hardware/tiva_flash.h"
|
||||
#include "tiva_ethernet.h"
|
||||
|
||||
/************************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user