Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.

Dependents:   denki-yohou_b TestY201 Network-RTOS NTPClient_HelloWorld ... more

Deprecated

This is the mbed 2 rtos library. mbed OS 5 integrates the mbed library with mbed-rtos. With this, we have provided thread safety for all mbed APIs. If you'd like to learn about using mbed OS 5, please see the docs.

Committer:
Kojto
Date:
Tue Jul 04 13:32:20 2017 +0100
Revision:
125:5713cbbdb706
replace mbed_rtx by mbed_rtx4

Not causing a conflict with mbed_rtx that is for newer rtos

Who changed what in which revision?

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