Kconfig 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. # Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. # All rights reserved.
  3. #
  4. # This software is supplied "AS IS" without any warranties.
  5. # RDA assumes no responsibility or liability for the use of the software,
  6. # conveys no license or title under any patent, copyright, or mask work
  7. # right to the product. RDA reserves the right to make changes in the
  8. # software without notification. RDA also make no representation or
  9. # warranty that such application will be suitable for the specified use
  10. # without further testing or modification.
  11. menu "Services"
  12. config USB_TRACE_ENABLE
  13. bool "Enable trace through USB"
  14. default y if SOC_8910
  15. default n
  16. help
  17. When enabled, trace device can be selected to USB serial. Also,
  18. USB serial can accept host commands from PC.
  19. config FS_TRACE_ENABLE
  20. bool "Enable write trace to file system"
  21. depends on FS_MOUNT_SDCARD
  22. default y
  23. help
  24. When enabled, various trace data can be written to file system.
  25. Typically, they should be written to SDCARD.
  26. config FS_UNET_LOG_ENABLE
  27. bool "Enable send cp log by http"
  28. depends on MUPNP_LIB_SUPPORT
  29. default y if SOC_8910 || SOC_8850
  30. default n
  31. help
  32. When enabled, various cp log trace can be send by http.
  33. config TWOLINE_WAKEUP_ENABLE
  34. bool "Enable two line wakeup mechanism"
  35. default n
  36. help
  37. Enable the funtion, you should call the srv2LineWakeUpInit and give the gpio id of
  38. wakeup_in and wakeup_out to the init function.
  39. if TWOLINE_WAKEUP_ENABLE
  40. config TWOLINE_WAKEUP_IN_GPIO
  41. int "The gpio id of wakeup_in"
  42. default 17
  43. help
  44. Be used for 2line wake up mechanism, notify module wakeup.
  45. config TWOLINE_WAKEUP_OUT_GPIO
  46. int "The gpio id of wakeup_out"
  47. default 18
  48. help
  49. Be used for 2line wake up mechanism, notify mcu wakeup.
  50. endif
  51. config SRV_DTR_ENABLE
  52. bool "Enable DTR"
  53. default n
  54. help
  55. When enabled, one GPIO will be used to simulate DTR.
  56. if SRV_DTR_ENABLE
  57. config SRV_DTR_GPIO
  58. int "DTR GPIO"
  59. default 13 if SOC_8910
  60. help
  61. The GPIO to be used to simulate DTR.
  62. config SRV_DTR_DEBOUNCE_ENABLE
  63. bool "Enable DTR GPIO software debounce"
  64. default y
  65. help
  66. When enabled, there is software debounce for the DTR GPIO.
  67. if SRV_DTR_DEBOUNCE_ENABLE
  68. config SRV_DTR_DEBOUNCE_TIME
  69. int "DTR GPIO software debounce time (ms)"
  70. default 20
  71. help
  72. The software debounce time of DTR GPIO.
  73. endif
  74. endif
  75. config SRV_SIMLOCK_ENABLE
  76. bool "Enable simlock service"
  77. default y if SOC_8850
  78. default y if SOC_8910
  79. default n
  80. help
  81. Enbale simlock service.
  82. config SRV_POWER_ON_VOLTAGE
  83. int "Power on voltage"
  84. default 3400
  85. config SRV_POWER_OFF_VOLTAGE
  86. int "Power off voltage"
  87. default 3250
  88. config POWER_KEY_LP_OFF_SUPPORT
  89. bool "power key long press power off"
  90. default y if SOC_8811
  91. default y
  92. if POWER_KEY_LP_OFF_SUPPORT
  93. if !(SOC_8811)
  94. config POWER_KEY_OFF_AFTER_RELEASE
  95. bool "power off after key release"
  96. default y
  97. endif
  98. config POWER_KEY_LP_DURATION
  99. int "power key long press duration (ms)"
  100. default 2500
  101. endif
  102. config THERMAL_MONITOR_SUPPORT
  103. bool "THERMAL MONITOR SUPPORT"
  104. default y if SOC_8811
  105. default n
  106. if THERMAL_MONITOR_SUPPORT
  107. config THERMAL_TEMPERATURE_HIGH
  108. int "High Temperature Threshold"
  109. default 110
  110. config THERMAL_TEMPERATURE_LOW
  111. int "Low Temperature Threshold"
  112. default -45
  113. endif
  114. endmenu