1CONFIG_SOF=y 2CONFIG_BUILD_OUTPUT_BIN=n 3 4# The additional stripped .elf files are deterministic. 5# This adds very few files in the build directory and has 6# absolutely no other effect whatsoever. 7# See on-going discussion in 8# https://github.com/zephyrproject-rtos/zephyr/pull/51954 9# and usage in xtensa-build-zephyr.py 10CONFIG_BUILD_OUTPUT_STRIPPED=y 11 12CONFIG_HAVE_AGENT=n 13 14CONFIG_LOG=y 15CONFIG_LOG_PRINTK=y 16# Log processing is offloaded to a low-priority thread. 17CONFIG_LOG_MODE_DEFERRED=y 18# Wake the low-priority log thread every 100ms and/or 19# if more than 5 messages are queued by the frontend. 20CONFIG_LOG_PROCESS_TRIGGER_THRESHOLD=5 21CONFIG_LOG_PROCESS_THREAD_SLEEP_MS=100 22# Frontend buffer must be large enough to cover all 23# typical bursts of log messages. 24CONFIG_LOG_BUFFER_SIZE=4096 25# Use stack that is sufficient for SOF backends 26CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=4096 27 28# Requires heap_info() be implemented, but no Zephyr wrapper 29CONFIG_DEBUG_MEMORY_USAGE_SCAN=n 30 31# Ensure -O2 (or similar) is used for optimization 32CONFIG_SPEED_OPTIMIZATIONS=y 33 34# Zephyr top-level default of -fno-strict-overflow is 35# not a good fit for audio DSP code 36CONFIG_COMPILER_OPT="-fstrict-overflow" 37 38CONFIG_SCHED_DEADLINE=y 39CONFIG_SCHED_CPU_MASK=y 40CONFIG_SMP_BOOT_DELAY=y 41 42# SOF code assumes system work queue and other system 43# wide threads are pinned to a single core. 44# CPU_MASK_PIN_ONLY must be set for all SOF builds. 45CONFIG_SCHED_CPU_MASK_PIN_ONLY=y 46 47# Fix the sys ticks value until following bugs are solved: 48# - https://github.com/zephyrproject-rtos/zephyr/issues/46378 49CONFIG_SYS_CLOCK_TICKS_PER_SEC=15000 50CONFIG_DAI=y 51CONFIG_HEAP_MEM_POOL_SIZE=2048 52