nuttx/boards/nrf52-generic/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

57 lines
1.0 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_NRF52_GENERIC
config NRF52_GENERIC_UART0_RX_PIN
int "Pin select for UART0 TXD"
default 23
---help---
Pin select for UART0 TXD
config NRF52_GENERIC_UART0_TX_PIN
int "Pin select for UART0 TXD"
default 24
---help---
Pin select for UART0 TXD
config NRF52_GENERIC_NUM_LEDS
int "Number of LEDs"
default 4
---help---
Number of LEDs
config NRF52_GENERIC_LED_ACTIVELOW
bool "Board LEDs are 'active low'"
default y
---help---
Board LEDs are 'active low'
config NRF52_GENERIC_LED1_PIN
int "Pin select for LED 1"
default 17
---help---
Pin select for LED 1
config NRF52_GENERIC_LED2_PIN
int "Pin select for LED 2"
default 18
---help---
Pin select for LED 2
config NRF52_GENERIC_LED3_PIN
int "Pin select for LED 3"
default 19
---help---
Pin select for LED 3
config NRF52_GENERIC_LED4_PIN
int "Pin select for LED 4"
default 20
---help---
Pin select for LED 4
endif