diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2025-02-02 11:26:53 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2025-02-02 11:26:53 -0500 |
commit | 9c59a184dba820975e5da6fcd5d248aee87f7e2f (patch) | |
tree | 6b30516adc2ba0f7b0a8f5fb5d2e6966c03108d8 /Drivers/CMSIS/DSP/Source/CommonTables/CMakeLists.txt | |
parent | d09f4289b5788d6a8b34e424841292e2b8529e56 (diff) |
add l476 implementationl476
Diffstat (limited to 'Drivers/CMSIS/DSP/Source/CommonTables/CMakeLists.txt')
-rw-r--r-- | Drivers/CMSIS/DSP/Source/CommonTables/CMakeLists.txt | 83 |
1 files changed, 31 insertions, 52 deletions
diff --git a/Drivers/CMSIS/DSP/Source/CommonTables/CMakeLists.txt b/Drivers/CMSIS/DSP/Source/CommonTables/CMakeLists.txt index b6e0ed4..130b4a0 100644 --- a/Drivers/CMSIS/DSP/Source/CommonTables/CMakeLists.txt +++ b/Drivers/CMSIS/DSP/Source/CommonTables/CMakeLists.txt @@ -1,52 +1,31 @@ -cmake_minimum_required (VERSION 3.14) - -project(CMSISDSPCommon) - -include(configLib) -include(configDsp) - -add_library(CMSISDSPCommon STATIC arm_common_tables.c arm_common_tables_f16.c) - -configLib(CMSISDSPCommon ${ROOT}) -configDsp(CMSISDSPCommon ${ROOT}) - -if (CONFIGTABLE AND ALLFFT) - target_compile_definitions(CMSISDSPCommon PUBLIC ARM_ALL_FFT_TABLES) -endif() - -if (CONFIGTABLE AND ALLFAST) - target_compile_definitions(CMSISDSPCommon PUBLIC ARM_ALL_FAST_TABLES) -endif() - -include(fft) -fft(CMSISDSPCommon) - -include(interpol) -interpol(CMSISDSPCommon) - -target_sources(CMSISDSPCommon PRIVATE arm_const_structs.c) -target_sources(CMSISDSPCommon PRIVATE arm_const_structs_f16.c) - - -### Includes -target_include_directories(CMSISDSPCommon PUBLIC "${DSP}/Include") - -if (NEON OR NEONEXPERIMENTAL) - target_sources(CMSISDSPCommon PRIVATE "${DSP}/ComputeLibrary/Source/arm_cl_tables.c") -endif() - -if (HELIUM OR MVEF) - target_sources(CMSISDSPCommon PRIVATE "${DSP}/Source/CommonTables/arm_mve_tables.c") - target_sources(CMSISDSPCommon PRIVATE "${DSP}/Source/CommonTables/arm_mve_tables_f16.c") -endif() - - -if (WRAPPER) - target_compile_definitions(CMSISDSPCommon PUBLIC ARM_TABLE_BITREV_1024) - target_compile_definitions(CMSISDSPCommon PUBLIC ARM_TABLE_TWIDDLECOEF_F32_4096) - target_compile_definitions(CMSISDSPCommon PUBLIC ARM_TABLE_TWIDDLECOEF_Q31_4096) - target_compile_definitions(CMSISDSPCommon PUBLIC ARM_TABLE_TWIDDLECOEF_Q15_4096) - if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16)) - target_compile_definitions(CMSISDSPCommon PUBLIC ARM_TABLE_TWIDDLECOEF_F16_4096) - endif() -endif()
\ No newline at end of file +cmake_minimum_required (VERSION 3.6)
+
+project(CMSISDSPCommon)
+
+
+
+add_library(CMSISDSPCommon STATIC arm_common_tables.c)
+
+if (CONFIGTABLE AND ALLFFT)
+ target_compile_definitions(CMSISDSPCommon PUBLIC ARM_ALL_FFT_TABLES)
+endif()
+
+if (CONFIGTABLE AND ALLFAST)
+ target_compile_definitions(CMSISDSPCommon PUBLIC ARM_ALL_FAST_TABLES)
+endif()
+
+include(fft)
+fft(CMSISDSPCommon)
+
+include(interpol)
+interpol(CMSISDSPCommon)
+
+target_sources(CMSISDSPCommon PRIVATE arm_const_structs.c)
+
+configdsp(CMSISDSPCommon ..)
+
+### Includes
+target_include_directories(CMSISDSPCommon PUBLIC "${DSP}/../../Include")
+
+
+
|