Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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_SAMV71_XULT
  6. config SAMV71XULT_MXTXPLND
  7. bool "MaXTouch Xplained connected"
  8. default n
  9. config SAMV71XULT_CLICKSHIELD
  10. bool "Mikroe Click Shield"
  11. default n
  12. ---help---
  13. In the mrf24j40-starhub configuration, a click shield from
  14. MikroElectronika was used along with a Click "Bee" module. The
  15. click shield supports two click shields.
  16. config SAMV71XULT_MB1_SPI
  17. bool
  18. default n
  19. config SAMV71XULT_MB2_SPI
  20. bool
  21. default n
  22. choice
  23. prompt "Bee mikroBUS"
  24. depends on SAMV71XULT_CLICKSHIELD && IEEE802154_MRF24J40
  25. default SAMV71XULT_MB1_BEE
  26. config SAMV71XULT_MB1_BEE
  27. bool "MRF24J40 Bee in mikroBUS1"
  28. select SAMV71XULT_MB1_SPI
  29. config SAMV71XULT_MB2_BEE
  30. bool "MRF24J40 Bee in mikroBUS2"
  31. select SAMV71XULT_MB2_SPI
  32. endchoice # Bee mikroBUS
  33. if SAMV71XULT_MXTXPLND
  34. choice
  35. prompt "MaXTouch Xplained connection"
  36. default SAMV71XULT_MXTXPLND_EXT1
  37. config SAMV71XULT_MXTXPLND_EXT1
  38. bool "Connected on EXT1 (2x10 pin)"
  39. depends on EXPERIMENTAL
  40. config SAMV71XULT_MXTXPLND_EXT2
  41. bool "Connected on EXT2 (2x10 pin)"
  42. depends on EXPERIMENTAL
  43. config SAMV71XULT_MXTXPLND_LCD
  44. bool "Connected on LCD (50-pin)"
  45. endchoice # MaXTouch Xplained connection
  46. if INPUT_MXT
  47. config SAMV71XULT_MXT_SWAPXY
  48. bool "Swap X/Y coordinates"
  49. default n
  50. ---help---
  51. If you are working in a landscape orientation, it should be
  52. necessary to swap X/Y coordinates. But you will probably want
  53. to do this in any portrait orientation.
  54. config SAMV71XULT_MXT_I2CFREQUENCY
  55. int "maXTouch I2C frequency"
  56. default 400000
  57. config SAMV71XULT_MXT_DEVMINOR
  58. int "/dev/input minor number"
  59. default 0
  60. endif # INPUT_MXT
  61. if LCD
  62. config SAMV71XULT_LCD_BGCOLOR
  63. hex "Initial background color"
  64. default 0x00
  65. endif # LCD
  66. endif # SAMV71XULT_MXTXPLND
  67. config SAMV71XULT_HSMCI0_AUTOMOUNT
  68. bool "HSMCI0 automounter"
  69. default n
  70. depends on FS_AUTOMOUNTER && SAMA5_HSMCI0
  71. if SAMV71XULT_HSMCI0_AUTOMOUNT
  72. config SAMV71XULT_HSMCI0_AUTOMOUNT_FSTYPE
  73. string "HSMCI0 file system type"
  74. default "vfat"
  75. config SAMV71XULT_HSMCI0_AUTOMOUNT_BLKDEV
  76. string "HSMCI0 block device"
  77. default "/dev/mmcsd0"
  78. config SAMV71XULT_HSMCI0_AUTOMOUNT_MOUNTPOINT
  79. string "HSMCI0 mount point"
  80. default "/mnt/sdcard0"
  81. config SAMV71XULT_HSMCI0_AUTOMOUNT_DDELAY
  82. int "HSMCI0 debounce delay (milliseconds)"
  83. default 1000
  84. config SAMV71XULT_HSMCI0_AUTOMOUNT_UDELAY
  85. int "HSMCI0 unmount retry delay (milliseconds)"
  86. default 2000
  87. endif # SAMV71XULT_HSMCI0_AUTOMOUNT
  88. if AUDIO_WM8904
  89. config SAMV71XULT_WM8904_I2CFREQUENCY
  90. int "WM8904 I2C Frequency"
  91. default 400000
  92. range 1 400000
  93. ---help---
  94. This option selects the I2C frequency to use when communicating with
  95. the WM8904 device. The default, 400KHz, is the maximum supported by
  96. the WM8904. If you have problems communicating with the WM8904,
  97. then you might want to try lowering this rate.
  98. choice
  99. prompt "WM8904 MCLK source"
  100. default SAMV71XULT_WM8904_SRCMAIN
  101. config SAMV71XULT_WM8904_SRCMAIN
  102. bool "Main Clock (12MHz)"
  103. config SAMV71XULT_WM8904_SRCSCK
  104. bool "Slow XTAL (32.768KHz)"
  105. select SAMV71XULT_SLOWCLOCK
  106. endchoice # WM8904 MCLK source
  107. endif # AUDIO_WM8904
  108. endif # ARCH_BOARD_SAMV71_XULT