|
56 | 56 | "NUMERICAL_TOOLBOX_BUILD_TESTS": false, |
57 | 57 | "NUMERICAL_TOOLBOX_BUILD_SIMULATOR": false |
58 | 58 | } |
| 59 | + }, |
| 60 | + { |
| 61 | + "name": "qemu-cortex-m4", |
| 62 | + "displayName": "QEMU Cortex-M4 Tests", |
| 63 | + "inherits": "defaults", |
| 64 | + "toolchainFile": "${sourceDir}/build/${presetName}/_deps/emil-src/cmake/toolchain-arm-gcc-m4-fpv4-sp-d16.cmake", |
| 65 | + "generator": "Ninja Multi-Config", |
| 66 | + "cacheVariables": { |
| 67 | + "CMAKE_CONFIGURATION_TYPES": "RelWithDebInfo", |
| 68 | + "NUMERICAL_TOOLBOX_BUILD_TESTS": "On", |
| 69 | + "NUMERICAL_TOOLBOX_BUILD_SIMULATOR": "Off", |
| 70 | + "QEMU_MACHINE": "mps2-an386", |
| 71 | + "CMAKE_CXX_FLAGS": "-DGTEST_HAS_STREAM_REDIRECTION=0 -DGTEST_HAS_POSIX_RE=0 -D_POSIX_C_SOURCE=200112L" |
| 72 | + } |
| 73 | + }, |
| 74 | + { |
| 75 | + "name": "qemu-cortex-m7", |
| 76 | + "displayName": "QEMU Cortex-M7 Tests", |
| 77 | + "inherits": "defaults", |
| 78 | + "toolchainFile": "${sourceDir}/build/${presetName}/_deps/emil-src/cmake/toolchain-arm-gcc-m7-fpv5-d16.cmake", |
| 79 | + "generator": "Ninja Multi-Config", |
| 80 | + "cacheVariables": { |
| 81 | + "CMAKE_CONFIGURATION_TYPES": "RelWithDebInfo", |
| 82 | + "NUMERICAL_TOOLBOX_BUILD_TESTS": "On", |
| 83 | + "NUMERICAL_TOOLBOX_BUILD_SIMULATOR": "Off", |
| 84 | + "QEMU_MACHINE": "mps2-an500", |
| 85 | + "CMAKE_CXX_FLAGS": "-DGTEST_HAS_STREAM_REDIRECTION=0 -DGTEST_HAS_POSIX_RE=0 -D_POSIX_C_SOURCE=200112L" |
| 86 | + } |
59 | 87 | } |
60 | 88 | ], |
61 | 89 | "buildPresets": [ |
|
92 | 120 | "name": "integration-Debug", |
93 | 121 | "configuration": "Debug", |
94 | 122 | "configurePreset": "integration" |
| 123 | + }, |
| 124 | + { |
| 125 | + "name": "qemu-cortex-m4-RelWithDebInfo", |
| 126 | + "configuration": "RelWithDebInfo", |
| 127 | + "configurePreset": "qemu-cortex-m4", |
| 128 | + "targets": [ |
| 129 | + "numerical.analysis_test", |
| 130 | + "numerical.analysis.windowing_test", |
| 131 | + "numerical.control_analysis_test", |
| 132 | + "numerical.controllers_test", |
| 133 | + "numerical.estimators.offline_test", |
| 134 | + "numerical.estimators.online_test", |
| 135 | + "numerical.filters.active_test", |
| 136 | + "numerical.filters.passive_test", |
| 137 | + "numerical.math_test", |
| 138 | + "numerical.neural_network.activation_test", |
| 139 | + "numerical.neural_network.layer_test", |
| 140 | + "numerical.neural_network.losses_test", |
| 141 | + "numerical.neural_network.model_test", |
| 142 | + "numerical.nonlinear_control_test", |
| 143 | + "numerical.optimization_test", |
| 144 | + "numerical.regularization_test", |
| 145 | + "numerical.robust_control_test", |
| 146 | + "numerical.solvers_test" |
| 147 | + ] |
| 148 | + }, |
| 149 | + { |
| 150 | + "name": "qemu-cortex-m7-RelWithDebInfo", |
| 151 | + "configuration": "RelWithDebInfo", |
| 152 | + "configurePreset": "qemu-cortex-m7", |
| 153 | + "targets": [ |
| 154 | + "numerical.analysis_test", |
| 155 | + "numerical.analysis.windowing_test", |
| 156 | + "numerical.control_analysis_test", |
| 157 | + "numerical.controllers_test", |
| 158 | + "numerical.estimators.offline_test", |
| 159 | + "numerical.estimators.online_test", |
| 160 | + "numerical.filters.active_test", |
| 161 | + "numerical.filters.passive_test", |
| 162 | + "numerical.math_test", |
| 163 | + "numerical.neural_network.activation_test", |
| 164 | + "numerical.neural_network.layer_test", |
| 165 | + "numerical.neural_network.losses_test", |
| 166 | + "numerical.neural_network.model_test", |
| 167 | + "numerical.nonlinear_control_test", |
| 168 | + "numerical.optimization_test", |
| 169 | + "numerical.regularization_test", |
| 170 | + "numerical.robust_control_test", |
| 171 | + "numerical.solvers_test" |
| 172 | + ] |
95 | 173 | } |
96 | 174 | ], |
97 | 175 | "testPresets": [ |
|
129 | 207 | "configurePreset": "integration", |
130 | 208 | "configuration": "Debug", |
131 | 209 | "inherits": "defaults" |
| 210 | + }, |
| 211 | + { |
| 212 | + "name": "qemu-cortex-m4", |
| 213 | + "configurePreset": "qemu-cortex-m4", |
| 214 | + "configuration": "RelWithDebInfo", |
| 215 | + "inherits": "defaults" |
| 216 | + }, |
| 217 | + { |
| 218 | + "name": "qemu-cortex-m7", |
| 219 | + "configurePreset": "qemu-cortex-m7", |
| 220 | + "configuration": "RelWithDebInfo", |
| 221 | + "inherits": "defaults" |
132 | 222 | } |
133 | 223 | ] |
134 | 224 | } |
0 commit comments