blob: 8fd8f8d9eeb9d61831d01fa447816a282b839b01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
//
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2009-2009 - DIGITEO - Bruno JOFRET
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
//
//
function allInterfaces = getAllInterfaces(Target)
//Interface files common to all types of output format
Standalone_interfaces = [
"src/c/auxiliaryFunctions/interfaces/int_rand.h"
"src/c/auxiliaryFunctions/interfaces/int_sign.h"
"src/c/auxiliaryFunctions/interfaces/int_size.h"
"src/c/auxiliaryFunctions/interfaces/int_length.h"
"src/c/auxiliaryFunctions/interfaces/int_type.h"
"src/c/auxiliaryFunctions/interfaces/int_isempty.h"
"src/c/auxiliaryFunctions/interfaces/int_isnan.h"
"src/c/auxiliaryFunctions/interfaces/int_pythag.h"
"src/c/auxiliaryFunctions/interfaces/int_frexp.h"
"src/c/auxiliaryFunctions/interfaces/int_abs.h"
"src/c/auxiliaryFunctions/interfaces/int_max.h"
"src/c/auxiliaryFunctions/interfaces/int_min.h"
"src/c/auxiliaryFunctions/interfaces/int_conj.h"
"src/c/auxiliaryFunctions/interfaces/int_find.h"
"src/c/type/int_imag.h"
"src/c/type/int_real.h"
"src/c/matrixOperations/interfaces/int_vmagn.h"
"src/c/matrixOperations/interfaces/int_ones.h"
"src/c/matrixOperations/interfaces/int_spec.h"
"src/c/matrixOperations/interfaces/int_cat.h"
"src/c/matrixOperations/interfaces/int_zeros.h"
"src/c/matrixOperations/interfaces/int_OpBackSlash.h"
"src/c/matrixOperations/interfaces/int_OpApex.h"
"src/c/matrixOperations/interfaces/int_OpCc.h"
"src/c/matrixOperations/interfaces/int_OpRc.h"
"src/c/matrixOperations/interfaces/int_transpose.h"
"src/c/matrixOperations/interfaces/int_v2magn.h"
"src/c/matrixOperations/interfaces/int_invert.h"
"src/c/matrixOperations/interfaces/int_OpSlash.h"
"src/c/matrixOperations/interfaces/int_OpDotApex.h"
"src/c/matrixOperations/interfaces/int_trace.h"
"src/c/matrixOperations/interfaces/int_det.h"
"src/c/matrixOperations/interfaces/int_eye.h"
"src/c/matrixOperations/interfaces/int_OpStar.h"
"src/c/matrixOperations/interfaces/int_chol.h"
"src/c/matrixOperations/interfaces/int_dist.h"
"src/c/matrixOperations/interfaces/int_fill.h"
"src/c/matrixOperations/interfaces/int_expm.h"
"src/c/matrixOperations/interfaces/int_diag.h"
"src/c/matrixOperations/interfaces/int_cumsum.h"
"src/c/matrixOperations/interfaces/int_cumprod.h"
"src/c/matrixOperations/interfaces/int_triu.h"
"src/c/matrixOperations/interfaces/int_tril.h"
"src/c/matrixOperations/interfaces/int_kron.h"
"src/c/matrixOperations/interfaces/int_flipdim.h"
"src/c/matrixOperations/interfaces/int_permute.h"
"src/c/elementaryFunctions/interfaces/int_asinh.h"
"src/c/elementaryFunctions/interfaces/int_atanh.h"
"src/c/elementaryFunctions/interfaces/int_sinh.h"
"src/c/elementaryFunctions/interfaces/int_tanh.h"
"src/c/elementaryFunctions/interfaces/int_sqrt.h"
"src/c/elementaryFunctions/interfaces/int_OpDotHat.h"
"src/c/elementaryFunctions/interfaces/int_OpHat.h"
"src/c/elementaryFunctions/interfaces/int_lnp1m1.h"
"src/c/elementaryFunctions/interfaces/int_round.h"
"src/c/elementaryFunctions/interfaces/int_log10.h"
"src/c/elementaryFunctions/interfaces/int_log1p.h"
"src/c/elementaryFunctions/interfaces/int_floor.h"
"src/c/elementaryFunctions/interfaces/int_exp10.h"
"src/c/elementaryFunctions/interfaces/int_cos.h"
"src/c/elementaryFunctions/interfaces/int_fix.h"
"src/c/elementaryFunctions/interfaces/int_exp.h"
"src/c/elementaryFunctions/interfaces/int_int.h"
"src/c/elementaryFunctions/interfaces/int_log.h"
"src/c/elementaryFunctions/interfaces/int_pow.h"
"src/c/elementaryFunctions/interfaces/int_sin.h"
"src/c/elementaryFunctions/interfaces/int_tan.h"
"src/c/elementaryFunctions/interfaces/int_acosh.h"
"src/c/elementaryFunctions/interfaces/int_acos.h"
"src/c/elementaryFunctions/interfaces/int_asin.h"
"src/c/elementaryFunctions/interfaces/int_atan.h"
"src/c/elementaryFunctions/interfaces/int_ceil.h"
"src/c/elementaryFunctions/interfaces/int_bitand.h"
"src/c/elementaryFunctions/interfaces/int_bitor.h"
"src/c/elementaryFunctions/interfaces/int_bitxor.h"
"src/c/elementaryFunctions/interfaces/int_bitcmp.h"
"src/c/elementaryFunctions/interfaces/int_bitset.h"
"src/c/elementaryFunctions/interfaces/int_bitget.h"
"src/c/elementaryFunctions/interfaces/int_linspace.h"
"src/c/elementaryFunctions/interfaces/int_logspace.h"
"src/c/elementaryFunctions/interfaces/int_cosh.h"
"src/c/elementaryFunctions/interfaces/int_uint8.h"
"src/c/elementaryFunctions/interfaces/int_int8.h"
"src/c/elementaryFunctions/interfaces/int_uint16.h"
"src/c/elementaryFunctions/interfaces/int_int16.h"
"src/c/statisticsFunctions/interfaces/int_mean.h"
"src/c/statisticsFunctions/interfaces/int_meanf.h"
"src/c/statisticsFunctions/interfaces/int_stdevf.h"
"src/c/statisticsFunctions/interfaces/int_prod.h"
"src/c/statisticsFunctions/interfaces/int_variance.h"
"src/c/statisticsFunctions/interfaces/int_sum.h"
"src/c/operations/interfaces/int_OpEqual.h"
"src/c/operations/interfaces/int_OpLogNot.h"
"src/c/operations/interfaces/int_OpLogEq.h"
"src/c/operations/interfaces/int_OpLogNe.h"
"src/c/operations/interfaces/int_OpLogGt.h"
"src/c/operations/interfaces/int_OpLogGe.h"
"src/c/operations/interfaces/int_OpLogLt.h"
"src/c/operations/interfaces/int_OpLogLe.h"
"src/c/operations/interfaces/int_OpLogAnd.h"
"src/c/operations/interfaces/int_OpLogOr.h"
"src/c/operations/interfaces/int_OpDotStar.h"
"src/c/operations/interfaces/int_OpDotSlash.h"
"src/c/operations/interfaces/int_OpBackSlash.h"
"src/c/operations/interfaces/int_OpDotBackSlash.h"
"src/c/operations/interfaces/int_OpSlash.h"
"src/c/operations/interfaces/int_OpPlus.h"
"src/c/operations/interfaces/int_OpMinus.h"
"src/c/operations/interfaces/int_OpStar.h"
"src/c/operations/interfaces/int_OpExt.h"
"src/c/operations/interfaces/int_OpIns.h"
"src/c/string/interfaces/int_disp.h"
"src/c/string/interfaces/int_string.h"
"src/c/signalProcessing/interfaces/int_ifft.h"
"src/c/signalProcessing/interfaces/int_lpc2cep.h"
"src/c/signalProcessing/interfaces/int_cepstrum.h"
"src/c/signalProcessing/interfaces/int_xcorr.h"
"src/c/signalProcessing/interfaces/int_convol.h"
"src/c/signalProcessing/interfaces/int_hilbert.h"
"src/c/signalProcessing/interfaces/int_levin.h"
"src/c/signalProcessing/interfaces/int_fftshift.h"
"src/c/signalProcessing/interfaces/int_fft.h"
"src/c/signalProcessing/interfaces/int_lev.h"
"src/c/implicitList/int_OpColon.h"
"src/c/differential_calculus/interfaces/int_ode.h"];
//Interface files required for "Arduino" output
Arduino_interfaces = [
"src/c/scilab-arduino/interfaces/int_cmd_digital_out.h"
"src/c/scilab-arduino/interfaces/int_cmd_digital_in.h"
"src/c/scilab-arduino/interfaces/int_cmd_analog_out.h"
"src/c/scilab-arduino/interfaces/int_cmd_analog_in.h"
"src/c/scilab-arduino/interfaces/int_cmd_dcmotor.h"
"src/c/scilab-arduino/interfaces/int_cmd_servo.h"
"src/c/scilab-arduino/interfaces/int_sleep.h"];
//Interface files required for "AVR" output
AVR_interfaces = [
"src/c/hardware/avr/interfaces/int_AVRPeripheralGPIO.h"
"src/c/hardware/avr/interfaces/int_AVRPeripheralADC.h"
"src/c/hardware/avr/interfaces/int_AVRPeripheralPWM.h"
"src/c/hardware/avr/interfaces/int_AVRUtil.h"
];
RPI_interfaces = [
"src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralDigital.h"
"src/c/hardware/rasberrypi/interfaces/int_RPIPeripheralUtil.h"
];
if Target == "StandAlone"
allInterfaces = Standalone_interfaces;
elseif Target == "Arduino"
allInterfaces = cat(1,Standalone_interfaces, Arduino_interfaces);
elseif Target == "AVR"
allInterfaces = cat(1,Standalone_interfaces, AVR_interfaces);
elseif Target == "RPi"
allInterfaces = cat(1,Standalone_interfaces, RPI_interfaces);
end
endfunction
|