# Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io>
# SPDX-License-Identifier: Apache-2.0

zephyr_library()

zephyr_library_sources(
  arm_pid_init_f32.c
  arm_pid_init_q15.c
  arm_pid_init_q31.c
  arm_pid_reset_f32.c
  arm_pid_reset_q15.c
  arm_pid_reset_q31.c
  )

zephyr_library_sources_ifdef(CMSIS_DSP_TABLES_ARM_SIN_COS_F32 arm_sin_cos_f32.c)
zephyr_library_sources_ifdef(CMSIS_DSP_TABLES_ARM_SIN_COS_Q31 arm_sin_cos_q31.c)

# Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io>
# SPDX-License-Identifier: Apache-2.0

zephyr_library()

zephyr_library_sources(
  arm_pid_init_f32.c
  arm_pid_init_q15.c
  arm_pid_init_q31.c
  arm_pid_reset_f32.c
  arm_pid_reset_q15.c
  arm_pid_reset_q31.c
  )

zephyr_library_sources_ifdef(CONFIG_CMSIS_DSP_TABLES_ARM_SIN_COS_F32 arm_sin_cos_f32.c)
zephyr_library_sources_ifdef(CONFIG_CMSIS_DSP_TABLES_ARM_SIN_COS_Q31 arm_sin_cos_q31.c)

Fix invalid CMakeList configuration for arm_sin_cos
DSP: Fix invalid CMakeList configuration for arm_sin_cos

Configuration is lacking CONFIG_* to enable compilation of the arm_sin_cos source files.

Signed-off-by: Max van Kessel <9476b80b29947a1ab294d74d1ca02adc9737bd55@msn.com>
