Tiva Timer: Rename tiva_timerlow.c to tiva_timerlow32.c since it only supports 32-bit periodic timers

This commit is contained in:
Gregory Nutt 2015-01-13 10:10:02 -06:00
parent 1ae213c0b6
commit 47b04339d2
3 changed files with 3 additions and 8 deletions

View File

@ -746,10 +746,6 @@ if TIVA_TIMER
menu "Tiva Timer Configuration" menu "Tiva Timer Configuration"
config TIVA_TIMER_DRIVER
bool
default n
config TIVA_TIMER_32BIT config TIVA_TIMER_32BIT
bool "32-bit timer support" bool "32-bit timer support"
default n default n
@ -759,7 +755,6 @@ if TIVA_TIMER_32BIT
config TIVA_TIMER32_PERIODIC config TIVA_TIMER32_PERIODIC
bool "32-bit one-shot/periodic timer support" bool "32-bit one-shot/periodic timer support"
default n default n
select TIVA_TIMER_DRIVER if TIMER
config TIVA_TIMER32_RTC config TIVA_TIMER32_RTC
bool "32-bit RTC (needs 32.768-KHz input)" bool "32-bit RTC (needs 32.768-KHz input)"

View File

@ -98,8 +98,8 @@ endif
ifeq ($(CONFIG_TIVA_TIMER),y) ifeq ($(CONFIG_TIVA_TIMER),y)
CHIP_CSRCS += tiva_timerlib.c CHIP_CSRCS += tiva_timerlib.c
ifeq ($(CONFIG_TIVA_TIMER_DRIVER),y) ifeq ($(CONFIG_TIVA_TIMER32_PERIODIC),y)
CHIP_CSRCS += tiva_timerlow.c CHIP_CSRCS += tiva_timerlow32.c
endif endif
endif endif

View File

@ -1,5 +1,5 @@
/**************************************************************************** /****************************************************************************
* arch/arm/src/tiva/tiva_timerlow.c * arch/arm/src/tiva/tiva_timerlow32.c
* *
* Copyright (C) 2015 Gregory Nutt. All rights reserved. * Copyright (C) 2015 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org> * Authors: Gregory Nutt <gnutt@nuttx.org>