1cmake_minimum_required (VERSION 3.14)
2
3
4
5target_sources(CMSISDSP PRIVATE TransformFunctions/arm_bitreversal.c)
6target_sources(CMSISDSP PRIVATE TransformFunctions/arm_bitreversal2.c)
7
8if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
9target_sources(CMSISDSP PRIVATE TransformFunctions/arm_bitreversal_f16.c)
10endif()
11
12target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix2_f32.c)
13target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_f32.c)
14target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix8_f32.c)
15target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_f32.c)
16target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_init_f32.c)
17
18if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
19target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix2_f16.c)
20target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_f16.c)
21target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_f16.c)
22target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_init_f16.c)
23endif()
24
25if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
26target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_init_f16.c)
27target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_f16.c)
28endif()
29
30target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_f64.c)
31target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_init_f64.c)
32
33target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix2_q15.c)
34target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_q15.c)
35target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_q15.c)
36target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_init_q15.c)
37
38target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix2_q31.c)
39target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_q31.c)
40target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_q31.c)
41target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_init_q31.c)
42
43
44target_sources(CMSISDSP PRIVATE TransformFunctions/arm_dct4_f32.c)
45target_sources(CMSISDSP PRIVATE TransformFunctions/arm_dct4_init_f32.c)
46
47target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_init_f32.c)
48target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_f32.c)
49target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_init_f32.c)
50target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_f32.c)
51
52target_sources(CMSISDSP PRIVATE TransformFunctions/arm_dct4_q31.c)
53target_sources(CMSISDSP PRIVATE TransformFunctions/arm_dct4_init_q31.c)
54
55target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_init_q31.c)
56target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_q31.c)
57target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_q31.c)
58target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_init_q31.c)
59target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_init_q31.c)
60target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_q31.c)
61
62target_sources(CMSISDSP PRIVATE TransformFunctions/arm_dct4_init_q15.c)
63target_sources(CMSISDSP PRIVATE TransformFunctions/arm_dct4_q15.c)
64
65target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_init_q15.c)
66target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_q15.c)
67target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_q15.c)
68target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_init_q15.c)
69target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_init_q15.c)
70target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_q15.c)
71
72target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_fast_f32.c)
73target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_fast_init_f32.c)
74target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_f32.c)
75target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_init_f32.c)
76target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix8_f32.c)
77
78target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_fast_f64.c)
79target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_fast_init_f64.c)
80
81if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
82target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_fast_f16.c)
83target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_fast_init_f16.c)
84target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_f16.c)
85target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_init_f16.c)
86target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix8_f16.c)
87endif()
88
89target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_init_f32.c)
90target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_f32.c)
91target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_init_f32.c)
92target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_f32.c)
93
94target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_init_q15.c)
95target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_q15.c)
96target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_q15.c)
97target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_init_q15.c)
98target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_q15.c)
99
100target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_init_q31.c)
101target_sources(CMSISDSP PRIVATE TransformFunctions/arm_rfft_q31.c)
102target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_q31.c)
103target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_init_q31.c)
104target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_q31.c)
105
106if (WRAPPER)
107target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix2_init_q15.c)
108target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix2_init_q31.c)
109endif()
110
111target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_init_q15.c)
112target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix4_init_q31.c)
113
114
115# For scipy or wrappers or benchmarks
116if (WRAPPER)
117target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix2_init_f32.c)
118if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
119target_sources(CMSISDSP PRIVATE TransformFunctions/arm_cfft_radix2_init_f16.c)
120endif()
121
122
123endif()
124
125target_sources(CMSISDSP PRIVATE TransformFunctions/arm_mfcc_init_f32.c)
126target_sources(CMSISDSP PRIVATE TransformFunctions/arm_mfcc_f32.c)
127
128target_sources(CMSISDSP PRIVATE TransformFunctions/arm_mfcc_init_q31.c)
129target_sources(CMSISDSP PRIVATE TransformFunctions/arm_mfcc_q31.c)
130
131target_sources(CMSISDSP PRIVATE TransformFunctions/arm_mfcc_init_q15.c)
132target_sources(CMSISDSP PRIVATE TransformFunctions/arm_mfcc_q15.c)
133
134if ((NOT ARMAC5) AND (NOT DISABLEFLOAT16))
135target_sources(CMSISDSP PRIVATE TransformFunctions/arm_mfcc_init_f16.c)
136target_sources(CMSISDSP PRIVATE TransformFunctions/arm_mfcc_f16.c)
137endif()
138
139
140
141
142