From 2b4e742f021a37fffcc5e557c4456c0a4ea77483 Mon Sep 17 00:00:00 2001 From: Joshua Yun Date: Thu, 13 Mar 2025 23:16:14 -0500 Subject: fix: software was accidentally a submodule --- .../DSP/Source/ControllerFunctions/CMakeLists.txt | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Software/Drivers/CMSIS/DSP/Source/ControllerFunctions/CMakeLists.txt (limited to 'Software/Drivers/CMSIS/DSP/Source/ControllerFunctions/CMakeLists.txt') diff --git a/Software/Drivers/CMSIS/DSP/Source/ControllerFunctions/CMakeLists.txt b/Software/Drivers/CMSIS/DSP/Source/ControllerFunctions/CMakeLists.txt new file mode 100644 index 0000000..93014b7 --- /dev/null +++ b/Software/Drivers/CMSIS/DSP/Source/ControllerFunctions/CMakeLists.txt @@ -0,0 +1,37 @@ +cmake_minimum_required (VERSION 3.6) + +project(CMSISDSPController) + +add_library(CMSISDSPController STATIC) + +configdsp(CMSISDSPController ..) + +include(interpol) +interpol(CMSISDSPController) + +if (CONFIGTABLE AND ALLFAST) + target_compile_definitions(CMSISDSPController PUBLIC ARM_ALL_FAST_TABLES) +endif() + +target_sources(CMSISDSPController PRIVATE arm_pid_init_f32.c) +target_sources(CMSISDSPController PRIVATE arm_pid_init_q15.c) +target_sources(CMSISDSPController PRIVATE arm_pid_init_q31.c) +target_sources(CMSISDSPController PRIVATE arm_pid_reset_f32.c) +target_sources(CMSISDSPController PRIVATE arm_pid_reset_q15.c) +target_sources(CMSISDSPController PRIVATE arm_pid_reset_q31.c) + +if (NOT CONFIGTABLE OR ALLFAST OR ARM_SIN_COS_F32) +target_sources(CMSISDSPController PRIVATE arm_sin_cos_f32.c) +endif() + +if (NOT CONFIGTABLE OR ALLFAST OR ARM_SIN_COS_Q31) +target_sources(CMSISDSPController PRIVATE arm_sin_cos_q31.c) +endif() + + + +### Includes +target_include_directories(CMSISDSPController PUBLIC "${DSP}/../../Include") + + + -- cgit v1.2.3