# # Copyright (c) 2018 Nordic Semiconductor # # SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic # cmake_minimum_required(VERSION 3.8.2) include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE) project(NONE) target_sources(app PRIVATE src/main.c) include_directories(src/Include) include_directories(src/Periph) target_sources(app PRIVATE src/Periph/FFT.c) target_sources(app PRIVATE src/Periph/CompressionNordic.c) target_sources(app PRIVATE src/Source/TransformFunctions/arm_rfft_f32.c) target_sources(app PRIVATE src/Source/TransformFunctions/arm_cfft_f32.c) target_sources(app PRIVATE src/Source/TransformFunctions/arm_cfft_radix8_f32.c) target_sources(app PRIVATE src/Source/TransformFunctions/arm_bitreversal2.c) target_sources(app PRIVATE src/Source/CommonTables/arm_common_tables.c) target_sources(app PRIVATE src/Source/CommonTables/arm_const_structs.c) target_sources(app PRIVATE src/Source/ComplexMathFunctions/arm_cmplx_mag_f32.c) target_sources(app PRIVATE src/Source/StatisticsFunctions/arm_max_f32.c) target_sources(app PRIVATE src/Source/TransformFunctions/arm_rfft_fast_f32.c) target_sources(app PRIVATE src/Source/TransformFunctions/arm_rfft_fast_init_f32.c) target_sources(app PRIVATE src/Source/BasicMathFunctions/arm_mult_f32.c) target_sources(app PRIVATE src/Source/ComplexMathFunctions/arm_cmplx_mult_real_f32.c) target_sources(app PRIVATE src/Source/FastMathFunctions/arm_cos_f32.c) target_sources(app PRIVATE src/Source/SupportFunctions/arm_fill_f32.c) target_sources(app PRIVATE src/Source/SupportFunctions/arm_copy_f32.c) target_sources(app PRIVATE src/Source/BasicMathFunctions/arm_add_f32.c) target_sources(app PRIVATE src/Source/StatisticsFunctions/arm_min_f32.c) target_sources(app PRIVATE src/Source/StatisticsFunctions/arm_mean_f32.c) target_sources(app PRIVATE src/Source/BasicMathFunctions/arm_offset_f32.c) target_sources(app PRIVATE src/Source/StatisticsFunctions/arm_std_f32.c) target_sources(app PRIVATE src/Source/TransformFunctions/arm_rfft_init_f32.c) target_sources(app PRIVATE src/Source/TransformFunctions/arm_dct4_init_f32.c) target_sources(app PRIVATE src/Source/TransformFunctions/arm_dct4_f32.c) target_sources(app PRIVATE src/Source/TransformFunctions/arm_cfft_radix4_init_f32.c) target_sources(app PRIVATE src/Source/BasicMathFunctions/arm_scale_f32.c) target_sources(app PRIVATE src/Source/ComplexMathFunctions/arm_cmplx_mult_cmplx_f32.c) target_sources(app PRIVATE src/Source/TransformFunctions/arm_cfft_radix4_f32.c) target_sources(app PRIVATE src/Source/TransformFunctions/arm_bitreversal.c) #target_sources(app PRIVATE src/arm_fft_bin_data.c) target_compile_definitions(app PRIVATE CONFIG_ADC_ASYNC=1)