2abb2389a1
Migrate some of the unit tests at `lib/cmsis_dsp` to the new ztest API: * lib/cmsis_dsp/basicmath * lib/cmsis_dsp/bayes * lib/cmsis_dsp/complexmath * lib/cmsis_dsp/distance * lib/cmsis_dsp/fastmath `lib/cmsis_dsp/common/test_common.h` has been adapted to use the new ztest API for the test variant macros, when enabled. Signed-off-by: Tristan Honscheid <honscheid@google.com>
14 lines
301 B
CMake
14 lines
301 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(cmsis_dsp_complexmath)
|
|
|
|
target_sources(app PRIVATE
|
|
src/q15.c
|
|
src/q31.c
|
|
src/f32.c
|
|
)
|
|
|
|
target_sources_ifdef(CONFIG_CMSIS_DSP_FLOAT16 app PRIVATE src/f16.c)
|