prj.conf 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. #=========== GUI config ===========
  2. CONFIG_UI_MANAGER=n
  3. CONFIG_UI_SERVICE=n
  4. CONFIG_SURFACE_ZERO_BUFFER=y
  5. CONFIG_UI_MEMORY_MANAGER=y
  6. CONFIG_UI_MEMORY_DEBUG=n
  7. CONFIG_MEM_GUARD=n
  8. #actions RES manager
  9. CONFIG_RES_MANAGER=y
  10. CONFIG_RES_MANAGER_USE_STYLE_MMAP=y
  11. CONFIG_RES_MANAGER_SKIP_PRELOAD=n
  12. #actions freetype font
  13. CONFIG_FREETYPE_FONT=y
  14. #actions Bitmap font
  15. CONFIG_BITMAP_FONT=y
  16. CONFIG_BITMAP_FONT_SUPPORT_EMOJI=y
  17. CONFIG_EMOJI_FONT_USE_MMAP=y
  18. #lvgl config
  19. CONFIG_LVGL=y
  20. CONFIG_LVGL_USE_IMG_DECODER_ACTS=y
  21. CONFIG_LVGL_USE_BITMAP_FONT=y
  22. CONFIG_LVGL_USE_FREETYPE_FONT=y
  23. CONFIG_LVGL_USE_RES_MANAGER=y
  24. CONFIG_LVGL_DISPLAY_FLUSH_WORKQ_STACKSIZE=1280
  25. CONFIG_LV_VDB_NUM=2
  26. CONFIG_LV_USE_GPU_ACTS=y
  27. CONFIG_LV_USE_GPU_ACTS_JPG=y
  28. CONFIG_LV_USE_GPU_ACTS_SW_DECODER=y
  29. CONFIG_LV_USE_STRACE=y
  30. CONFIG_LV_COLOR_DEPTH_16=y
  31. # must set 1 to make sure lvgl drawing following vsync
  32. CONFIG_LV_DISP_DEF_REFR_PERIOD=16
  33. CONFIG_LV_INDEV_DEF_READ_PERIOD=16
  34. CONFIG_LV_TXT_ENC_UTF8=y
  35. CONFIG_LV_TXT_BREAK_CHARS=""
  36. CONFIG_LV_FONT_DEFAULT_UNSCII_8=y
  37. CONFIG_LV_CONF_MINIMAL=y
  38. CONFIG_LV_USE_FLEX=y
  39. CONFIG_LV_USE_GRID=y
  40. CONFIG_LV_USE_ARC=y
  41. CONFIG_LV_USE_BTN=y
  42. CONFIG_LV_USE_IMG=y
  43. CONFIG_LV_USE_LABEL=y
  44. CONFIG_LV_USE_SLIDER=y
  45. CONFIG_LV_USE_IMGBTN=y
  46. CONFIG_LV_USE_TILEVIEW=y
  47. CONFIG_LV_USE_QRCODE=y
  48. CONFIG_LV_USE_BARCODE=y
  49. CONFIG_LV_USE_CANVAS=y
  50. #=========== system base config ===========
  51. CONFIG_ACTIONS_FRAMEWORK=y
  52. CONFIG_ACTIONS_FRAMEWORK_DISPLAY=y
  53. CONFIG_THREAD_TIMER=y
  54. CONFIG_ACTIONS_UTILS=y
  55. CONFIG_CORE=y
  56. CONFIG_SYSTEM=y
  57. CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000
  58. CONFIG_PRINTK_TIME_FREFIX=n
  59. CONFIG_SLEEP_SENSOR_RUN_ON_NOR=y
  60. CONFIG_SLEEP_COPY_SRAM_FOR_SENSOR=n
  61. CONFIG_SLEEP_MEMORY_CHECK_INTEGRITY=n
  62. CONFIG_THREAD_RUNTIME_STATS=y
  63. CONFIG_SYSTEM_SHELL=y
  64. #power config
  65. CONFIG_POWER=y
  66. #input config
  67. CONFIG_INPUT=n
  68. CONFIG_INPUT_POINTER=n
  69. CONFIG_INPUT_KEYPAD=n
  70. CONFIG_ACTS_RING_BUFFER=y
  71. #standby config
  72. CONFIG_SYS_STANDBY=y
  73. CONFIG_AUTO_STANDBY_TIME_SEC=10
  74. CONFIG_SYS_WAKELOCK=y
  75. #system message config
  76. CONFIG_NUM_MBOX_ASYNC_MSGS=35
  77. CONFIG_MESSAGE_DEBUG=n
  78. #property config
  79. CONFIG_PROPERTY=y
  80. CONFIG_PROPERTY_CACHE=y
  81. #watchdog config
  82. CONFIG_WATCHDOG=n
  83. CONFIG_WDOG_ACTS=n
  84. CONFIG_WDT_MODE_RESET=n
  85. #dvfs config
  86. CONFIG_DVFS=y
  87. CONFIG_ACTS_DVFS_DYNAMIC_LEVEL=y
  88. #memory config
  89. CONFIG_MEMORY=y
  90. CONFIG_SYS_MEMORY_DEBUG=n
  91. CONFIG_APP_USED_MEM_POOL=y
  92. CONFIG_RAM_POOL_PAGE_NUM=9
  93. CONFIG_HEAP_MEM_POOL_SIZE=2560
  94. #system stack config
  95. CONFIG_MAIN_STACK_SIZE=4096
  96. CONFIG_IDLE_STACK_SIZE=4096
  97. CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
  98. # sdfs config
  99. CONFIG_SD_FS=y
  100. CONFIG_SDFS_MANAGER=y
  101. CONFIG_MUTIPLE_VOLUME_MANAGER=y
  102. CONFIG_SD_FILE_MAX=24
  103. CONFIG_DISKIO_CACHE=n
  104. #=========== bulooth config ===========
  105. CONFIG_BLUETOOTH=y
  106. CONFIG_ACTS_BT=y
  107. CONFIG_ACTS_BT_SHELL=n
  108. CONFIG_BT_BLE=y
  109. CONFIG_BT_DRV=y
  110. CONFIG_BT_ECC_ACTS=y
  111. CONFIG_BT_HCI_ACTS=y
  112. CONFIG_BT_CTRL_DEBUG=n
  113. CONFIG_BT_CTRL_LOG=y
  114. CONFIG_BT_CTRL_BQB=y
  115. CONFIG_BT_CTRL_RF_DEBUG=n
  116. CONFIG_BT_HCI_TX_PRINT=n
  117. CONFIG_BT_HCI_RX_PRINT=n
  118. CONFIG_HCI_DATA_LOG=y
  119. CONFIG_BT_BREDR=y
  120. CONFIG_BT_CONN_TX_MAX=12
  121. CONFIG_BT_HCI_ACL_FLOW_CONTROL=n
  122. CONFIG_BT_ATT_ENFORCE_FLOW=n
  123. CONFIG_BT_GATT_DYNAMIC_DB=y
  124. CONFIG_BT_MAX_CONN=4
  125. CONFIG_BT_MAX_BR_CONN=2
  126. CONFIG_BT_MAX_PAIRED=4
  127. CONFIG_BT_MAX_BR_PAIRED=2
  128. CONFIG_BT_SPP=y
  129. CONFIG_BT_PBAP_CLIENT=y
  130. CONFIG_BT_MAP_CLIENT=y
  131. CONFIG_BT_HID=y
  132. CONFIG_BT_SDP_CLIENT=y
  133. CONFIG_BT_PERIPHERAL=y
  134. CONFIG_BT_BAS=y
  135. CONFIG_BT_SMP=y
  136. CONFIG_BT_BONDABLE=y
  137. CONFIG_BT_DEVICE_NAME="leopard_bt"
  138. CONFIG_BT_RX_BUF_LEN=680
  139. CONFIG_BT_RX_BUF_COUNT=25
  140. CONFIG_BT_HCI_CMD_COUNT=4
  141. CONFIG_BT_L2CAP_TX_MTU=672
  142. CONFIG_BT_BLE_NOTIFY_PENDING=y
  143. CONFIG_BT_BLE_APP_UPDATE_PARAM=y
  144. CONFIG_BT_ANCS_AMS=y
  145. CONFIG_BT_ACTIONS_SUPER_SERVICE=y
  146. #=========== display config ===========
  147. CONFIG_DISPLAY=y
  148. CONFIG_DISPLAY_LOG_LEVEL_INF=y
  149. CONFIG_DISPLAY_CONTROLLER=y
  150. CONFIG_DISPLAY_ENGINE=y
  151. CONFIG_DISPLAY_ENGINE_INSTANCE_NUM=4
  152. CONFIG_DMA2D_HAL=y
  153. CONFIG_DMA2D_LITE=y
  154. CONFIG_DISPLAY_WORK_Q=y
  155. CONFIG_DISPLAY_WORK_Q_STACK_SIZE=1536
  156. #=========== libc config ===========
  157. CONFIG_NEWLIB_LIBC=y
  158. CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
  159. CONFIG_NEWLIB_LIBC_NANO=y
  160. #=========== ota config ===========
  161. CONFIG_OTA=y
  162. CONFIG_OTA_UPGRADE=y
  163. CONFIG_OTA_BACKEND_BLUETOOTH=y
  164. #=========== sensor config ===========
  165. CONFIG_SENSOR_MANAGER=y
  166. CONFIG_SENSOR_ALGO_HR_GH30X=n
  167. CONFIG_SENSOR_ALGO_HR_VCARE=n
  168. CONFIG_SENSOR_ALGO_HR_HX3605=n
  169. CONFIG_SENSOR_ALGO_HR_HX3690=n
  170. CONFIG_SENSOR_ALGO_MOTION_CYWEE=y
  171. CONFIG_SENSOR_ALGO_MOTION_CYWEE_DML=n
  172. CONFIG_SENSOR_ALGO_MOTION_SILAN=n
  173. #=========== used custom linker ===========
  174. CONFIG_HAVE_CUSTOM_LINKER_SCRIPT=y
  175. CONFIG_CUSTOM_LINKER_SCRIPT="linker.ld"