Kconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. menuconfig RT_USING_AT
  2. bool "Enable AT commands"
  3. default n
  4. if RT_USING_AT
  5. config AT_DEBUG
  6. bool "Enable debug log output"
  7. default n
  8. config AT_USING_SERVER
  9. bool "Enable AT commands server"
  10. default n
  11. if AT_USING_SERVER
  12. config AT_SERVER_DEVICE
  13. string "Server device name"
  14. default "uart3"
  15. config AT_SERVER_RECV_BUFF_LEN
  16. int "The maximum length of server data accepted"
  17. default 256
  18. config AT_SERVER_SEND_BUFF_LEN
  19. int "The maximum length of server commands buffer"
  20. default 256
  21. choice
  22. prompt "The commands new line sign"
  23. help
  24. This end mark can used for AT server determine the end of commands ,
  25. it can choose "\r", "\n" or "\r\n"
  26. default AT_CMD_END_MARK_CRLF
  27. config AT_CMD_END_MARK_CRLF
  28. bool "\\r\\n"
  29. config AT_CMD_END_MARK_CR
  30. bool "\\r"
  31. config AT_CMD_END_MARK_LF
  32. bool "\\n"
  33. endchoice
  34. endif
  35. config AT_USING_CLIENT
  36. bool "Enable AT commands client"
  37. default n
  38. if AT_USING_CLIENT
  39. config AT_CLIENT_NUM_MAX
  40. int "The maximum number of supported clients"
  41. default 1
  42. range 1 65535
  43. config AT_USING_SOCKET
  44. bool "Enable BSD Socket API support by AT commnads"
  45. select RT_USING_SAL
  46. select SAL_USING_AT
  47. default n
  48. if AT_USING_SOCKET
  49. config AT_USING_SOCKET_SERVER
  50. bool "Enable BSD Socket API support about AT server"
  51. default n
  52. endif
  53. endif
  54. if AT_USING_SERVER || AT_USING_CLIENT
  55. config AT_USING_CLI
  56. bool "Enable CLI(Command-Line Interface) for AT commands"
  57. default y
  58. depends on RT_USING_FINSH
  59. config AT_PRINT_RAW_CMD
  60. bool "Enable print RAW format AT command communication data"
  61. default n
  62. endif
  63. config AT_SW_VERSION_NUM
  64. hex
  65. default 0x10301
  66. help
  67. software module version number
  68. endif