• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1function(configDsp project root)
2
3if (CONFIGTABLE)
4    # Public because initialization for FFT may be defined in client code
5    # and needs access to the table.
6    target_compile_definitions(${project} PUBLIC ARM_DSP_CONFIG_TABLES)
7endif()
8
9if (LOOPUNROLL)
10  target_compile_definitions(${project} PRIVATE ARM_MATH_LOOPUNROLL)
11endif()
12
13if (ROUNDING)
14  target_compile_definitions(${project} PRIVATE ARM_MATH_ROUNDING)
15endif()
16
17if (MATRIXCHECK)
18  target_compile_definitions(${project} PRIVATE ARM_MATH_MATRIX_CHECK)
19endif()
20
21if (AUTOVECTORIZE)
22    target_compile_definitions(${project} PRIVATE ARM_MATH_AUTOVECTORIZE)
23endif()
24
25if (NEON OR NEONEXPERIMENTAL)
26    target_include_directories(${project} PRIVATE "${root}/CMSIS/DSP/ComputeLibrary/Include")
27endif()
28
29if (FLOAT16)
30    target_compile_definitions(${project} PRIVATE ARM_MATH_FLOAT16)
31endif()
32
33if (HELIUM OR MVEF OR SUPPORT)
34   target_include_directories(${project} PRIVATE "${root}/CMSIS/DSP/PrivateInclude")
35endif()
36
37endfunction()
38