zephyr/tests/arch/xtensa/save_restore_hifi/CMakeLists.txt
Peter Mitsis a07e7c65da tests: Add test to verify HiFi save/restore
Adds a test to verify the saving and restoration of the HiFi
AudioEngine registers. Twice as many threads as there are CPUs
are created and each thread sets its HiFi registers with a
unique set of values. If after a context switch, the HiFi AE
registers contain any unexpected data, we then know that the
registers were either not saved or restored properly.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
2024-03-05 10:57:33 +01:00

11 lines
269 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(save_restore_hifi)
enable_language(C ASM)
FILE(GLOB app_sources src/*.c)
target_sources(app PRIVATE ${app_sources} src/hifi.S)