nuttx/boards/arm/sam4e-ek/Kconfig
Alin Jerpelea af28821c77 Merged in alinjerpelea/nuttx (pull request #966)
group boards by architecture

* z80: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* z16: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* xtensa: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* x86: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* sim: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* risc-v: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* renesas: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* or1k: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* misoc: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* mips: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* hc: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* avr: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* arm: group boards by architecture

    all boards that share the same architecture are moved to the same arch
    folder following the soc layout

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

* boards: group boards by architecture

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

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-06 14:37:27 +00:00

100 lines
2.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_SAM4EEK
choice
prompt "CPU Frequency"
default SAM4EEK_96MHZ
config SAM4EEK_96MHZ
bool "96 MHz"
config SAM4EEK_120MHZ
bool "120 MHz"
endchoice # CPU Frequency
config SAM4EEK_AT25_BLOCKMOUNT
bool "AT25 serial FLASH auto-mount"
default n
depends on SAM34_SPI0 && MTD_AT25
---help---
Automatically initialize the AT25 SPI FLASH driver when NSH starts.
choice
prompt "AT25 serial FLASH configuration"
default SAM4EEK_AT25_FTL
depends on SAM4EEK_AT25_BLOCKMOUNT
config SAM4EEK_AT25_FTL
bool "Create AT25 Serial FLASH block driver"
---help---
Create the MTD driver for the AT25 and "wrap" the AT25 as a standard
block driver that could then, for example, be mounted using FAT or
any other file system. Any file system may be used, but there will
be no wear-leveling.
config SAM4EEK_AT25_NXFFS
bool "Create AT25 serial FLASH NXFFS file system"
depends on FS_NXFFS
---help---
Create the MTD driver for the AT25 and mount the AT25 device as
a wear-leveling, NuttX FLASH file system (NXFFS). The downside of
NXFFS is that it can be very slow.
endchoice # AT25 serial FLASH configuration
choice
prompt "USB MSC block device"
default SAM4EEK_AT25_BLOCKDEVICE if SAM4EEK_AT25_FTL
default SAM4EEK_HSMCI_BLOCKDEVICE if !SAM4EEK_AT25_FTL
depends on SYSTEM_USBMSC && (SAM4EEK_AT25_FTL || SAM34_HSMCI)
config SAM4EEK_AT25_BLOCKDEVICE
bool "AT25 Serial FLASH"
config SAM4EEK_HSMCI_BLOCKDEVICE
bool "SD card"
depends on SAM34_HSMCI
endchoice # AT25 serial FLASH configuration
if LCD
choice
prompt "LCD Type"
default SAM4EEK_LCD_ILI9341
config SAM4EEK_LCD_ILI9325
bool "ILI9325 LCD controller"
config SAM4EEK_LCD_ILI9341
bool "ILI9341 LCD controller"
endchoice # LCD Type
choice
prompt "LCD Color Configuration"
default SAM4EEK_LCD_RGB565
config SAM4EEK_LCD_RGB565
bool "RGB565"
config SAM4EEK_LCD_RGB24
bool "RGB24 / RGB888"
config SAM4EEK_LCD_RGB32
bool "RGB32"
endchoice # LCD Color Configuration
config SAM4EEK_LCD_BGCOLOR
hex "Initial background color"
default 0x00
endif # LCD
endif # ARCH_BOARD_SAM4EEK