summaryrefslogtreecommitdiff
path: root/nuttx/configs/tm4c123g-launchpad/Kconfig
blob: 5c1f6ce9c4423f43e37adcdbc8f04cef6f53d47e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

if ARCH_BOARD_TM4C123G_LAUNCHPAD

config TM4C123G_LAUNCHPAD_AT24_BLOCKMOUNT
	bool "AT24 Serial EEPROM auto-mount"
	default n
	depends on NSH_ARCHINIT && TIVA_I2C0 && MTD_AT24XX
	---help---
		Automatically initialize the AT24 SPI EEPROM driver when NSH starts.

		The Serial EEPROM was mounted on an external adaptor board and
		connected to the LaunchPad thusly:

		- VCC -- VCC
		- GND -- GND
		- PB2 -- SCL
		- PB3  -- SDA

choice
	prompt "AT24 serial EPPROM configuration"
	default TM4C123G_LAUNCHPAD_AT24_FTL
	depends on TM4C123G_LAUNCHPAD_AT24_BLOCKMOUNT

config TM4C123G_LAUNCHPAD_AT24_FTL
	bool "Create AT24 block driver"
	---help---
		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.

config TM4C123G_LAUNCHPAD_AT24_NXFFS
	bool "Create AT24 NXFFS file system"
	depends on FS_NXFFS
	---help---
		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

endif