diff --git a/Source/configDsp.cmake b/Source/configDsp.cmake index e8284f55..1c047076 100644 --- a/Source/configDsp.cmake +++ b/Source/configDsp.cmake @@ -47,6 +47,12 @@ if (HELIUM OR MVEF OR SUPPORT) target_include_directories(${project} PRIVATE "${DSP}/PrivateInclude") endif() +if (MVEI OR MVEF OR HELIUM) + # By default, GCC does not enable implicit conversion between vectors of different numbers or types of elements + # which is required by some code in CMSIS-DSP + target_compile_options(${project} PRIVATE $<$:-flax-vector-conversions>) +endif() + if (DISABLEFLOAT16) target_compile_definitions(${project} PRIVATE DISABLEFLOAT16) endif()