refactor(vd960Loop): 算法回退到 DLD154V4B,四通道适配
- 用 DLD154V4B vd1_task/per_channel 替换 vds_task 复杂算法
- 移除 FUNCTION_B/二次判断/快速变化/多重确认等增强特性
- 保留平坦性离开算法 (CN200910309382),每通道独立状态
- 灵敏度表改为 DLD154V4B 4级: {216,108,36,10} / {108,72,18,9}
- 清理废弃类型: FltHistoryManager, Loop_ACS_Info, StageRangeConfig 等
- 首次添加 vd960DBN 完整源码
This commit is contained in:
47
vd960Loop/libraries/cmsis/dsp/Source/configDsp.cmake
Normal file
47
vd960Loop/libraries/cmsis/dsp/Source/configDsp.cmake
Normal file
@@ -0,0 +1,47 @@
|
||||
function(configDsp project root)
|
||||
|
||||
if (HOST)
|
||||
target_compile_definitions(${project} PUBLIC __GNUC_PYTHON__)
|
||||
endif()
|
||||
|
||||
if (CONFIGTABLE)
|
||||
# Public because initialization for FFT may be defined in client code
|
||||
# and needs access to the table.
|
||||
target_compile_definitions(${project} PUBLIC ARM_DSP_CONFIG_TABLES)
|
||||
endif()
|
||||
|
||||
if (LOOPUNROLL)
|
||||
target_compile_definitions(${project} PRIVATE ARM_MATH_LOOPUNROLL)
|
||||
endif()
|
||||
|
||||
if (ROUNDING)
|
||||
target_compile_definitions(${project} PRIVATE ARM_MATH_ROUNDING)
|
||||
endif()
|
||||
|
||||
if (MATRIXCHECK)
|
||||
target_compile_definitions(${project} PRIVATE ARM_MATH_MATRIX_CHECK)
|
||||
endif()
|
||||
|
||||
if (AUTOVECTORIZE)
|
||||
target_compile_definitions(${project} PRIVATE ARM_MATH_AUTOVECTORIZE)
|
||||
endif()
|
||||
|
||||
if (NEON OR NEONEXPERIMENTAL)
|
||||
# Used in arm_vec_math.h
|
||||
target_include_directories(${project} PUBLIC "${root}/CMSIS/DSP/ComputeLibrary/Include")
|
||||
endif()
|
||||
|
||||
if (MVEFLOAT16)
|
||||
target_compile_definitions(${project} PRIVATE ARM_MATH_MVE_FLOAT16)
|
||||
endif()
|
||||
|
||||
if (HELIUM OR MVEF OR SUPPORT)
|
||||
target_include_directories(${project} PRIVATE "${root}/CMSIS/DSP/PrivateInclude")
|
||||
endif()
|
||||
|
||||
if (DISABLEFLOAT16)
|
||||
target_compile_definitions(${project} PRIVATE DISABLEFLOAT16)
|
||||
endif()
|
||||
|
||||
|
||||
endfunction()
|
||||
Reference in New Issue
Block a user