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