prj.conf 9.4 KB

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