Commit 542b2296 authored by Stephanos Ioannidis's avatar Stephanos Ioannidis Committed by Carles Cufí
Browse files

DSP: Integrate CMSIS-DSP 1.8.0 (CMSIS 5.7.0)



This commit integrates the newly added CMSIS-DSP 1.8.0 (part of CMSIS
5.7.0 release) component to the Zephyr build system.

Note that the CMake files added in this commit were re-implemented
specifically for Zephyr, and they are therefore different from the
upstream version.

Signed-off-by: default avatarStephanos Ioannidis <root@stephanos.io>
parent a12a8ee7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3,3 +3,5 @@
add_subdirectory_ifdef(CONFIG_HAS_CMSIS_CORE_M Core)
add_subdirectory_ifdef(CONFIG_HAS_CMSIS_CORE_A Core_A)
add_subdirectory_ifdef(CONFIG_HAS_CMSIS_CORE_R Core_R)

add_subdirectory_ifdef(CONFIG_CMSIS_DSP        DSP)
+10 −0
Original line number Diff line number Diff line
# Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io>
# SPDX-License-Identifier: Apache-2.0

zephyr_include_directories(Include)

if(CONFIG_CMSIS_DSP_HELIUM OR CONFIG_CMSIS_DSP_MVEF OR CONFIG_CMSIS_DSP_SUPPORT)
  include_directories(PrivateInclude)
endif()

add_subdirectory(Source)
+54 −0
Original line number Diff line number Diff line
# Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io>
# SPDX-License-Identifier: Apache-2.0

zephyr_library()

zephyr_library_sources(
  arm_abs_f32.c
  arm_abs_q7.c
  arm_abs_q15.c
  arm_abs_q31.c
  arm_add_f32.c
  arm_add_q7.c
  arm_add_q15.c
  arm_add_q31.c
  arm_and_u8.c
  arm_and_u16.c
  arm_and_u32.c
  arm_dot_prod_f32.c
  arm_dot_prod_q7.c
  arm_dot_prod_q15.c
  arm_dot_prod_q31.c
  arm_mult_f32.c
  arm_mult_q7.c
  arm_mult_q15.c
  arm_mult_q31.c
  arm_negate_f32.c
  arm_negate_q7.c
  arm_negate_q15.c
  arm_negate_q31.c
  arm_not_u8.c
  arm_not_u16.c
  arm_not_u32.c
  arm_offset_f32.c
  arm_offset_q7.c
  arm_offset_q15.c
  arm_offset_q31.c
  arm_or_u8.c
  arm_or_u16.c
  arm_or_u32.c
  arm_scale_f32.c
  arm_scale_q7.c
  arm_scale_q15.c
  arm_scale_q31.c
  arm_shift_q7.c
  arm_shift_q15.c
  arm_shift_q31.c
  arm_sub_f32.c
  arm_sub_q7.c
  arm_sub_q15.c
  arm_sub_q31.c
  arm_xor_u8.c
  arm_xor_u16.c
  arm_xor_u32.c
  )
+8 −0
Original line number Diff line number Diff line
# Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io>
# SPDX-License-Identifier: Apache-2.0

zephyr_library()

zephyr_library_sources(
  arm_gaussian_naive_bayes_predict_f32.c
  )
+310 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading