Kconfig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see the file kconfig-language.txt in the NuttX tools repository.
  4. #
  5. if ARCH_BOARD_TM4C123G_LAUNCHPAD
  6. config TM4C123G_LAUNCHPAD_AT24_BLOCKMOUNT
  7. bool "AT24 Serial EEPROM auto-mount"
  8. default n
  9. depends on NSH_ARCHINIT && TIVA_I2C0 && MTD_AT24XX
  10. ---help---
  11. Automatically initialize the AT24 SPI EEPROM driver when NSH starts.
  12. The Serial EEPROM was mounted on an external adaptor board and
  13. connected to the LaunchPad thusly:
  14. - VCC -- VCC
  15. - GND -- GND
  16. - PB2 -- SCL
  17. - PB3 -- SDA
  18. choice
  19. prompt "AT24 serial EPPROM configuration"
  20. default TM4C123G_LAUNCHPAD_AT24_FTL
  21. depends on TM4C123G_LAUNCHPAD_AT24_BLOCKMOUNT
  22. config TM4C123G_LAUNCHPAD_AT24_FTL
  23. bool "Create AT24 block driver"
  24. ---help---
  25. Create the MTD driver for the AT24 and "wrap" the AT24 as a standard
  26. block driver that could then, for example, be mounted using FAT or
  27. any other file system. Any file system may be used, but there will
  28. be no wear-leveling.
  29. config TM4C123G_LAUNCHPAD_AT24_NXFFS
  30. bool "Create AT24 NXFFS file system"
  31. depends on FS_NXFFS
  32. ---help---
  33. Create the MTD driver for the AT24 and mount the AT24 device as
  34. a wear-leveling, NuttX FLASH file system (NXFFS). The downside of
  35. NXFFS is that it can be very slow.
  36. endchoice # AT24 serial EPPROM configuration
  37. endif