diff options
Diffstat (limited to 'nuttx/configs/sama5d3x-ek/Kconfig')
-rw-r--r-- | nuttx/configs/sama5d3x-ek/Kconfig | 62 |
1 files changed, 50 insertions, 12 deletions
diff --git a/nuttx/configs/sama5d3x-ek/Kconfig b/nuttx/configs/sama5d3x-ek/Kconfig index 8a110979d..ca8e9042b 100644 --- a/nuttx/configs/sama5d3x-ek/Kconfig +++ b/nuttx/configs/sama5d3x-ek/Kconfig @@ -42,13 +42,43 @@ config SAMA5_NOR_START option: If SAMA5_NOR_START is defined, then it will not wait but will, instead, immediately start the program in NOR FLASH. -config SAMA5_TSD_DEVMINOR - int "Touchscreen device minor" - default 0 - depends on SAMA5_TSD +config SAMA5_NAND_AUTOMOUNT + bool "NAND FLASH auto-mount" + default n + depends on NSH_ARCHINIT && SAMA5_EBICS3_NAND ---help--- - This touchscreen will be register as /dev/inputN where the value of - N is provided by this configuration setting. + Automatically initialize the NAND FLASH driver when NSH starts. + +choice + prompt "NAND FLASH configuration" + default SAMA5_NAND_NXFFS + depends on SAMA5_NAND_AUTOMOUNT + +config SAMA5_NAND_FTL + bool "Create NAND FLASH block driver" + ---help--- + Create the MTD driver for the NAND and "wrap" the NAND 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. + + NOTE: This options is not currently recommended. There is not now + NuttX file system that can handle the NAND back blocks or performs + wear-leveling other than NXFFS and NXFFS does not use a block driver + but, rather, operates directly upon the NAND MTD device. + +config SAMA5_NAND_NXFFS + bool "Create NAND FLASH NXFFS file system" + depends on FS_NXFFS + ---help--- + Create the MTD driver for the NAND and mount the NAND device as + a wear-leveling, NuttX FLASH file system (NXFFS). The downside of + NXFFS is that it can be very slow. + + NOTE: NXFFS is recommended because (1) it can handle the NAND back + blocks and (1) performs wear-leveling. + +endchoice # NAND FLASH configuration config SAMA5_AT25_AUTOMOUNT bool "AT25 serial FLASH auto-mount" @@ -65,7 +95,7 @@ choice config SAMA5_AT25_FTL bool "Create AT25 Serial FLASH block driver" ---help--- - Create the MTD driver for the AT25 and "wrap" the AT25 is a standard + 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. @@ -74,7 +104,7 @@ config SAMA5_AT25_NXFFS bool "Create AT25 serial FLASH NXFFS file system" depends on FS_NXFFS ---help--- - Create the MTD driver for the AT25 and and mount the AT25 device as + 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. @@ -106,7 +136,7 @@ choice config SAMA5_AT24_FTL bool "Create AT24 block driver" ---help--- - Create the MTD driver for the AT24 and "wrap" the AT24 is a standard + Create the MTD driver for the AT24 and "wrap" the AT24 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. @@ -115,12 +145,20 @@ config SAMA5_AT24_NXFFS bool "Create AT24 NXFFS file system" depends on FS_NXFFS ---help--- - Create the MTD driver for the AT24 and and mount the AT24 device as + Create the MTD driver for the AT24 and mount the AT24 device as a wear-leveling, NuttX FLASH file system (NXFFS). The downside of NXFFS is that it can be very slow. endchoice # AT24 serial EPPROM configuration +config SAMA5_TSD_DEVMINOR + int "Touchscreen device minor" + default 0 + depends on SAMA5_TSD + ---help--- + This touchscreen will be register as /dev/inputN where the value of + N is provided by this configuration setting. + config SAMA5D3X_EK_CHANNEL int "PWM channel number" default 0 if SAMA5_PWM_CHAN0 @@ -133,8 +171,6 @@ config SAMA5D3X_EK_CHANNEL Selects the PWM channel number that will be used to perform the PWM test. See apps/examples/pwm. -endif - if AUDIO_I2SCHAR && (SAMA5_SSC0 || SAMA5_SSC1) if SAMA5_SSC0 && SAMA5_SSC1 @@ -172,4 +208,6 @@ config SAMA5D3X_EK_I2SCHAR_MINOR device. The driver will be registered at /dev/is2charN where N is the value provided by this setting. +endif # AUDIO_I2SCHAR && (SAMA5_SSC0 || SAMA5_SSC1) + endif # ARCH_BOARD_SAMA5D3X_EK |