Skip to content

Commit dc51f12

Browse files
authored
Merge pull request #685 from fpistm/CMSIS_DSP
Add CMSIS DSP support as built-in library
2 parents 9a05e32 + 9e8c414 commit dc51f12

File tree

15 files changed

+78
-38
lines changed

15 files changed

+78
-38
lines changed

boards.txt

+37-37
Large diffs are not rendered by default.

libraries/CMSIS_DSP/keywords.txt

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#######################################
2+
# Syntax Coloring Map For CMSIS_DSP
3+
#######################################
4+
5+
#######################################
6+
# Datatypes (KEYWORD1)
7+
#######################################
8+
9+
#######################################
10+
# Methods and Functions (KEYWORD2)
11+
#######################################
12+
13+
#######################################
14+
# Constants (LITERAL1)
15+
#######################################
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name=CMSIS DSP
2+
version=1.0.0
3+
author=Frederic Pillon
4+
maintainer=stm32duino
5+
sentence=Add CMSIS DSP software library, a suite of common signal processing functions for use on Cortex-M processor based devices.
6+
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.
7+
category=Other
8+
url=https://arm-software.github.io/CMSIS_5/DSP/html/index.html
9+
architectures=stm32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "../Source/BasicMathFunctions/BasicMathFunctions.c"

libraries/CMSIS_DSP/src/CMSIS_DSP.h

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#ifndef __CMSIS_DSP_H__
2+
#define __CMSIS_DSP_H__
3+
4+
#include "arm_math.h"
5+
6+
#endif /* __CMSIS_DSP_H__ */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "../Source/CommonTables/CommonTables.c"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "../Source/ComplexMathFunctions/ComplexMathFunctions.c"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "../Source/ControllerFunctions/ControllerFunctions.c"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "../Source/FastMathFunctions/FastMathFunctions.c"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "../Source/FilteringFunctions/FilteringFunctions.c"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "../Source/MatrixFunctions/MatrixFunctions.c"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "../Source/StatisticsFunctions/StatisticsFunctions.c"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "../Source/SupportFunctions/SupportFunctions.c"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "../Source/TransformFunctions/TransformFunctions.c"

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ compiler.ar.extra_flags=
6363
compiler.elf2bin.extra_flags=
6464
compiler.elf2hex.extra_flags=
6565

66-
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/"
66+
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"
6767
compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-5.5.1.path}/CMSIS/DSP/Lib/GCC/" -l{build.cmsis_lib_gcc}
6868

6969
# USB Flags

0 commit comments

Comments
 (0)