prj.conf 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. # nothing here
  2. #=========== main app ===========
  3. CONFIG_BT_MAIN_APP=y
  4. CONFIG_LAUNCHER_APP=y
  5. CONFIG_UI_SWITCH_EFFECT=y
  6. CONFIG_UI_SCROLL_EFFECT=y
  7. #=========== bt call config (msbc/cvsd) ===========
  8. CONFIG_BT_CALL_APP=y
  9. CONFIG_BT_HFP_MSBC=y
  10. #=========== bt music config a2dp (sbc/aac) ===========
  11. CONFIG_BT_PLAYER=y
  12. CONFIG_BT_A2DP_AAC=y
  13. #=========== local music config ===========
  14. CONFIG_LCMUSIC_APP=y
  15. #CONFIG_FS_FATFS_NUM_FILES=16
  16. ##local music decoder format
  17. CONFIG_DECODER_M4A=y
  18. CONFIG_DECODER_APE=y
  19. CONFIG_DECODER_PCM=y
  20. CONFIG_DECODER_MP3=y
  21. CONFIG_DECODER_FLAC=y
  22. CONFIG_DECODER_WAV=y
  23. CONFIG_DECODER_WMA=y
  24. ##local music parser
  25. CONFIG_ACTIONS_PARSER=y
  26. CONFIG_PARSER_MP3=y
  27. CONFIG_PARSER_M4A=y
  28. CONFIG_PARSER_WAV=y
  29. CONFIG_PARSER_APE=y
  30. CONFIG_PARSER_WMA=y
  31. CONFIG_PARSER_FLAC=y
  32. #=========== tts support ===========
  33. CONFIG_PLAYTTS=y
  34. #=========== alarm config ===========
  35. CONFIG_ALARM_APP=y
  36. #=========== card reader config ===========
  37. CONFIG_CARD_READER_APP=y
  38. #=========== bt vendor config ===========
  39. CONFIG_BT_VENDOR=y
  40. #=========== actions media framework ===========
  41. CONFIG_MEDIA=y
  42. CONFIG_MEDIA_EFFECT_OUTMODE=2
  43. CONFIG_MEDIA_DSP_SLEEP=y
  44. CONFIG_DSP_DEBUG_PRINT=y
  45. CONFIG_LOAD_IMAGE_FROM_FS=y
  46. CONFIG_ENCODER_PCM=y
  47. CONFIG_ENCODER_OPUS=y
  48. #=========== GUI config ===========
  49. CONFIG_UI_MANAGER=y
  50. CONFIG_UI_SERVICE=y
  51. CONFIG_SURFACE_DOUBLE_BUFFER=y
  52. CONFIG_UI_MEMORY_MANAGER=y
  53. CONFIG_UI_MEMORY_DEBUG=n
  54. CONFIG_MEM_GUARD=n
  55. #actions RES manager
  56. CONFIG_RES_MANAGER=y
  57. CONFIG_RES_MANAGER_USE_STYLE_MMAP=n
  58. CONFIG_RES_MANAGER_SKIP_PRELOAD=n
  59. CONFIG_RES_MANAGER_ALIGN=64
  60. #actions freetype font
  61. CONFIG_FREETYPE_FONT=y
  62. CONFIG_FREETYPE_FONT_ENABLE_SVG_PATH=y
  63. #actions Bitmap font
  64. CONFIG_BITMAP_FONT=y
  65. CONFIG_BITMAP_FONT_SUPPORT_EMOJI=y
  66. CONFIG_EMOJI_FONT_USE_MMAP=y
  67. #lvgl config
  68. CONFIG_LVGL=y
  69. CONFIG_LVGL_USE_IMG_DECODER_ACTS=n
  70. CONFIG_LVGL_USE_BITMAP_FONT=y
  71. CONFIG_LVGL_USE_FREETYPE_FONT=y
  72. CONFIG_LVGL_USE_RES_MANAGER=y
  73. CONFIG_LVGL_DISPLAY_FLUSH_WORKQ_STACKSIZE=1280
  74. CONFIG_LV_VDB_NUM=2
  75. CONFIG_LV_USE_GPU_ACTS=y
  76. CONFIG_LV_USE_STRACE=y
  77. CONFIG_LV_COLOR_DEPTH_16=y
  78. CONFIG_LV_DITHER_GRADIENT=y
  79. # must set 1 to make sure lvgl drawing following vsync
  80. CONFIG_LV_DISP_DEF_REFR_PERIOD=1
  81. CONFIG_LV_INDEV_DEF_READ_PERIOD=1
  82. CONFIG_LV_TXT_ENC_UTF8=y
  83. CONFIG_LV_TXT_BREAK_CHARS=""
  84. CONFIG_LV_FONT_DEFAULT_UNSCII_8=y
  85. CONFIG_LV_CONF_MINIMAL=y
  86. CONFIG_LV_USE_FLEX=y
  87. CONFIG_LV_USE_GRID=y
  88. CONFIG_LV_USE_ARC=y
  89. CONFIG_LV_USE_BTN=y
  90. CONFIG_LV_USE_IMG=y
  91. CONFIG_LV_USE_LABEL=y
  92. CONFIG_LV_USE_SLIDER=y
  93. CONFIG_LV_USE_IMGBTN=y
  94. CONFIG_LV_USE_TILEVIEW=y
  95. CONFIG_LV_USE_QRCODE=y
  96. CONFIG_LV_USE_BARCODE=y
  97. CONFIG_LV_USE_CANVAS=y
  98. CONFIG_LV_USE_CHART=y
  99. CONFIG_LV_USE_SNAPSHOT=y
  100. CONFIG_LV_Z_USE_FILESYSTEM=y
  101. CONFIG_LV_USE_ASSERT_NULL=y
  102. CONFIG_LV_USE_ASSERT_MALLOC=y
  103. #=========== system base config ===========
  104. CONFIG_ACTIONS_FRAMEWORK=y
  105. CONFIG_ACTIONS_FRAMEWORK_DISPLAY=y
  106. CONFIG_THREAD_TIMER=y
  107. CONFIG_ACTIONS_UTILS=y
  108. CONFIG_CORE=y
  109. CONFIG_SYSTEM=y
  110. CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
  111. CONFIG_PRINTK_TIME_FREFIX=n
  112. CONFIG_DMA_PRINTK_BUF_SIZE=4096
  113. CONFIG_SLEEP_SENSOR_RUN_ON_NOR=y
  114. CONFIG_SLEEP_COPY_SRAM_FOR_SENSOR=n
  115. CONFIG_SLEEP_MEMORY_CHECK_INTEGRITY=n
  116. CONFIG_THREAD_RUNTIME_STATS=y
  117. CONFIG_SYSTEM_SHELL=y
  118. CONFIG_TASK_WDT=y
  119. CONFIG_TASK_WDT_TIMEOUT=5000
  120. CONFIG_DEBUG_RAMDUMP=y
  121. #power config
  122. CONFIG_POWER=y
  123. #input config
  124. CONFIG_INPUT=y
  125. CONFIG_INPUT_POINTER=y
  126. CONFIG_INPUT_KEYPAD=y
  127. CONFIG_ACTS_RING_BUFFER=y
  128. #standby config
  129. CONFIG_SYS_STANDBY=y
  130. CONFIG_AUTO_STANDBY_TIME_SEC=10
  131. CONFIG_SYS_WAKELOCK=y
  132. #system message config
  133. CONFIG_NUM_MBOX_ASYNC_MSGS=35
  134. CONFIG_MESSAGE_DEBUG=n
  135. #property config
  136. CONFIG_PROPERTY=y
  137. CONFIG_PROPERTY_CACHE=y
  138. #watchdog config
  139. CONFIG_WATCHDOG=n
  140. CONFIG_WDOG_ACTS=n
  141. CONFIG_WDT_MODE_RESET=n
  142. #dvfs config
  143. CONFIG_DVFS=n
  144. CONFIG_ACTS_DVFS_DYNAMIC_LEVEL=n
  145. #memory config
  146. CONFIG_MEMORY=y
  147. CONFIG_SYS_MEMORY_DEBUG=n
  148. CONFIG_APP_USED_MEM_POOL=y
  149. CONFIG_RAM_POOL_PAGE_NUM=15
  150. CONFIG_HEAP_MEM_POOL_SIZE=2560
  151. #system stack config
  152. CONFIG_APP_STACKSIZE=1536
  153. CONFIG_MAIN_STACK_SIZE=1536
  154. CONFIG_UISRV_STACKSIZE=16384
  155. CONFIG_IDLE_STACK_SIZE=4096
  156. CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
  157. # sdfs config
  158. CONFIG_SD_FS=y
  159. CONFIG_SDFS_MANAGER=y
  160. CONFIG_MUTIPLE_VOLUME_MANAGER=y
  161. CONFIG_SD_FILE_MAX=24
  162. CONFIG_DISKIO_CACHE=y
  163. #=========== bulooth config ===========
  164. CONFIG_BLUETOOTH=y
  165. CONFIG_ACTS_BT=y
  166. CONFIG_ACTS_BT_SHELL=n
  167. CONFIG_BT_BLE=y
  168. CONFIG_BT_DRV=y
  169. CONFIG_BT_ECC_ACTS=y
  170. CONFIG_BT_HCI_ACTS=y
  171. CONFIG_BT_CTRL_DEBUG=n
  172. CONFIG_BT_CTRL_LOG=y
  173. CONFIG_BT_CTRL_BQB=y
  174. CONFIG_BT_CTRL_RF_DEBUG=n
  175. CONFIG_BT_HCI_TX_PRINT=n
  176. CONFIG_BT_HCI_RX_PRINT=n
  177. CONFIG_HCI_DATA_LOG=y
  178. CONFIG_BT_LOG_SERVICE=y
  179. CONFIG_BT_BREDR=y
  180. CONFIG_BT_CONN_TX_MAX=12
  181. CONFIG_BT_HCI_ACL_FLOW_CONTROL=n
  182. CONFIG_BT_ATT_ENFORCE_FLOW=n
  183. CONFIG_BT_GATT_DYNAMIC_DB=y
  184. CONFIG_BT_MAX_CONN=4
  185. CONFIG_BT_MAX_BR_CONN=2
  186. CONFIG_BT_MAX_PAIRED=4
  187. CONFIG_BT_MAX_BR_PAIRED=2
  188. CONFIG_BT_SPP=y
  189. CONFIG_BT_PBAP_CLIENT=y
  190. CONFIG_BT_MAP_CLIENT=y
  191. CONFIG_BT_HID=y
  192. CONFIG_BT_SDP_CLIENT=y
  193. CONFIG_BT_PERIPHERAL=y
  194. CONFIG_BT_BAS=y
  195. CONFIG_BT_SMP=y
  196. CONFIG_BT_BONDABLE=y
  197. CONFIG_BT_DEVICE_NAME="leopard_bt"
  198. CONFIG_BT_RX_BUF_LEN=680
  199. CONFIG_BT_RX_BUF_COUNT=25
  200. CONFIG_BT_HCI_CMD_COUNT=4
  201. CONFIG_BT_L2CAP_TX_MTU=672
  202. CONFIG_BT_BLE_NOTIFY_PENDING=y
  203. CONFIG_BT_BLE_APP_UPDATE_PARAM=y
  204. CONFIG_BT_ANCS_AMS=y
  205. CONFIG_BT_ACTIONS_SUPER_SERVICE=y
  206. #=========== display config ===========
  207. CONFIG_DISPLAY=y
  208. CONFIG_DISPLAY_LOG_LEVEL_INF=y
  209. CONFIG_DISPLAY_CONTROLLER=y
  210. CONFIG_DISPLAY_ENGINE=y
  211. CONFIG_DISPLAY_ENGINE_INSTANCE_NUM=3
  212. CONFIG_DMA2D_HAL=y
  213. CONFIG_DMA2D_LITE=y
  214. CONFIG_DISPLAY_WORK_Q=y
  215. CONFIG_DISPLAY_WORK_Q_STACK_SIZE=1152
  216. #=========== gpu config ===========
  217. CONFIG_VG_LITE=y
  218. CONFIG_VG_LITE_K_MEM_POOL_SIZE=172032
  219. CONFIG_NEWLIB_LIBC=y
  220. CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
  221. CONFIG_NEWLIB_LIBC_NANO=y
  222. #=========== ota config ===========
  223. CONFIG_OTA=y
  224. CONFIG_OTA_UPGRADE=y
  225. CONFIG_OTA_APP=y
  226. CONFIG_OTA_BACKGROUND=n
  227. CONFIG_OTA_FOREGROUND=y
  228. CONFIG_OTA_BACKEND_SDCARD=y
  229. CONFIG_OTA_BACKEND_BLUETOOTH=y
  230. CONFIG_OTA_RECOVERY=y
  231. CONFIG_OTA_STORAGE_FS=n
  232. CONFIG_OTA_BACKEND_TEMP_PART=y
  233. CONFIG_OTA_MUTIPLE_STORAGE=n
  234. CONFIG_OTA_RES_PATCH=n
  235. #=========== sensor config ===========
  236. CONFIG_SENSOR_MANAGER=y
  237. CONFIG_SENSOR_ALGO_HR_GH30X=n
  238. CONFIG_SENSOR_ALGO_HR_VCARE=n
  239. CONFIG_SENSOR_ALGO_HR_HX3605=n
  240. CONFIG_SENSOR_ALGO_HR_HX3690=n
  241. CONFIG_SENSOR_ALGO_MOTION_CYWEE=y
  242. CONFIG_SENSOR_ALGO_MOTION_CYWEE_DML=n
  243. CONFIG_SENSOR_ALGO_MOTION_SILAN=n
  244. #=========== USB device general config ===========
  245. CONFIG_USB_DEVICE=y
  246. CONFIG_USB_AOTG_OTG=y
  247. CONFIG_USB_AOTG_DC_ENABLED=y
  248. CONFIG_USB_AOTG_OTG_VERSION=0x551A24CF
  249. CONFIG_USB_DEVICE_DRIVER=y
  250. CONFIG_USB_DEVICE_STACK=y
  251. #CONFIG_SYS_LOG_USB_OTG_DRIVER_LEVEL=2
  252. #CONFIG_SYS_LOG_USB_DEVICE_LEVEL=2
  253. #CONFIG_USB_DEVICE_STRING_DESC_MAX_LEN=40
  254. CONFIG_USB_AOTG_UDC_DMA=y
  255. #CONFIG_MASS_STORAGE_SWITCH_TO_ADFU=n
  256. ##usb mass storage config
  257. CONFIG_USB_MASS_STORAGE=y
  258. #CONFIG_SYS_LOG_USB_MASS_STORAGE_LEVEL=2
  259. #CONFIG_MASS_STORAGE_MANUFACTURER="Actions"
  260. #CONFIG_MASS_STORAGE_PRODUCT="MSC-Sample"
  261. #CONFIG_MASS_STORAGE_SN="0123456798AB"
  262. #CONFIG_MASS_STORAGE_STACK_SIZE=2048
  263. #CONFIG_MASS_STORAGE_BUF_SIZE=8192
  264. #CONFIG_USB_MASS_STORAGE_SHARE_THREAD=n
  265. #CONFIG_USB_AOTG_DC_MULTI_FIFO=n
  266. #CONFIG_MASS_STORAGE_IN_EP_ADDR=0x81
  267. CONFIG_MASS_STORAGE_OUT_EP_ADDR=0x02
  268. ##usb cdc_acm config
  269. #CONFIG_USB_UART_CONSOLE=y
  270. #CONFIG_USB_CDC_ACM=y
  271. #CONFIG_UART_LINE_CTRL=y
  272. #CONFIG_SYS_LOG_USB_CDC_ACM_LEVEL=2
  273. #CONFIG_CDC_ACM_INTERRUPT_EP_ADDR=0x81
  274. #CONFIG_CDC_ACM_BULK_IN_EP_ADDR=0x84
  275. #CONFIG_CDC_ACM_BULK_OUT_EP_ADDR=0x03
  276. #CONFIG_USB_CDC_ACM_MANUFACTURER="Actions"
  277. #CONFIG_USB_CDC_ACM_PRODUCT="CDC-ACM-DEV"
  278. #CONFIG_USB_CDC_ACM_SN="0123456789A"
  279. #=========== hotplug config ===========
  280. CONFIG_HOTPLUG=y
  281. CONFIG_CHARGER_HOTPLUG=y
  282. #=========== config tool ===========
  283. CONFIG_TOOL=y
  284. CONFIG_TOOL_ASET=y
  285. CONFIG_ACTIONS_ATT=n
  286. #=========== test ===========
  287. CONFIG_MONKEY_TEST=y
  288. #CONFIG_ALIPAY_LIB=y
  289. #CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=10240
  290. #CONFIG_NSM_APP=y
  291. #CONFIG_CHARGER_APP=y
  292. #=========== deep sleep ===========
  293. CONFIG_DEEP_SUSPEND=y
  294. #=========== used custom linker ===========
  295. CONFIG_HAVE_CUSTOM_LINKER_SCRIPT=y
  296. CONFIG_CUSTOM_LINKER_SCRIPT="linker.ld"
  297. #gps
  298. CONFIG_GPS=n
  299. CONFIG_SENSOR_GPS_CC1165W=n
  300. CONFIG_SENSOR_GPS_SERVICE=n
  301. CONFIG_GPS_MANAGER=n
  302. #CONFIG_GPS_PARSE_RMC_ENABLE=y
  303. CONFIG_GPS_PARSE_GGA_ENABLE=n
  304. #CONFIG_GPS_PARSE_GST_ENABLE=y
  305. #CONFIG_GPS_PARSE_GSV_ENABLE=y
  306. #CONFIG_GPS_PARSE_VTG_ENABLE=y
  307. #CONFIG_GPS_PARSE_ZDA_ENABLE=y
  308. CONFIG_TEMP_COMPENSATION_ACTS=y