nuttx/boards/tm4c1294-launchpad/Kconfig
Alin Jerpelea a1c991d921 Merged in alinjerpelea/nuttx (pull request #963)
Move boards to boards folder

* boards: rename configs folder to boards

    This is the proposed layout after the change:

    boards: - folder containing board folders
            <board>: - name of each board
                    drivers: - extra drivers specific for platform
                    include: - header files for the boars
                    scripts: - extra scripts specific for platform
                        src: - board specific code
                      tools: - extra tools specific for platform
                    <config>: - board specific configuration(s)

    Note:
    <xxx> names are dependent on platform

    This is a logical change to aim to the arch layout but this is a
    huge change it should be done in several steps to lower the risk.

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* Kconfig: replace configs with boards

    The change is needed after the path change

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* Makefile: replace configs with boards

    The change is needed after the path change

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* Makefile.*: replace configs with boards

    The change is needed after the path change

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* Make.defs: replace configs with boards

    The change is needed after the path change

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* .sh: replace configs with boards

    The change is needed after the path change

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* .mk: replace configs with boards

    The change is needed after the path change

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* .c & .h: replace configs with boards

    The change is needed after the path change

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

* .bat: replace configs with boards

    The change is needed after the path change

    Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-05 12:04:14 +00:00

76 lines
1.6 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
if ARCH_BOARD_TM4C1294_LAUNCHPAD
if TIMER && TIVA_TIMER32_PERIODIC
config TM4C1294_LAUNCHPAD_TIMER
bool
default n
choice
prompt "Timer driver selection"
default TM4C1294_LAUNCHPAD_TIMER_NONE
config TM4C1294_LAUNCHPAD_TIMER_NONE
bool "None"
config TM4C1294_LAUNCHPAD_TIMER0
bool "Timer 0"
depends on TIVA_TIMER0
select TM4C1294_LAUNCHPAD_TIMER
config TM4C1294_LAUNCHPAD_TIMER1
bool "Timer 1"
depends on TIVA_TIMER1
select TM4C1294_LAUNCHPAD_TIMER
config TM4C1294_LAUNCHPAD_TIMER2
bool "Timer 2"
depends on TIVA_TIMER2
select TM4C1294_LAUNCHPAD_TIMER
config TM4C1294_LAUNCHPAD_TIMER3
bool "Timer 3"
depends on TIVA_TIMER3
select TM4C1294_LAUNCHPAD_TIMER
config TM4C1294_LAUNCHPAD_TIMER4
bool "Timer 4"
depends on TIVA_TIMER4
select TM4C1294_LAUNCHPAD_TIMER
config TM4C1294_LAUNCHPAD_TIMER5
bool "Timer 5"
depends on TIVA_TIMER5
select TM4C1294_LAUNCHPAD_TIMER
config TM4C1294_LAUNCHPAD_TIMER6
bool "Timer 6"
depends on TIVA_TIMER6
select TM4C1294_LAUNCHPAD_TIMER
config TM4C1294_LAUNCHPAD_TIMER7
bool "Timer 7"
depends on TIVA_TIMER7
select TM4C1294_LAUNCHPAD_TIMER
endchoice # Timer driver selection
if TM4C1294_LAUNCHPAD_TIMER
config TM4C1294_LAUNCHPAD_TIMER_DEVNAME
string "Timer device name"
default "/dev/timer0"
config TM4C1294_LAUNCHPAD_TIMER_ALTCLK
bool "Use alternate clock source"
default n
depends on EXPERIMENTAL
endif # TM4C1294_LAUNCHPAD_TIMER
endif # TIVA_TIMER32_PERIODIC
endif # ARCH_BOARD_TM4C1294_LAUNCHPAD