nuttx/boards/photon/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

59 lines
1.2 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_PHOTON
config PHOTON_DFU_BOOTLOADER
bool "Stock photon bootloader support"
select STM32_DFU
---help---
Build image that can be uploaded using stock DFU bootloader.
config PHOTON_WDG
bool
config PHOTON_IWDG
bool "Photon iwdg kicker support"
depends on STM32_IWDG
depends on WATCHDOG
select PHOTON_WDG
config PHOTON_IWDG_TIMEOUT
int "Photon iwdg Timeout (ms)"
default 32000
depends on PHOTON_IWDG
---help---
Watchdog timeout value in milliseconds.
if PHOTON_WDG
config PHOTON_WDG_THREAD
bool "Watchdog Deamon Thread"
if PHOTON_WDG_THREAD
config PHOTON_WDG_THREAD_NAME
string "Watchdog Thread Name"
default "wdog"
config PHOTON_WDG_THREAD_INTERVAL
int "Watchdog Thread Interval (ms)"
default 2500
config PHOTON_WDG_THREAD_PRIORITY
int "Watchdog Thread Priority"
default 200
config PHOTON_WDG_THREAD_STACKSIZE
int "Watchdog Thread Stacksize"
default 1024
endif # PHOTON_WDG_THREAD
endif # PHOTON_WDG
config PHOTON_WLAN
bool "Enable WLAN chip support"
depends on IEEE80211_BROADCOM_FULLMAC_SDIO
endif