1# Copyright (c) 2021 Google LLC 2# SPDX-License-Identifier: Apache-2.0 3 4config ZEPHYR_CHRE_MODULE 5 bool 6 7menuconfig CHRE 8 bool "CHRE Support" 9 help 10 This option enables the CHRE library. 11 12if CHRE 13 14module = CHRE 15module-str = chre 16source "subsys/logging/Kconfig.template.log_config" 17 18config CHRE_MESSAGE_TO_HOST_MAX_SIZE 19 int "Maximum message size to send to the host (bytes)" 20 default 4000 21 help 22 Defines the maximum message size that can be sent to the host. 23 24config CHRE_ASSERTIONS 25 bool "Enable CHRE assertions" 26 help 27 When enabled, CHRE will include various assertions which will trigger 28 calls to chreAbort if resolve to false. 29 30config CHRE_AUDIO_SUPPORT_ENABLED 31 bool "Enable audio support" 32 help 33 When enabled, CHRE will include the code needed to support the audio 34 framework. The framework should be provided via chrePalAudioGetApi() 35 36config CHRE_GNSS_SUPPORT_ENABLED 37 bool "Enable GNSS support" 38 help 39 When enabled, CHRE will include the code needed to support the GNSS 40 framework. The framework should be provided via chrePalGnssGetApi() 41 42config CHRE_SENSORS_SUPPORT_ENABLED 43 bool "Enable sensor support" 44 help 45 When enabled, CHRE will include the code needed to support the sensor 46 framework. The framework should be provided via chrePalSensorGetApi() 47 48config CHRE_WIFI_SUPPORT_ENABLED 49 bool "Enable WiFi support" 50 help 51 When enabled, CHRE will include the code needed to support the WiFi 52 framework. The framework should be provided via chrePalWifiGetApi() 53 54config CHRE_DYNAMIC_MEMORY_SIZE 55 int "The size of the CHRE memory pool" 56 default 4096 57 58config CHRE_TASK_NAME 59 string "The name of the CHRE task" 60 default "CHRE" 61 62config CHRE_TASK_STACK_SIZE 63 int "The size of the CHRE task stack" 64 default 2048 65 66config CHRE_TASK_PRIORITY 67 int "The priority of the CHRE task" 68 default 5 69 70endif # CHRE 71