Skip to content

Commit 24c8ab2

Browse files
authored
FIR filter example (electro-smith#178)
* Added FIR filter example * add ARM CMSIS DSP support * code style, comments * Added FIR filter example * FIR filter unit test and benchmark for Daisy and PC * submodules * merge submodule updates * submodule commit id's once again
1 parent f3a2e7a commit 24c8ab2

20 files changed

+105870
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,7 @@ cube/Daisy_Seed_Rev3/
124124
/**/VisualGDB
125125
/**/build
126126
bin/
127+
.visualgdb
128+
VisualGDBCache
129+
vs/*.log
127130

.vscode/c_cpp_properties.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"configurations": [
3+
{
4+
"name": "Daisy",
5+
"includePath": [
6+
"${workspaceFolder}/libdaisy/src",
7+
"${workspaceFolder}/libdaisy/src/sys",
8+
"${workspaceFolder}/libdaisy/src/usbd",
9+
"${workspaceFolder}/libdaisy/Drivers/CMSIS/Include",
10+
"${workspaceFolder}/libdaisy/Drivers/CMSIS/Device/ST/STM32H7xx/Include",
11+
"${workspaceFolder}/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc",
12+
"${workspaceFolder}/libdaisy/Drivers/STM32H7xx_HAL_Driver/Inc/Legacy",
13+
"${workspaceFolder}/libdaisy/Middlewares/ST/STM32_USB_Device_Library/Core/Inc",
14+
"${workspaceFolder}/libdaisy/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc",
15+
"${workspaceFolder}/libdaisy/Middlewares/Third_Party/FatFs/src",
16+
"${workspaceFolder}/libdaisy",
17+
"d:/work/programming/dsp/Eigen/eigen-3.3.8",
18+
"${workspaceFolder}/libdaisy/Drivers/CMSIS/DSP/Include",
19+
"${workspaceFolder}/DaisySP",
20+
"${workspaceFolder}/DaisySP/examples/fastconv",
21+
"${workspaceFolder}/libdaisy/src/hid",
22+
"D:/WORK/PROGRAMMING/DSP/_DAISY/DAISYEXAMPLES/DAISYSP/EXAMPLES/FASTCONV",
23+
"${workspaceFolder}/DaisySP/tests/fastconv",
24+
"${workspaceFolder}/DaisySP/tests/util",
25+
"${workspaceFolder}/DaisySP/modules",
26+
"${workspaceFolder}/DaisySP/Source",
27+
"${workspaceFolder}/DaisySP/tests/util"
28+
],
29+
"defines": [
30+
"CORE_CM7",
31+
"STM32H750xx",
32+
"STM32H750IB",
33+
"ARM_MATH_CM7",
34+
"flash_layout",
35+
"HSE_VALUE=16000000",
36+
"USE_HAL_DRIVER",
37+
"USE_FULL_LL_DRIVER"
38+
],
39+
"windowsSdkVersion": "",
40+
"compilerPath": "C:\\Program Files (x86)\\GNU Arm Embedded Toolchain\\9 2020-q2-update\\bin\\arm-none-eabi-g++.exe",
41+
"cStandard": "gnu11",
42+
"cppStandard": "gnu++14",
43+
"intelliSenseMode": "gcc-arm",
44+
"compilerArgs": [
45+
"-fno-exceptions",
46+
"-fno-rtti",
47+
"-std=gnu++14",
48+
"-std=gnu11",
49+
"-Wall",
50+
"-Wno-attributes",
51+
"-Wno-strict-aliasing",
52+
"-Wno-maybe-uninitialized",
53+
"-mcpu=cortex-m7",
54+
"-mfpu=fpv5-d16",
55+
"-mfloat-abi=hard",
56+
"-mthumb"
57+
]
58+
}
59+
],
60+
"version": 4
61+
}

.vscode/settings.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"files.associations": {
3+
"dense": "cpp",
4+
"cmath": "cpp",
5+
"complex": "cpp",
6+
"type_traits": "cpp",
7+
"array": "cpp",
8+
"string_view": "cpp",
9+
"hash_map": "cpp",
10+
"*.tcc": "cpp",
11+
"list": "cpp",
12+
"initializer_list": "cpp",
13+
"limits": "cpp",
14+
"sparseqr": "cpp",
15+
"utility": "cpp",
16+
"unordered_map": "cpp",
17+
"fstream": "cpp",
18+
"istream": "cpp",
19+
"numeric": "cpp",
20+
"ostream": "cpp",
21+
"sstream": "cpp",
22+
"nonlinearoptimization": "cpp",
23+
"iosfwd": "cpp",
24+
"streambuf": "cpp",
25+
"atomic": "cpp",
26+
"bit": "cpp",
27+
"deque": "cpp",
28+
"string": "cpp",
29+
"vector": "cpp",
30+
"algorithm": "cpp",
31+
"memory_resource": "cpp",
32+
"memory": "cpp",
33+
"random": "cpp",
34+
"stdexcept": "cpp",
35+
"tuple": "cpp",
36+
"core": "cpp",
37+
"geometry": "cpp",
38+
"qtalignedmalloc": "cpp",
39+
"fft": "cpp",
40+
"matrixfunctions": "cpp",
41+
"functional": "cpp",
42+
"cctype": "cpp",
43+
"chrono": "cpp",
44+
"clocale": "cpp",
45+
"condition_variable": "cpp",
46+
"cstdarg": "cpp",
47+
"cstddef": "cpp",
48+
"cstdint": "cpp",
49+
"cstdio": "cpp",
50+
"cstdlib": "cpp",
51+
"cstring": "cpp",
52+
"ctime": "cpp",
53+
"cwchar": "cpp",
54+
"cwctype": "cpp",
55+
"map": "cpp",
56+
"set": "cpp",
57+
"exception": "cpp",
58+
"iterator": "cpp",
59+
"optional": "cpp",
60+
"ratio": "cpp",
61+
"system_error": "cpp",
62+
"future": "cpp",
63+
"iomanip": "cpp",
64+
"iostream": "cpp",
65+
"mutex": "cpp",
66+
"new": "cpp",
67+
"thread": "cpp",
68+
"cinttypes": "cpp",
69+
"typeinfo": "cpp"
70+
}
71+
72+
}

.vscode/tasks.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "echo",
8+
"type": "shell",
9+
"command": "make all"
10+
}
11+
]
12+
}

0 commit comments

Comments
 (0)