lol

Dependencies:   MMA8451Q

Fork of Application by Mateusz Kowalik

Committer:
Zaitsev
Date:
Tue Jan 10 20:42:26 2017 +0000
Revision:
10:41552d038a69
USB Serial bi-directional bridge

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Zaitsev 10:41552d038a69 1 /* mbed Microcontroller Library
Zaitsev 10:41552d038a69 2 * Copyright (c) 2016 ARM Limited
Zaitsev 10:41552d038a69 3 *
Zaitsev 10:41552d038a69 4 * Licensed under the Apache License, Version 2.0 (the "License");
Zaitsev 10:41552d038a69 5 * you may not use this file except in compliance with the License.
Zaitsev 10:41552d038a69 6 * You may obtain a copy of the License at
Zaitsev 10:41552d038a69 7 *
Zaitsev 10:41552d038a69 8 * http://www.apache.org/licenses/LICENSE-2.0
Zaitsev 10:41552d038a69 9 *
Zaitsev 10:41552d038a69 10 * Unless required by applicable law or agreed to in writing, software
Zaitsev 10:41552d038a69 11 * distributed under the License is distributed on an "AS IS" BASIS,
Zaitsev 10:41552d038a69 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Zaitsev 10:41552d038a69 13 * See the License for the specific language governing permissions and
Zaitsev 10:41552d038a69 14 * limitations under the License.
Zaitsev 10:41552d038a69 15 */
Zaitsev 10:41552d038a69 16
Zaitsev 10:41552d038a69 17 #ifndef MBED_MBED_RTX_H
Zaitsev 10:41552d038a69 18 #define MBED_MBED_RTX_H
Zaitsev 10:41552d038a69 19
Zaitsev 10:41552d038a69 20 #if defined(TARGET_STM32F051R8)
Zaitsev 10:41552d038a69 21
Zaitsev 10:41552d038a69 22 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 23 #define INITIAL_SP (0x20002000UL)
Zaitsev 10:41552d038a69 24 #endif
Zaitsev 10:41552d038a69 25 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 26 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 27 #endif
Zaitsev 10:41552d038a69 28 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 29 #define OS_MAINSTKSIZE 128
Zaitsev 10:41552d038a69 30 #endif
Zaitsev 10:41552d038a69 31 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 32 #define OS_CLOCK 48000000
Zaitsev 10:41552d038a69 33 #endif
Zaitsev 10:41552d038a69 34
Zaitsev 10:41552d038a69 35 #elif defined(TARGET_STM32L031K6)
Zaitsev 10:41552d038a69 36
Zaitsev 10:41552d038a69 37 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 38 #define INITIAL_SP (0x20002000UL)
Zaitsev 10:41552d038a69 39 #endif
Zaitsev 10:41552d038a69 40 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 41 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 42 #endif
Zaitsev 10:41552d038a69 43 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 44 #define OS_MAINSTKSIZE 112
Zaitsev 10:41552d038a69 45 #endif
Zaitsev 10:41552d038a69 46 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 47 #define OS_CLOCK 32000000
Zaitsev 10:41552d038a69 48 #endif
Zaitsev 10:41552d038a69 49
Zaitsev 10:41552d038a69 50 #elif defined(TARGET_STM32F070RB)
Zaitsev 10:41552d038a69 51
Zaitsev 10:41552d038a69 52 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 53 #define INITIAL_SP (0x20004000UL)
Zaitsev 10:41552d038a69 54 #endif
Zaitsev 10:41552d038a69 55 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 56 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 57 #endif
Zaitsev 10:41552d038a69 58 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 59 #define OS_MAINSTKSIZE 128
Zaitsev 10:41552d038a69 60 #endif
Zaitsev 10:41552d038a69 61 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 62 #define OS_CLOCK 48000000
Zaitsev 10:41552d038a69 63 #endif
Zaitsev 10:41552d038a69 64
Zaitsev 10:41552d038a69 65 #elif defined(TARGET_STM32F072RB)
Zaitsev 10:41552d038a69 66
Zaitsev 10:41552d038a69 67 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 68 #define INITIAL_SP (0x20004000UL)
Zaitsev 10:41552d038a69 69 #endif
Zaitsev 10:41552d038a69 70 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 71 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 72 #endif
Zaitsev 10:41552d038a69 73 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 74 #define OS_MAINSTKSIZE 128
Zaitsev 10:41552d038a69 75 #endif
Zaitsev 10:41552d038a69 76 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 77 #define OS_CLOCK 48000000
Zaitsev 10:41552d038a69 78 #endif
Zaitsev 10:41552d038a69 79
Zaitsev 10:41552d038a69 80 #elif defined(TARGET_STM32F091RC)
Zaitsev 10:41552d038a69 81
Zaitsev 10:41552d038a69 82 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 83 #define INITIAL_SP (0x20008000UL)
Zaitsev 10:41552d038a69 84 #endif
Zaitsev 10:41552d038a69 85 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 86 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 87 #endif
Zaitsev 10:41552d038a69 88 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 89 #define OS_MAINSTKSIZE 128
Zaitsev 10:41552d038a69 90 #endif
Zaitsev 10:41552d038a69 91 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 92 #define OS_CLOCK 48000000
Zaitsev 10:41552d038a69 93 #endif
Zaitsev 10:41552d038a69 94
Zaitsev 10:41552d038a69 95 #elif defined(TARGET_STM32F100RB)
Zaitsev 10:41552d038a69 96
Zaitsev 10:41552d038a69 97 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 98 #define INITIAL_SP (0x20002000UL)
Zaitsev 10:41552d038a69 99 #endif
Zaitsev 10:41552d038a69 100 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 101 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 102 #endif
Zaitsev 10:41552d038a69 103 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 104 #define OS_MAINSTKSIZE 128
Zaitsev 10:41552d038a69 105 #endif
Zaitsev 10:41552d038a69 106 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 107 #define OS_CLOCK 24000000
Zaitsev 10:41552d038a69 108 #endif
Zaitsev 10:41552d038a69 109
Zaitsev 10:41552d038a69 110 #elif defined(TARGET_STM32F103RB)
Zaitsev 10:41552d038a69 111
Zaitsev 10:41552d038a69 112 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 113 #define INITIAL_SP (0x20005000UL)
Zaitsev 10:41552d038a69 114 #endif
Zaitsev 10:41552d038a69 115 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 116 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 117 #endif
Zaitsev 10:41552d038a69 118 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 119 #define OS_MAINSTKSIZE 128
Zaitsev 10:41552d038a69 120 #endif
Zaitsev 10:41552d038a69 121 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 122 #define OS_CLOCK 72000000
Zaitsev 10:41552d038a69 123 #endif
Zaitsev 10:41552d038a69 124
Zaitsev 10:41552d038a69 125 #elif defined(TARGET_STM32F207ZG)
Zaitsev 10:41552d038a69 126
Zaitsev 10:41552d038a69 127 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 128 #define INITIAL_SP (0x20020000UL)
Zaitsev 10:41552d038a69 129 #endif
Zaitsev 10:41552d038a69 130 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 131 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 132 #endif
Zaitsev 10:41552d038a69 133 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 134 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 135 #endif
Zaitsev 10:41552d038a69 136 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 137 #define OS_CLOCK 120000000
Zaitsev 10:41552d038a69 138 #endif
Zaitsev 10:41552d038a69 139
Zaitsev 10:41552d038a69 140 #elif defined(TARGET_STM32F303VC)
Zaitsev 10:41552d038a69 141
Zaitsev 10:41552d038a69 142 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 143 #define INITIAL_SP (0x2000A000UL)
Zaitsev 10:41552d038a69 144 #endif
Zaitsev 10:41552d038a69 145 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 146 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 147 #endif
Zaitsev 10:41552d038a69 148 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 149 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 150 #endif
Zaitsev 10:41552d038a69 151 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 152 #define OS_CLOCK 72000000
Zaitsev 10:41552d038a69 153 #endif
Zaitsev 10:41552d038a69 154
Zaitsev 10:41552d038a69 155 #elif defined(TARGET_STM32F334C8)
Zaitsev 10:41552d038a69 156
Zaitsev 10:41552d038a69 157 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 158 #define INITIAL_SP (0x20003000UL)
Zaitsev 10:41552d038a69 159 #endif
Zaitsev 10:41552d038a69 160 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 161 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 162 #endif
Zaitsev 10:41552d038a69 163 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 164 #define OS_MAINSTKSIZE 112
Zaitsev 10:41552d038a69 165 #endif
Zaitsev 10:41552d038a69 166 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 167 #define OS_CLOCK 72000000
Zaitsev 10:41552d038a69 168 #endif
Zaitsev 10:41552d038a69 169
Zaitsev 10:41552d038a69 170 #elif defined(TARGET_STM32F302R8)
Zaitsev 10:41552d038a69 171
Zaitsev 10:41552d038a69 172 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 173 #define INITIAL_SP (0x20004000UL)
Zaitsev 10:41552d038a69 174 #endif
Zaitsev 10:41552d038a69 175 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 176 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 177 #endif
Zaitsev 10:41552d038a69 178 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 179 #define OS_MAINSTKSIZE 128
Zaitsev 10:41552d038a69 180 #endif
Zaitsev 10:41552d038a69 181 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 182 #define OS_CLOCK 72000000
Zaitsev 10:41552d038a69 183 #endif
Zaitsev 10:41552d038a69 184
Zaitsev 10:41552d038a69 185 #elif defined(TARGET_STM32F303K8)
Zaitsev 10:41552d038a69 186
Zaitsev 10:41552d038a69 187 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 188 #define INITIAL_SP (0x20003000UL)
Zaitsev 10:41552d038a69 189 #endif
Zaitsev 10:41552d038a69 190 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 191 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 192 #endif
Zaitsev 10:41552d038a69 193 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 194 #define OS_MAINSTKSIZE 112
Zaitsev 10:41552d038a69 195 #endif
Zaitsev 10:41552d038a69 196 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 197 #define OS_CLOCK 64000000
Zaitsev 10:41552d038a69 198 #endif
Zaitsev 10:41552d038a69 199
Zaitsev 10:41552d038a69 200 #elif defined(TARGET_STM32F303RE)
Zaitsev 10:41552d038a69 201
Zaitsev 10:41552d038a69 202 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 203 #define INITIAL_SP (0x20010000UL)
Zaitsev 10:41552d038a69 204 #endif
Zaitsev 10:41552d038a69 205 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 206 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 207 #endif
Zaitsev 10:41552d038a69 208 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 209 #define OS_MAINSTKSIZE 112
Zaitsev 10:41552d038a69 210 #endif
Zaitsev 10:41552d038a69 211 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 212 #define OS_CLOCK 72000000
Zaitsev 10:41552d038a69 213 #endif
Zaitsev 10:41552d038a69 214
Zaitsev 10:41552d038a69 215 #elif defined(TARGET_STM32F303ZE)
Zaitsev 10:41552d038a69 216
Zaitsev 10:41552d038a69 217 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 218 #define INITIAL_SP (0x20010000UL)
Zaitsev 10:41552d038a69 219 #endif
Zaitsev 10:41552d038a69 220 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 221 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 222 #endif
Zaitsev 10:41552d038a69 223 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 224 #define OS_MAINSTKSIZE 112
Zaitsev 10:41552d038a69 225 #endif
Zaitsev 10:41552d038a69 226 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 227 #define OS_CLOCK 72000000
Zaitsev 10:41552d038a69 228 #endif
Zaitsev 10:41552d038a69 229
Zaitsev 10:41552d038a69 230 #elif defined(TARGET_STM32F334R8)
Zaitsev 10:41552d038a69 231
Zaitsev 10:41552d038a69 232 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 233 #define INITIAL_SP (0x20003000UL)
Zaitsev 10:41552d038a69 234 #endif
Zaitsev 10:41552d038a69 235 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 236 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 237 #endif
Zaitsev 10:41552d038a69 238 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 239 #define OS_MAINSTKSIZE 112
Zaitsev 10:41552d038a69 240 #endif
Zaitsev 10:41552d038a69 241 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 242 #define OS_CLOCK 72000000
Zaitsev 10:41552d038a69 243 #endif
Zaitsev 10:41552d038a69 244
Zaitsev 10:41552d038a69 245 #elif defined(TARGET_STM32F446VE)
Zaitsev 10:41552d038a69 246
Zaitsev 10:41552d038a69 247 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 248 #define INITIAL_SP (0x20020000UL)
Zaitsev 10:41552d038a69 249 #endif
Zaitsev 10:41552d038a69 250 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 251 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 252 #endif
Zaitsev 10:41552d038a69 253 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 254 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 255 #endif
Zaitsev 10:41552d038a69 256 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 257 #define OS_CLOCK 180000000
Zaitsev 10:41552d038a69 258 #endif
Zaitsev 10:41552d038a69 259
Zaitsev 10:41552d038a69 260 #elif defined(TARGET_STM32F401VC)
Zaitsev 10:41552d038a69 261
Zaitsev 10:41552d038a69 262 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 263 #define INITIAL_SP (0x20010000UL)
Zaitsev 10:41552d038a69 264 #endif
Zaitsev 10:41552d038a69 265 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 266 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 267 #endif
Zaitsev 10:41552d038a69 268 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 269 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 270 #endif
Zaitsev 10:41552d038a69 271 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 272 #define OS_CLOCK 84000000
Zaitsev 10:41552d038a69 273 #endif
Zaitsev 10:41552d038a69 274
Zaitsev 10:41552d038a69 275 #elif (defined(TARGET_STM32F429ZI) || defined(TARGET_STM32F439ZI))
Zaitsev 10:41552d038a69 276
Zaitsev 10:41552d038a69 277 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 278 #define INITIAL_SP (0x20030000UL)
Zaitsev 10:41552d038a69 279 #endif
Zaitsev 10:41552d038a69 280 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 281 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 282 #endif
Zaitsev 10:41552d038a69 283 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 284 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 285 #endif
Zaitsev 10:41552d038a69 286 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 287 #define OS_CLOCK 168000000
Zaitsev 10:41552d038a69 288 #endif
Zaitsev 10:41552d038a69 289
Zaitsev 10:41552d038a69 290 #elif defined(TARGET_UBLOX_EVK_ODIN_W2)
Zaitsev 10:41552d038a69 291
Zaitsev 10:41552d038a69 292 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 293 #define INITIAL_SP (0x20030000UL)
Zaitsev 10:41552d038a69 294 #endif
Zaitsev 10:41552d038a69 295 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 296 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 297 #endif
Zaitsev 10:41552d038a69 298 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 299 #define OS_MAINSTKSIZE 512
Zaitsev 10:41552d038a69 300 #endif
Zaitsev 10:41552d038a69 301 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 302 #define OS_CLOCK 168000000
Zaitsev 10:41552d038a69 303 #endif
Zaitsev 10:41552d038a69 304
Zaitsev 10:41552d038a69 305 #elif defined(TARGET_STM32F469NI)
Zaitsev 10:41552d038a69 306
Zaitsev 10:41552d038a69 307 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 308 #define INITIAL_SP (0x20050000UL)
Zaitsev 10:41552d038a69 309 #endif
Zaitsev 10:41552d038a69 310 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 311 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 312 #endif
Zaitsev 10:41552d038a69 313 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 314 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 315 #endif
Zaitsev 10:41552d038a69 316 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 317 #define OS_CLOCK 168000000
Zaitsev 10:41552d038a69 318 #endif
Zaitsev 10:41552d038a69 319
Zaitsev 10:41552d038a69 320 #elif defined(TARGET_STM32F405RG)
Zaitsev 10:41552d038a69 321
Zaitsev 10:41552d038a69 322 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 323 #define INITIAL_SP (0x20020000UL)
Zaitsev 10:41552d038a69 324 #endif
Zaitsev 10:41552d038a69 325 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 326 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 327 #endif
Zaitsev 10:41552d038a69 328 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 329 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 330 #endif
Zaitsev 10:41552d038a69 331 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 332 #define OS_CLOCK 48000000
Zaitsev 10:41552d038a69 333 #endif
Zaitsev 10:41552d038a69 334
Zaitsev 10:41552d038a69 335 #elif defined(TARGET_STM32F401RE)
Zaitsev 10:41552d038a69 336
Zaitsev 10:41552d038a69 337 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 338 #define INITIAL_SP (0x20018000UL)
Zaitsev 10:41552d038a69 339 #endif
Zaitsev 10:41552d038a69 340 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 341 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 342 #endif
Zaitsev 10:41552d038a69 343 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 344 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 345 #endif
Zaitsev 10:41552d038a69 346 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 347 #define OS_CLOCK 84000000
Zaitsev 10:41552d038a69 348 #endif
Zaitsev 10:41552d038a69 349
Zaitsev 10:41552d038a69 350 #elif defined(TARGET_STM32F410RB)
Zaitsev 10:41552d038a69 351
Zaitsev 10:41552d038a69 352 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 353 #define INITIAL_SP (0x20008000UL)
Zaitsev 10:41552d038a69 354 #endif
Zaitsev 10:41552d038a69 355 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 356 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 357 #endif
Zaitsev 10:41552d038a69 358 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 359 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 360 #endif
Zaitsev 10:41552d038a69 361 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 362 #define OS_CLOCK 100000000
Zaitsev 10:41552d038a69 363 #endif
Zaitsev 10:41552d038a69 364
Zaitsev 10:41552d038a69 365 #elif defined(TARGET_MTS_MDOT_F411RE) || defined (TARGET_MTS_DRAGONFLY_F411RE)
Zaitsev 10:41552d038a69 366
Zaitsev 10:41552d038a69 367 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 368 #define INITIAL_SP (0x20020000UL)
Zaitsev 10:41552d038a69 369 #endif
Zaitsev 10:41552d038a69 370 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 371 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 372 #endif
Zaitsev 10:41552d038a69 373 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 374 #define OS_MAINSTKSIZE 1024
Zaitsev 10:41552d038a69 375 #endif
Zaitsev 10:41552d038a69 376 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 377 #define OS_CLOCK 96000000
Zaitsev 10:41552d038a69 378 #endif
Zaitsev 10:41552d038a69 379
Zaitsev 10:41552d038a69 380 #elif defined(TARGET_STM32F411RE)
Zaitsev 10:41552d038a69 381
Zaitsev 10:41552d038a69 382 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 383 #define INITIAL_SP (0x20020000UL)
Zaitsev 10:41552d038a69 384 #endif
Zaitsev 10:41552d038a69 385 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 386 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 387 #endif
Zaitsev 10:41552d038a69 388 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 389 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 390 #endif
Zaitsev 10:41552d038a69 391 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 392 #define OS_CLOCK 100000000
Zaitsev 10:41552d038a69 393 #endif
Zaitsev 10:41552d038a69 394
Zaitsev 10:41552d038a69 395 #elif defined(TARGET_STM32F412ZG)
Zaitsev 10:41552d038a69 396
Zaitsev 10:41552d038a69 397 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 398 #define INITIAL_SP (0x20040000UL)
Zaitsev 10:41552d038a69 399 #endif
Zaitsev 10:41552d038a69 400 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 401 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 402 #endif
Zaitsev 10:41552d038a69 403 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 404 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 405 #endif
Zaitsev 10:41552d038a69 406 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 407 #define OS_CLOCK 100000000
Zaitsev 10:41552d038a69 408 #endif
Zaitsev 10:41552d038a69 409
Zaitsev 10:41552d038a69 410 #elif defined(TARGET_STM32F446RE)
Zaitsev 10:41552d038a69 411
Zaitsev 10:41552d038a69 412 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 413 #define INITIAL_SP (0x20020000UL)
Zaitsev 10:41552d038a69 414 #endif
Zaitsev 10:41552d038a69 415 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 416 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 417 #endif
Zaitsev 10:41552d038a69 418 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 419 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 420 #endif
Zaitsev 10:41552d038a69 421 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 422 #define OS_CLOCK 180000000
Zaitsev 10:41552d038a69 423 #endif
Zaitsev 10:41552d038a69 424
Zaitsev 10:41552d038a69 425 #elif defined(TARGET_STM32F446ZE)
Zaitsev 10:41552d038a69 426
Zaitsev 10:41552d038a69 427 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 428 #define INITIAL_SP (0x20020000UL)
Zaitsev 10:41552d038a69 429 #endif
Zaitsev 10:41552d038a69 430 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 431 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 432 #endif
Zaitsev 10:41552d038a69 433 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 434 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 435 #endif
Zaitsev 10:41552d038a69 436 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 437 #define OS_CLOCK 180000000
Zaitsev 10:41552d038a69 438 #endif
Zaitsev 10:41552d038a69 439
Zaitsev 10:41552d038a69 440 #elif defined(TARGET_STM32F407VG)
Zaitsev 10:41552d038a69 441
Zaitsev 10:41552d038a69 442 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 443 #define INITIAL_SP (0x20020000UL)
Zaitsev 10:41552d038a69 444 #endif
Zaitsev 10:41552d038a69 445 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 446 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 447 #endif
Zaitsev 10:41552d038a69 448 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 449 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 450 #endif
Zaitsev 10:41552d038a69 451 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 452 #define OS_CLOCK 168000000
Zaitsev 10:41552d038a69 453 #endif
Zaitsev 10:41552d038a69 454
Zaitsev 10:41552d038a69 455 #elif defined(TARGET_STM32F746NG)
Zaitsev 10:41552d038a69 456
Zaitsev 10:41552d038a69 457 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 458 #define INITIAL_SP (0x20050000UL)
Zaitsev 10:41552d038a69 459 #endif
Zaitsev 10:41552d038a69 460 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 461 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 462 #endif
Zaitsev 10:41552d038a69 463 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 464 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 465 #endif
Zaitsev 10:41552d038a69 466 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 467 #define OS_CLOCK 216000000
Zaitsev 10:41552d038a69 468 #endif
Zaitsev 10:41552d038a69 469
Zaitsev 10:41552d038a69 470 #elif (defined(TARGET_STM32F746ZG) || defined(TARGET_STM32F756ZG))
Zaitsev 10:41552d038a69 471
Zaitsev 10:41552d038a69 472 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 473 #define INITIAL_SP (0x20050000UL)
Zaitsev 10:41552d038a69 474 #endif
Zaitsev 10:41552d038a69 475 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 476 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 477 #endif
Zaitsev 10:41552d038a69 478 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 479 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 480 #endif
Zaitsev 10:41552d038a69 481 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 482 #define OS_CLOCK 216000000
Zaitsev 10:41552d038a69 483 #endif
Zaitsev 10:41552d038a69 484
Zaitsev 10:41552d038a69 485 #elif defined(TARGET_STM32F767ZI)
Zaitsev 10:41552d038a69 486
Zaitsev 10:41552d038a69 487 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 488 #define INITIAL_SP (0x20080000UL)
Zaitsev 10:41552d038a69 489 #endif
Zaitsev 10:41552d038a69 490 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 491 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 492 #endif
Zaitsev 10:41552d038a69 493 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 494 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 495 #endif
Zaitsev 10:41552d038a69 496 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 497 #define OS_CLOCK 216000000
Zaitsev 10:41552d038a69 498 #endif
Zaitsev 10:41552d038a69 499
Zaitsev 10:41552d038a69 500 #elif defined(TARGET_STM32F769NI)
Zaitsev 10:41552d038a69 501
Zaitsev 10:41552d038a69 502 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 503 #define INITIAL_SP (0x20080000UL)
Zaitsev 10:41552d038a69 504 #endif
Zaitsev 10:41552d038a69 505 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 506 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 507 #endif
Zaitsev 10:41552d038a69 508 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 509 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 510 #endif
Zaitsev 10:41552d038a69 511 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 512 #define OS_CLOCK 216000000
Zaitsev 10:41552d038a69 513 #endif
Zaitsev 10:41552d038a69 514
Zaitsev 10:41552d038a69 515 #elif defined(TARGET_STM32L053C8)
Zaitsev 10:41552d038a69 516
Zaitsev 10:41552d038a69 517 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 518 #define INITIAL_SP (0x20002000UL)
Zaitsev 10:41552d038a69 519 #endif
Zaitsev 10:41552d038a69 520 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 521 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 522 #endif
Zaitsev 10:41552d038a69 523 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 524 #define OS_MAINSTKSIZE 112
Zaitsev 10:41552d038a69 525 #endif
Zaitsev 10:41552d038a69 526 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 527 #define OS_CLOCK 32000000
Zaitsev 10:41552d038a69 528 #endif
Zaitsev 10:41552d038a69 529
Zaitsev 10:41552d038a69 530 #elif defined(TARGET_STM32L031K6)
Zaitsev 10:41552d038a69 531
Zaitsev 10:41552d038a69 532 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 533 #define INITIAL_SP (0x20002000UL)
Zaitsev 10:41552d038a69 534 #endif
Zaitsev 10:41552d038a69 535 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 536 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 537 #endif
Zaitsev 10:41552d038a69 538 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 539 #define OS_MAINSTKSIZE 112
Zaitsev 10:41552d038a69 540 #endif
Zaitsev 10:41552d038a69 541 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 542 #define OS_CLOCK 32000000
Zaitsev 10:41552d038a69 543 #endif
Zaitsev 10:41552d038a69 544
Zaitsev 10:41552d038a69 545 #elif defined(TARGET_STM32L053R8)
Zaitsev 10:41552d038a69 546
Zaitsev 10:41552d038a69 547 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 548 #define INITIAL_SP (0x20002000UL)
Zaitsev 10:41552d038a69 549 #endif
Zaitsev 10:41552d038a69 550 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 551 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 552 #endif
Zaitsev 10:41552d038a69 553 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 554 #define OS_MAINSTKSIZE 112
Zaitsev 10:41552d038a69 555 #endif
Zaitsev 10:41552d038a69 556 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 557 #define OS_CLOCK 32000000
Zaitsev 10:41552d038a69 558 #endif
Zaitsev 10:41552d038a69 559
Zaitsev 10:41552d038a69 560 #elif defined(TARGET_STM32L073RZ)
Zaitsev 10:41552d038a69 561
Zaitsev 10:41552d038a69 562 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 563 #define INITIAL_SP (0x20005000UL)
Zaitsev 10:41552d038a69 564 #endif
Zaitsev 10:41552d038a69 565 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 566 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 567 #endif
Zaitsev 10:41552d038a69 568 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 569 #define OS_MAINSTKSIZE 112
Zaitsev 10:41552d038a69 570 #endif
Zaitsev 10:41552d038a69 571 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 572 #define OS_CLOCK 32000000
Zaitsev 10:41552d038a69 573 #endif
Zaitsev 10:41552d038a69 574
Zaitsev 10:41552d038a69 575 #elif defined(TARGET_STM32L152RC)
Zaitsev 10:41552d038a69 576
Zaitsev 10:41552d038a69 577 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 578 #define INITIAL_SP (0x20008000UL)
Zaitsev 10:41552d038a69 579 #endif
Zaitsev 10:41552d038a69 580 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 581 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 582 #endif
Zaitsev 10:41552d038a69 583 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 584 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 585 #endif
Zaitsev 10:41552d038a69 586 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 587 #define OS_CLOCK 24000000
Zaitsev 10:41552d038a69 588 #endif
Zaitsev 10:41552d038a69 589
Zaitsev 10:41552d038a69 590 #elif defined(TARGET_STM32L152RE)
Zaitsev 10:41552d038a69 591
Zaitsev 10:41552d038a69 592 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 593 #define INITIAL_SP (0x20014000UL)
Zaitsev 10:41552d038a69 594 #endif
Zaitsev 10:41552d038a69 595 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 596 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 597 #endif
Zaitsev 10:41552d038a69 598 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 599 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 600 #endif
Zaitsev 10:41552d038a69 601 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 602 #define OS_CLOCK 32000000
Zaitsev 10:41552d038a69 603 #endif
Zaitsev 10:41552d038a69 604
Zaitsev 10:41552d038a69 605 #elif defined(TARGET_NZ32_SC151)
Zaitsev 10:41552d038a69 606
Zaitsev 10:41552d038a69 607 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 608 #define INITIAL_SP (0x20008000UL)
Zaitsev 10:41552d038a69 609 #endif
Zaitsev 10:41552d038a69 610 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 611 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 612 #endif
Zaitsev 10:41552d038a69 613 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 614 #define OS_MAINSTKSIZE 128
Zaitsev 10:41552d038a69 615 #endif
Zaitsev 10:41552d038a69 616 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 617 #define OS_CLOCK 32000000
Zaitsev 10:41552d038a69 618 #endif
Zaitsev 10:41552d038a69 619
Zaitsev 10:41552d038a69 620 #elif defined(TARGET_XDOT_L151CC)
Zaitsev 10:41552d038a69 621
Zaitsev 10:41552d038a69 622 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 623 #define INITIAL_SP (0x20008000UL)
Zaitsev 10:41552d038a69 624 #endif
Zaitsev 10:41552d038a69 625 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 626 #define OS_TASKCNT 6
Zaitsev 10:41552d038a69 627 #endif
Zaitsev 10:41552d038a69 628 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 629 #define OS_MAINSTKSIZE 128
Zaitsev 10:41552d038a69 630 #endif
Zaitsev 10:41552d038a69 631 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 632 #define OS_CLOCK 32000000
Zaitsev 10:41552d038a69 633 #endif
Zaitsev 10:41552d038a69 634
Zaitsev 10:41552d038a69 635 #elif defined(TARGET_STM32L476VG)
Zaitsev 10:41552d038a69 636
Zaitsev 10:41552d038a69 637 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 638 #define INITIAL_SP (0x20018000UL)
Zaitsev 10:41552d038a69 639 #endif
Zaitsev 10:41552d038a69 640 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 641 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 642 #endif
Zaitsev 10:41552d038a69 643 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 644 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 645 #endif
Zaitsev 10:41552d038a69 646 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 647 #define OS_CLOCK 80000000
Zaitsev 10:41552d038a69 648 #endif
Zaitsev 10:41552d038a69 649
Zaitsev 10:41552d038a69 650 #elif defined(TARGET_STM32L432KC)
Zaitsev 10:41552d038a69 651
Zaitsev 10:41552d038a69 652 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 653 #define INITIAL_SP (0x2000C000UL)
Zaitsev 10:41552d038a69 654 #endif
Zaitsev 10:41552d038a69 655 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 656 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 657 #endif
Zaitsev 10:41552d038a69 658 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 659 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 660 #endif
Zaitsev 10:41552d038a69 661 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 662 #define OS_CLOCK 80000000
Zaitsev 10:41552d038a69 663 #endif
Zaitsev 10:41552d038a69 664
Zaitsev 10:41552d038a69 665 #elif (defined(TARGET_STM32L476RG) || defined(TARGET_STM32L486RG))
Zaitsev 10:41552d038a69 666
Zaitsev 10:41552d038a69 667 #ifndef INITIAL_SP
Zaitsev 10:41552d038a69 668 #define INITIAL_SP (0x20018000UL)
Zaitsev 10:41552d038a69 669 #endif
Zaitsev 10:41552d038a69 670 #ifndef OS_TASKCNT
Zaitsev 10:41552d038a69 671 #define OS_TASKCNT 14
Zaitsev 10:41552d038a69 672 #endif
Zaitsev 10:41552d038a69 673 #ifndef OS_MAINSTKSIZE
Zaitsev 10:41552d038a69 674 #define OS_MAINSTKSIZE 256
Zaitsev 10:41552d038a69 675 #endif
Zaitsev 10:41552d038a69 676 #ifndef OS_CLOCK
Zaitsev 10:41552d038a69 677 #define OS_CLOCK 80000000
Zaitsev 10:41552d038a69 678 #endif
Zaitsev 10:41552d038a69 679
Zaitsev 10:41552d038a69 680 #endif
Zaitsev 10:41552d038a69 681
Zaitsev 10:41552d038a69 682 #endif // MBED_MBED_RTX_H