Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. # Kconfig - ACTIONS primitive options for sdk version 2.0
  2. #
  3. # Copyright (c) 2015 Intel Corporation
  4. #
  5. # Licensed under the Apache License, Version 2.0 (the "License");
  6. # you may not use this file except in compliance with the License.
  7. # You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. #
  17. menuconfig BT_MAIN_APP
  18. bool
  19. prompt "Btbox Main App Support"
  20. default n
  21. help
  22. This option enable or disable btbox main app
  23. if BT_MAIN_APP
  24. choice
  25. prompt "audio policy for output channel"
  26. default AUDIO_OUTPUT_DAC
  27. depends on BT_MAIN_APP
  28. help
  29. Select audio policy for output channel
  30. config AUDIO_OUTPUT_I2S
  31. bool
  32. prompt "output to i2s channel"
  33. select AUDIO_OUT_I2STX0_SUPPORT
  34. select OUTPUT_RESAMPLE
  35. help
  36. This option select audio output to i2s
  37. config AUDIO_OUTPUT_DAC
  38. bool
  39. prompt "output to dac channel"
  40. depends on BT_MAIN_APP
  41. help
  42. This option select audio output to dac
  43. endchoice
  44. config AUDIO_OUT_STEREO_ENABLE
  45. bool
  46. prompt "output to stereo dac channel"
  47. depends on BT_MAIN_APP
  48. help
  49. This option select audio output to dac
  50. config AUDIO_OUT_LEFT_ONLY
  51. bool
  52. prompt "output to left dac channel"
  53. select RIGHT_CHANNEL_MUTE
  54. depends on BT_MAIN_APP
  55. help
  56. This option select audio output to dac
  57. config AUDIO_OUT_RIGHT_ONLY
  58. bool
  59. prompt "output to right dac channel"
  60. select LEFT_CHANNEL_MUTE
  61. depends on BT_MAIN_APP
  62. help
  63. This option select audio output to dac
  64. config OUTPUT_RESAMPLE
  65. bool
  66. prompt "allow resample out put rate"
  67. select RESAMPLE
  68. depends on MEDIA
  69. help
  70. This option select audio output to dac
  71. config AUDIO_OUT_LEFT_RIGHT_SWAP
  72. bool
  73. prompt "output swap left/right dac channel"
  74. depends on AUDIO_OUT_STEREO_ENABLE
  75. default n
  76. help
  77. This option select audio output swap left/right dac
  78. if AUDIO_OUT_LEFT_RIGHT_SWAP
  79. config MEDIA_EFFECT_OUTMODE
  80. default 1
  81. endif
  82. endif # BT_MAIN_APP
  83. menuconfig LAUNCHER_APP
  84. bool "Launcher App"
  85. default n
  86. help
  87. Enable launcher app
  88. if LAUNCHER_APP
  89. config CLOCK_DEF_REFR_PERIOD
  90. int "Clock Default Update Period in Milliseconds"
  91. default 1000
  92. help
  93. Set clock default update period in milliseconds
  94. config SVG_RENDER
  95. bool "svg support"
  96. depends on VG_LITE
  97. help
  98. Enable SVG render using VG-Lite.
  99. endif # LAUNCHER_APP
  100. menuconfig BT_CALL_APP
  101. bool
  102. prompt "Bt Call App Support"
  103. depends on MEDIA_PLAYER && BT_BR_ACTS
  104. select BLUETOOTH
  105. select BT_MANAGER
  106. select BT_HFP_HF
  107. select STREAM
  108. select RINGBUFF_STREAM
  109. select ACTS_RING_BUFFER
  110. select VOICE_EFFECT
  111. select HFP_PLC
  112. select HFP_SPEECH
  113. select HFP_DAE
  114. select DECODER_CVSD
  115. select ENCODER_CVSD
  116. select DECODER_MSBC
  117. select ENCODER_MSBC
  118. default n
  119. help
  120. This option enable or disable bt call app
  121. if BT_CALL_APP
  122. config BT_CALL_FORCE_PLAY_PHONE_NUM
  123. bool
  124. prompt "force play phone number"
  125. depends on BT_CALL_APP
  126. default y
  127. help
  128. This option enable force play phone number
  129. endif # BT_CALL_APP
  130. menuconfig LCMUSIC_APP
  131. bool
  132. prompt "Local Music App Support"
  133. depends on MEDIA_PLAYER
  134. select LOCAL_PLAYER
  135. select BT_TRANSMIT
  136. default n
  137. help
  138. This option enables or disable lcmusic app.
  139. if LCMUSIC_APP
  140. config DISK_MUSIC_APP
  141. bool
  142. prompt "Disk Music App Support"
  143. default n
  144. depends on LCMUSIC_APP
  145. help
  146. This option enables or disable the disk music app.
  147. config FORMAT_CHECK
  148. bool
  149. prompt "Format Check Support"
  150. depends on LCMUSIC_APP
  151. default y
  152. help
  153. This option enables or disable the format check.
  154. config BKG_SCAN_DISK
  155. bool
  156. prompt "Background scan disk support"
  157. default n
  158. depends on LCMUSIC_APP
  159. help
  160. This option enables or disable Background scan disk.
  161. endif # LCMUSIC_APP
  162. config LOCAL_PLAYER
  163. bool
  164. prompt "local music player support"
  165. depends on MEDIA_PLAYER
  166. select ITERATOR
  167. select FILE_ITERATOR
  168. select FS_MANAGER
  169. select MUTIPLE_VOLUME_MANAGER
  170. select FAT_FILESYSTEM_ELM
  171. select STREAM
  172. select RINGBUFF_STREAM
  173. select ACTS_RING_BUFFER
  174. select FILE_SYSTEM
  175. select AL_FORMAT_CHECK
  176. select MUSIC_EFFECT
  177. select MUSIC_DAE_FADE
  178. default n
  179. help
  180. This option enables or disable utils player of local music file.
  181. config BT_TRANSMIT
  182. bool
  183. prompt "bt transmit player support"
  184. depends on BT_BR_ACTS
  185. default n
  186. select BLUETOOTH
  187. select BT_A2DP_TRS
  188. select BT_A2DP_TRS
  189. select BT_AVRCP
  190. select BT_A2DP
  191. select ENCODER_SBC
  192. select ENCODER_SBC_HW_ACCELERATION
  193. help
  194. This option enables or disable bt transmit player
  195. config BT_PLAYER
  196. bool "bt music player support"
  197. depends on MEDIA_PLAYER
  198. depends on BT_BR_ACTS
  199. select BLUETOOTH
  200. select ACTS_BT
  201. select BT_MANAGER
  202. select BT_A2DP
  203. select BT_AVRCP
  204. select BT_AVRCP_GET_ID3
  205. select BT_A2DP_AAC
  206. select STREAM
  207. select RINGBUFF_STREAM
  208. select ACTS_RING_BUFFER
  209. select DECODER_SBC
  210. select DECODER_AAC if BT_A2DP_AAC
  211. select MUSIC_EFFECT
  212. select MUSIC_DAE_FADE
  213. help
  214. This option enables bt music player.
  215. config ALARM_APP
  216. bool
  217. prompt "alarm App Support"
  218. depends on MEDIA_PLAYER
  219. select ALARM_MANAGER
  220. select FS_MANAGER
  221. default n
  222. help
  223. This option enables or disable the alarm app.
  224. config NSM_APP
  225. bool
  226. prompt "NSM test"
  227. depends on MEDIA_PLAYER
  228. depends on BT_MANAGER
  229. default n
  230. help
  231. This option enables the nsm test.
  232. config BT_MP_BTC_FILE_NAME
  233. string "MP BTC FCC file name"
  234. default "/NOR:K/mp_btc.bin"
  235. help
  236. MP BTC FCC file name
  237. config CARD_READER_APP
  238. bool
  239. prompt "CARD READER App Support"
  240. select USB_MASS_STORAGE
  241. select MUTIPLE_VOLUME_MANAGER
  242. select HOTPLUG
  243. select USB_HOTPLUG
  244. default n
  245. help
  246. This option enables or disable the card reader app.
  247. config CHARGER_APP
  248. bool
  249. prompt "Charger App Support"
  250. default n
  251. help
  252. This option enables or disable the Charger app.
  253. config NV_APP
  254. bool
  255. prompt "NV app"
  256. default n
  257. help
  258. This option enables the NV app.
  259. config TUYA_APP
  260. bool
  261. prompt "TUYA app"
  262. default n
  263. help
  264. This option enables the TUYA app.
  265. config AP_USER_COMM
  266. bool
  267. prompt "ap_develop"
  268. default n
  269. depends on BT_MUSIC_APP
  270. help
  271. This option enables the app develop.
  272. config BT_VENDOR
  273. bool
  274. prompt "bt vendor service support"
  275. select FILE_STREAM
  276. default n
  277. help
  278. This option enables or disable bt vendor service
  279. menuconfig TOOL
  280. bool "PC Tool Support"
  281. depends on UART_CONSOLE
  282. default n
  283. help
  284. This option enables the PC TOOL
  285. if TOOL
  286. config TOOL_STACK_SIZE
  287. int "PC Tool thread stack size"
  288. depends on TOOL
  289. default 1536
  290. help
  291. This option configure PC Tool thread stack
  292. config TOOL_ASET
  293. bool "PC TOOL ASET Support"
  294. depends on TOOL && MEDIA
  295. default y
  296. help
  297. This option enables the PC TOOL ASET
  298. config TOOL_ASQT
  299. bool "PC TOOL ASQT Support"
  300. depends on TOOL && MEDIA
  301. default n
  302. select STREAM
  303. select ZERO_STREAM
  304. help
  305. This option enables the PC TOOL ASQT
  306. config TOOL_ECTT
  307. bool "PC TOOL ECTT Support"
  308. depends on TOOL && MEDIA
  309. default n
  310. help
  311. This option enables the PC TOOL ECTT
  312. config SPP_TEST_SUPPORT
  313. bool
  314. prompt "sdk test support through SPP"
  315. depends on TOOL && BT_MANAGER && MEDIA && BT_SPP
  316. select STREAM
  317. select BT_SPPBLE_STREAM
  318. default y
  319. help
  320. This option enable spp test.
  321. endif # TOOL
  322. menuconfig OTA_APP
  323. bool
  324. prompt "OTA App Support"
  325. select OTA_UPGRADE
  326. select STREAM
  327. default n
  328. help
  329. This option enable or disable ota app
  330. config OTA_FOREGROUND
  331. bool "OTA Foreground Support"
  332. depends on OTA_APP
  333. default n
  334. help
  335. This option enable OTA foreground upgrade.
  336. config OTA_BACKGROUND
  337. bool "OTA background Support"
  338. depends on OTA_APP
  339. default n
  340. help
  341. This option enable OTA background upgrade.
  342. config SYSTEM_RECOVERY_APP_SUPPORT
  343. bool
  344. prompt "System Recovery App Support"
  345. depends on OTA_APP
  346. default n
  347. depends on SYSTEM_RECOVERY
  348. help
  349. This option enable or disable system recovery app
  350. config OTA_UPGRADE
  351. bool "OTA Upgrade Support"
  352. default n
  353. select PARTITION
  354. select FIRMWARE_VERSION
  355. help
  356. This option enable OTA upgrade.
  357. if OTA_UPGRADE
  358. config OTA_RECOVERY
  359. bool "OTA recovery firmware Support"
  360. #select MMC
  361. select STREAM
  362. #select MMC_SDCARD
  363. default n
  364. depends on OTA_UPGRADE
  365. help
  366. This option enable OTA recovery firmware.
  367. config OTA_RECOVERY_APP
  368. bool "OTA recovery application Support"
  369. default n
  370. depends on OTA_RECOVERY
  371. help
  372. This option enable OTA recovery application.
  373. config OTA_TEMP_PART_DEV_NAME
  374. string "OTA temp partition device name"
  375. depends on OTA_RECOVERY
  376. default "sd"
  377. help
  378. Specify the device name for temp partition.
  379. config XSPI1_NOR_ACTS_DEV_NAME
  380. string "SPI1 NOR flash device name"
  381. depends on XSPI_NOR_ACTS
  382. default "spi1_nor"
  383. help
  384. Specify the device name for SPI1 NOR flash driver.
  385. config OTA_BACKEND_SDCARD
  386. bool "OTA upgrade by SDCARD Support"
  387. # select MMC
  388. select MUTIPLE_VOLUME_MANAGER
  389. select FILE_STREAM
  390. select STREAM
  391. # select MMC_SDCARD
  392. default n
  393. help
  394. This option enables OTA upgrade by SDCARD.
  395. config OTA_BACKEND_BLUETOOTH
  396. bool "OTA upgrade by Bluetooth Support"
  397. depends on BT_MANAGER
  398. select STREAM
  399. select BT_SPPBLE_STREAM
  400. default n
  401. help
  402. This option enables OTA upgrade by Bluetooth SPP/BLE.
  403. config OTA_BACKEND_TEMP_PART
  404. bool "OTA upgrade by spinor Support"
  405. select FLASH
  406. default n
  407. help
  408. This option enables OTA upgrade by spinor.
  409. config OTA_FILE_PATCH
  410. bool "OTA file patch Support"
  411. depends on !OTA_RECOVERY
  412. default n
  413. help
  414. This option enables OTA file patch.
  415. config OTA_STORAGE_FS
  416. bool "OTA upgrade by SDCARD Support"
  417. select MUTIPLE_VOLUME_MANAGER
  418. select FILE_STREAM
  419. default n
  420. help
  421. This option enables OTA upgrade by SDCARD.
  422. config OTA_MUTIPLE_STORAGE
  423. bool "OTA upgrade Support multiple storage"
  424. depends on OTA_RECOVERY
  425. default n
  426. help
  427. This option enables OTA upgrade by multiple storage.
  428. config OTA_RES_PATCH
  429. bool "OTA res patch Support"
  430. default n
  431. help
  432. This option enables OTA res patch.
  433. endif
  434. config BT_LOG_SERVICE
  435. bool "BT Log Service"
  436. depends on ACTLOG
  437. select ACTLOG_OUTPUT_USER
  438. select BT_MANAGER
  439. select THREAD_TIMER
  440. help
  441. Enable BT log service.
  442. if BT_LOG_SERVICE
  443. config BT_LOG_SERVICE_STACK_SIZE
  444. int "BT Log Service Stack Size"
  445. default 2048
  446. help
  447. Set BT log service stack size.
  448. config BT_LOG_SERVICE_PRIORITY
  449. int "BT Log Service Thread Priority"
  450. default 11
  451. help
  452. Set BT log service thread priority.
  453. endif # BT_LOG_SERVICE
  454. menuconfig ACTIONS_ATT
  455. bool
  456. prompt "ACTIONS auto test"
  457. default n
  458. help
  459. This option ACTIONS auto test
  460. if ACTIONS_ATT
  461. config ATT_SUPPORT_MULTIPLE_DEVICES
  462. bool
  463. prompt "ACTIONS ATT SUPPORT MULTIPLE DEVICES"
  464. depends on ACTIONS_ATT
  465. default n
  466. help
  467. This option whether ACTIONS auto test supports multiple devices
  468. config ATT_ACTIVE_CONNECTION
  469. bool
  470. prompt "ACTIONS auto test active connection"
  471. depends on ACTIONS_ATT
  472. default n
  473. help
  474. This option ACTIONS auto test active connection
  475. config ATT_CYCLIC_TEST
  476. bool
  477. prompt "ACTIONS auto cyclic test"
  478. depends on ACTIONS_ATT
  479. default n
  480. help
  481. This option ACTIONS auto cyclic test
  482. endif # ACTIONS_ATT
  483. config MONKEY_TEST
  484. bool
  485. prompt "support monkey test"
  486. default n
  487. help
  488. This option enable monkey test
  489. config DEEP_SUSPEND
  490. bool
  491. prompt "support deep suspend"
  492. default n
  493. help
  494. This option support deep suspend
  495. config VIDEO_APP
  496. bool
  497. prompt "support video app"
  498. default n
  499. help
  500. This option support video app
  501. config VIDEO_APP_AUDIO_ENABLE
  502. bool
  503. prompt "enable video audio"
  504. default y
  505. help
  506. This option enable video audio
  507. config CAT1_APP
  508. bool
  509. prompt "support App Support"
  510. default n
  511. select USING_AICXTEK_LIB
  512. help
  513. This option enables or disable CAT1 app.
  514. config THIRD_PARTY_APP
  515. bool
  516. prompt "support third party App"
  517. default n
  518. help
  519. This option enables or disable third party app.
  520. rsource "application/Kconfig"
  521. config AUDIO_APP
  522. bool
  523. prompt "support audio app"
  524. default y
  525. help
  526. This option support audio app