The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
Kojto
Date:
Tue Feb 14 11:24:20 2017 +0000
Revision:
136:ef9c61f8c49f
Parent:
132:9baf128c2fab
Child:
140:97feb9bacc10
Release 136 of the mbed library

Ports for Upcoming Targets


Fixes and Changes

3432: Target STM USBHOST support https://github.com/ARMmbed/mbed-os/pull/3432
3181: NUCLEO_F207ZG extending PeripheralPins.c: all available alternate functions can be used now https://github.com/ARMmbed/mbed-os/pull/3181
3626: NUCLEO_F412ZG : Add USB Device +Host https://github.com/ARMmbed/mbed-os/pull/3626
3628: Fix warnings https://github.com/ARMmbed/mbed-os/pull/3628
3629: STM32: L0 LL layer https://github.com/ARMmbed/mbed-os/pull/3629
3632: IDE Export support for platform VK_RZ_A1H https://github.com/ARMmbed/mbed-os/pull/3632
3642: Missing IRQ pin fix for platform VK_RZ_A1H https://github.com/ARMmbed/mbed-os/pull/3642
3664: Fix ncs36510 sleep definitions https://github.com/ARMmbed/mbed-os/pull/3664
3655: [STM32F4] Modify folder structure https://github.com/ARMmbed/mbed-os/pull/3655
3657: [STM32L4] Modify folder structure https://github.com/ARMmbed/mbed-os/pull/3657
3658: [STM32F3] Modify folder structure https://github.com/ARMmbed/mbed-os/pull/3658
3685: STM32: I2C: reset state machine https://github.com/ARMmbed/mbed-os/pull/3685
3692: uVisor: Standardize available legacy heap and stack https://github.com/ARMmbed/mbed-os/pull/3692
3621: Fix for #2884, LPC824: export to LPCXpresso, target running with wron https://github.com/ARMmbed/mbed-os/pull/3621
3649: [STM32F7] Modify folder structure https://github.com/ARMmbed/mbed-os/pull/3649
3695: Enforce device_name is valid in targets.json https://github.com/ARMmbed/mbed-os/pull/3695
3723: NCS36510: spi_format function bug fix https://github.com/ARMmbed/mbed-os/pull/3723

Who changed what in which revision?

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