Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Committer:
sahilmgandhi
Date:
Sat Jun 03 00:22:44 2017 +0000
Revision:
46:b156ef445742
Parent:
18:6a4db94011d3
Final code for internal battlebot competition.

Who changed what in which revision?

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