# # 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