Skip to content

Add CMSIS DSP support as built-in library #685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 37 additions & 37 deletions boards.txt

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions libraries/CMSIS_DSP/keywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#######################################
# Syntax Coloring Map For CMSIS_DSP
#######################################

#######################################
# Datatypes (KEYWORD1)
#######################################

#######################################
# Methods and Functions (KEYWORD2)
#######################################

#######################################
# Constants (LITERAL1)
#######################################
9 changes: 9 additions & 0 deletions libraries/CMSIS_DSP/library.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name=CMSIS DSP
version=1.0.0
author=Frederic Pillon
maintainer=stm32duino
sentence=Add CMSIS DSP software library, a suite of common signal processing functions for use on Cortex-M processor based devices.
paragraph=The library is divided into a number of functions each covering a specific category: Basic math functions, Fast math functions, Complex math functions, Filters, Matrix functions, Transform functions, Motor control functions, Statistical functions, Support functions, Interpolation functions. The library has separate functions for operating on 8-bit integers, 16-bit integers, 32-bit integer and 32-bit floating-point value.
category=Other
url=https://arm-software.github.io/CMSIS_5/DSP/html/index.html
architectures=stm32
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "../Source/BasicMathFunctions/BasicMathFunctions.c"
6 changes: 6 additions & 0 deletions libraries/CMSIS_DSP/src/CMSIS_DSP.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#ifndef __CMSIS_DSP_H__
#define __CMSIS_DSP_H__

#include "arm_math.h"

#endif /* __CMSIS_DSP_H__ */
1 change: 1 addition & 0 deletions libraries/CMSIS_DSP/src/CommonTables/CommonTables.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "../Source/CommonTables/CommonTables.c"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "../Source/ComplexMathFunctions/ComplexMathFunctions.c"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "../Source/ControllerFunctions/ControllerFunctions.c"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "../Source/FastMathFunctions/FastMathFunctions.c"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "../Source/FilteringFunctions/FilteringFunctions.c"
1 change: 1 addition & 0 deletions libraries/CMSIS_DSP/src/MatrixFunctions/MatrixFunctions.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "../Source/MatrixFunctions/MatrixFunctions.c"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "../Source/StatisticsFunctions/StatisticsFunctions.c"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "../Source/SupportFunctions/SupportFunctions.c"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "../Source/TransformFunctions/TransformFunctions.c"
2 changes: 1 addition & 1 deletion platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ compiler.ar.extra_flags=
compiler.elf2bin.extra_flags=
compiler.elf2hex.extra_flags=

compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-5.5.1.path}/CMSIS/Core/Include/" "-I{build.system.path}/Drivers/CMSIS/Device/ST/{build.series}/Include/" "-I{build.system.path}/Drivers/CMSIS/Device/ST/{build.series}/Source/Templates/gcc/"
compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-5.5.1.path}/CMSIS/Core/Include/" "-I{build.system.path}/Drivers/CMSIS/Device/ST/{build.series}/Include/" "-I{build.system.path}/Drivers/CMSIS/Device/ST/{build.series}/Source/Templates/gcc/" "-I{runtime.tools.CMSIS-5.5.1.path}/CMSIS/DSP/Include"
compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-5.5.1.path}/CMSIS/DSP/Lib/GCC/" -l{build.cmsis_lib_gcc}

# USB Flags
Expand Down