51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see misc/tools/kconfig-language.txt.
|
|
#
|
|
|
|
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_AUTOMOUNT
|
|
bool "AT25 serial FLASH auto-mount"
|
|
default n
|
|
depends on NSH_ARCHINIT && 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_AUTOMOUNT
|
|
|
|
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
|
|
|
|
endif # ARCH_BOARD_SAM4EEK
|