summaryrefslogtreecommitdiffstats
path: root/Drivers/CMSIS/DSP/Source/FastMathFunctions/CMakeLists.txt
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2025-02-02 11:26:53 -0500
committerClyne Sullivan <clyne@bitgloo.com>2025-02-02 11:26:53 -0500
commit9c59a184dba820975e5da6fcd5d248aee87f7e2f (patch)
tree6b30516adc2ba0f7b0a8f5fb5d2e6966c03108d8 /Drivers/CMSIS/DSP/Source/FastMathFunctions/CMakeLists.txt
parentd09f4289b5788d6a8b34e424841292e2b8529e56 (diff)
add l476 implementationl476
Diffstat (limited to 'Drivers/CMSIS/DSP/Source/FastMathFunctions/CMakeLists.txt')
-rw-r--r--Drivers/CMSIS/DSP/Source/FastMathFunctions/CMakeLists.txt131
1 files changed, 51 insertions, 80 deletions
diff --git a/Drivers/CMSIS/DSP/Source/FastMathFunctions/CMakeLists.txt b/Drivers/CMSIS/DSP/Source/FastMathFunctions/CMakeLists.txt
index 95a9eb6..c42a05b 100644
--- a/Drivers/CMSIS/DSP/Source/FastMathFunctions/CMakeLists.txt
+++ b/Drivers/CMSIS/DSP/Source/FastMathFunctions/CMakeLists.txt
@@ -1,80 +1,51 @@
-cmake_minimum_required (VERSION 3.14)
-
-project(CMSISDSPFastMath)
-
-include(configLib)
-include(configDsp)
-
-
-add_library(CMSISDSPFastMath STATIC)
-configLib(CMSISDSPFastMath ${ROOT})
-configDsp(CMSISDSPFastMath ${ROOT})
-
-include(interpol)
-interpol(CMSISDSPFastMath)
-
-if (CONFIGTABLE AND ALLFAST)
- target_compile_definitions(CMSISDSPFastMath PUBLIC ARM_ALL_FAST_TABLES)
-endif()
-
-if (NOT CONFIGTABLE OR ALLFAST OR ARM_COS_F32)
-target_sources(CMSISDSPFastMath PRIVATE arm_cos_f32.c)
-endif()
-
-if (NOT CONFIGTABLE OR ALLFAST OR ARM_COS_Q15)
-target_sources(CMSISDSPFastMath PRIVATE arm_cos_q15.c)
-endif()
-
-if (NOT CONFIGTABLE OR ALLFAST OR ARM_COS_Q31)
-target_sources(CMSISDSPFastMath PRIVATE arm_cos_q31.c)
-endif()
-
-if (NOT CONFIGTABLE OR ALLFAST OR ARM_SIN_F32)
-target_sources(CMSISDSPFastMath PRIVATE arm_sin_f32.c)
-endif()
-
-if (NOT CONFIGTABLE OR ALLFAST OR ARM_SIN_Q15)
-target_sources(CMSISDSPFastMath PRIVATE arm_sin_q15.c)
-endif()
-
-if (NOT CONFIGTABLE OR ALLFAST OR ARM_SIN_Q31)
-target_sources(CMSISDSPFastMath PRIVATE arm_sin_q31.c)
-endif()
-
-if (NOT CONFIGTABLE OR ALLFAST OR ARM_SQRT_Q31)
-target_sources(CMSISDSPFastMath PRIVATE arm_sqrt_q31.c)
-endif()
-
-if (NOT CONFIGTABLE OR ALLFAST OR ARM_SQRT_Q15)
-target_sources(CMSISDSPFastMath PRIVATE arm_sqrt_q15.c)
-endif()
-
-target_sources(CMSISDSPFastMath PRIVATE arm_vlog_f32.c)
-target_sources(CMSISDSPFastMath PRIVATE arm_vlog_f64.c)
-target_sources(CMSISDSPFastMath PRIVATE arm_vexp_f32.c)
-target_sources(CMSISDSPFastMath PRIVATE arm_vexp_f64.c)
-
-target_sources(CMSISDSPFastMath PRIVATE arm_vlog_q31.c)
-target_sources(CMSISDSPFastMath PRIVATE arm_vlog_q15.c)
-
-
-if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
-target_sources(CMSISDSPFastMath PRIVATE arm_vlog_f16.c)
-target_sources(CMSISDSPFastMath PRIVATE arm_vexp_f16.c)
-target_sources(CMSISDSPFastMath PRIVATE arm_vinverse_f16.c)
-target_sources(CMSISDSPFastMath PRIVATE arm_atan2_f16.c)
-endif()
-
-target_sources(CMSISDSPFastMath PRIVATE arm_divide_q15.c)
-target_sources(CMSISDSPFastMath PRIVATE arm_divide_q31.c)
-
-target_sources(CMSISDSPFastMath PRIVATE arm_atan2_f32.c)
-target_sources(CMSISDSPFastMath PRIVATE arm_atan2_q31.c)
-target_sources(CMSISDSPFastMath PRIVATE arm_atan2_q15.c)
-
-
-### Includes
-target_include_directories(CMSISDSPFastMath PUBLIC "${DSP}/Include")
-
-
-
+cmake_minimum_required (VERSION 3.6)
+
+project(CMSISDSPFastMath)
+
+
+file(GLOB SRC "./*_*.c")
+
+add_library(CMSISDSPFastMath STATIC)
+
+include(interpol)
+interpol(CMSISDSPFastMath)
+
+if (CONFIGTABLE AND ALLFAST)
+ target_compile_definitions(CMSISDSPFastMath PUBLIC ARM_ALL_FAST_TABLES)
+endif()
+
+if (NOT CONFIGTABLE OR ALLFAST OR ARM_COS_F32)
+target_sources(CMSISDSPFastMath PRIVATE arm_cos_f32.c)
+endif()
+
+if (NOT CONFIGTABLE OR ALLFAST OR ARM_COS_Q15)
+target_sources(CMSISDSPFastMath PRIVATE arm_cos_q15.c)
+endif()
+
+if (NOT CONFIGTABLE OR ALLFAST OR ARM_COS_Q31)
+target_sources(CMSISDSPFastMath PRIVATE arm_cos_q31.c)
+endif()
+
+if (NOT CONFIGTABLE OR ALLFAST OR ARM_SIN_F32)
+target_sources(CMSISDSPFastMath PRIVATE arm_sin_f32.c)
+endif()
+
+if (NOT CONFIGTABLE OR ALLFAST OR ARM_SIN_Q15)
+target_sources(CMSISDSPFastMath PRIVATE arm_sin_q15.c)
+endif()
+
+if (NOT CONFIGTABLE OR ALLFAST OR ARM_SIN_Q31)
+target_sources(CMSISDSPFastMath PRIVATE arm_sin_q31.c)
+endif()
+
+target_sources(CMSISDSPFastMath PRIVATE arm_sqrt_q15.c)
+target_sources(CMSISDSPFastMath PRIVATE arm_sqrt_q31.c)
+
+
+configdsp(CMSISDSPFastMath ..)
+
+### Includes
+target_include_directories(CMSISDSPFastMath PUBLIC "${DSP}/../../Include")
+
+
+