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