Kconfig 1010 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Kconfig file for rt_link
  2. menuconfig RT_USING_RT_LINK
  3. bool "RT-Link"
  4. default n
  5. if RT_USING_RT_LINK
  6. choice
  7. prompt"use hw crc device or not"
  8. default RT_LINK_USING_SF_CRC
  9. config RT_LINK_USING_SF_CRC
  10. bool "use software crc table"
  11. config RT_LINK_USING_HW_CRC
  12. bool "use hardware crc device"
  13. endchoice
  14. menu "rt-link hardware device configuration"
  15. config RT_LINK_HW_DEVICE_NAME
  16. string "the name of base actual device"
  17. default "uart2"
  18. choice
  19. prompt"hardware device is spi, uart or usb"
  20. default RT_LINK_USING_UART
  21. config RT_LINK_USING_UART
  22. bool "use UART"
  23. endchoice
  24. endmenu
  25. menu "rt link debug option"
  26. config USING_RT_LINK_DEBUG
  27. bool "Enable RT-Link debug"
  28. default n
  29. config USING_RT_LINK_HW_DEBUG
  30. bool "Enable RT-Link hw debug"
  31. default n
  32. endmenu
  33. endif