Kconfig 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. config RT_USING_SPI
  2. bool "Using SPI Bus/Device device drivers"
  3. default n
  4. if RT_USING_SPI
  5. config RT_USING_SPI_BITOPS
  6. select RT_USING_PIN
  7. bool "Use GPIO to simulate SPI"
  8. default n
  9. if RT_USING_SPI_BITOPS
  10. config RT_SPI_BITOPS_DEBUG
  11. bool "Use simulate SPI debug message"
  12. default n
  13. endif
  14. config RT_USING_QSPI
  15. bool "Enable QSPI mode"
  16. default n
  17. config RT_USING_SPI_MSD
  18. bool "Using SD/TF card driver with spi"
  19. select RT_USING_DFS
  20. default n
  21. config RT_USING_SFUD
  22. bool "Using Serial Flash Universal Driver"
  23. default n
  24. help
  25. An using JEDEC's SFDP standard serial (SPI) flash universal driver library
  26. if RT_USING_SFUD
  27. config RT_SFUD_USING_SFDP
  28. bool "Using auto probe flash JEDEC SFDP parameter"
  29. default y
  30. config RT_SFUD_USING_FLASH_INFO_TABLE
  31. bool "Using defined supported flash chip information table"
  32. default y
  33. config RT_SFUD_USING_QSPI
  34. bool "Using QSPI mode support"
  35. select RT_USING_QSPI
  36. default n
  37. config RT_SFUD_SPI_MAX_HZ
  38. int "Default spi maximum speed(HZ)"
  39. range 0 50000000
  40. default 50000000
  41. help
  42. Read the JEDEC SFDP command must run at 50 MHz or less,and you also can use rt_spi_configure(); to config spi speed.
  43. config RT_DEBUG_SFUD
  44. bool "Show more SFUD debug information"
  45. default n
  46. endif
  47. config RT_USING_ENC28J60
  48. bool "Using ENC28J60 SPI Ethernet network interface"
  49. select RT_USING_LWIP
  50. default n
  51. config RT_USING_SPI_WIFI
  52. bool "Using RW009/007 SPI Wi-Fi wireless interface"
  53. select RT_USING_LWIP
  54. default n
  55. endif