Fork of mbed-dev build 137, last build before FAT file system appears to be broken. Also reduced HSE timeout time in STM4XX HAL

Fork of mbed-dev by mbed official

Committer:
<>
Date:
Wed Apr 12 16:21:43 2017 +0100
Revision:
162:e13f6fdb2ac4
Parent:
153:fa9ff456f731
Child:
165:e614a9f1c9e2
This updates the lib to the mbed lib v140

Who changed what in which revision?

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