Clone of mbed rtos 2 for easy accessibility.
Fork of mbed-rtos by
targets/TARGET_Freescale/mbed_rtx4.h@125:5713cbbdb706, 2017-07-04 (annotated)
- 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?
User | Revision | Line number | New 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_K20D50M) |
Kojto | 125:5713cbbdb706 | 21 | |
Kojto | 125:5713cbbdb706 | 22 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 23 | #define INITIAL_SP (0x10008000UL) |
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 14 |
Kojto | 125:5713cbbdb706 | 30 | #endif |
Kojto | 125:5713cbbdb706 | 31 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 32 | #define OS_MAINSTKSIZE 256 |
Kojto | 125:5713cbbdb706 | 33 | #endif |
Kojto | 125:5713cbbdb706 | 34 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 35 | #define OS_CLOCK 96000000 |
Kojto | 125:5713cbbdb706 | 36 | #endif |
Kojto | 125:5713cbbdb706 | 37 | |
Kojto | 125:5713cbbdb706 | 38 | #elif defined(TARGET_TEENSY3_1) |
Kojto | 125:5713cbbdb706 | 39 | |
Kojto | 125:5713cbbdb706 | 40 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 41 | #define INITIAL_SP (0x20008000UL) |
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 14 |
Kojto | 125:5713cbbdb706 | 48 | #endif |
Kojto | 125:5713cbbdb706 | 49 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 50 | #define OS_MAINSTKSIZE 256 |
Kojto | 125:5713cbbdb706 | 51 | #endif |
Kojto | 125:5713cbbdb706 | 52 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 53 | #define OS_CLOCK 96000000 |
Kojto | 125:5713cbbdb706 | 54 | #endif |
Kojto | 125:5713cbbdb706 | 55 | |
Kojto | 125:5713cbbdb706 | 56 | #elif defined(TARGET_MCU_K22F) |
Kojto | 125:5713cbbdb706 | 57 | |
Kojto | 125:5713cbbdb706 | 58 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 59 | #define INITIAL_SP (0x20010000UL) |
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 14 |
Kojto | 125:5713cbbdb706 | 66 | #endif |
Kojto | 125:5713cbbdb706 | 67 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 68 | #define OS_MAINSTKSIZE 256 |
Kojto | 125:5713cbbdb706 | 69 | #endif |
Kojto | 125:5713cbbdb706 | 70 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 71 | #define OS_CLOCK 80000000 |
Kojto | 125:5713cbbdb706 | 72 | #endif |
Kojto | 125:5713cbbdb706 | 73 | |
Kojto | 125:5713cbbdb706 | 74 | #elif defined(TARGET_K66F) |
Kojto | 125:5713cbbdb706 | 75 | |
Kojto | 125:5713cbbdb706 | 76 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 77 | #define INITIAL_SP (0x20030000UL) |
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 14 |
Kojto | 125:5713cbbdb706 | 84 | #endif |
Kojto | 125:5713cbbdb706 | 85 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 86 | #define OS_MAINSTKSIZE 256 |
Kojto | 125:5713cbbdb706 | 87 | #endif |
Kojto | 125:5713cbbdb706 | 88 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 89 | #define OS_CLOCK 120000000 |
Kojto | 125:5713cbbdb706 | 90 | #endif |
Kojto | 125:5713cbbdb706 | 91 | |
Kojto | 125:5713cbbdb706 | 92 | #elif defined(TARGET_KL27Z) |
Kojto | 125:5713cbbdb706 | 93 | |
Kojto | 125:5713cbbdb706 | 94 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 95 | #define INITIAL_SP (0x20003000UL) |
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_KL43Z) |
Kojto | 125:5713cbbdb706 | 111 | |
Kojto | 125:5713cbbdb706 | 112 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 113 | #define INITIAL_SP (0x20006000UL) |
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 14 |
Kojto | 125:5713cbbdb706 | 120 | #endif |
Kojto | 125:5713cbbdb706 | 121 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 122 | #define OS_MAINSTKSIZE 256 |
Kojto | 125:5713cbbdb706 | 123 | #endif |
Kojto | 125:5713cbbdb706 | 124 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 125 | #define OS_CLOCK 48000000 |
Kojto | 125:5713cbbdb706 | 126 | #endif |
Kojto | 125:5713cbbdb706 | 127 | |
Kojto | 125:5713cbbdb706 | 128 | #elif defined(TARGET_KL05Z) |
Kojto | 125:5713cbbdb706 | 129 | |
Kojto | 125:5713cbbdb706 | 130 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 131 | #define INITIAL_SP (0x20000C00UL) |
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 14 |
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 48000000 |
Kojto | 125:5713cbbdb706 | 144 | #endif |
Kojto | 125:5713cbbdb706 | 145 | |
Kojto | 125:5713cbbdb706 | 146 | #elif defined(TARGET_KL25Z) |
Kojto | 125:5713cbbdb706 | 147 | |
Kojto | 125:5713cbbdb706 | 148 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 149 | #define INITIAL_SP (0x20003000UL) |
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 128 |
Kojto | 125:5713cbbdb706 | 159 | #endif |
Kojto | 125:5713cbbdb706 | 160 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 161 | #define OS_CLOCK 48000000 |
Kojto | 125:5713cbbdb706 | 162 | #endif |
Kojto | 125:5713cbbdb706 | 163 | |
Kojto | 125:5713cbbdb706 | 164 | #elif defined(TARGET_KL26Z) |
Kojto | 125:5713cbbdb706 | 165 | |
Kojto | 125:5713cbbdb706 | 166 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 167 | #define INITIAL_SP (0x20003000UL) |
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 128 |
Kojto | 125:5713cbbdb706 | 177 | #endif |
Kojto | 125:5713cbbdb706 | 178 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 179 | #define OS_CLOCK 48000000 |
Kojto | 125:5713cbbdb706 | 180 | #endif |
Kojto | 125:5713cbbdb706 | 181 | |
Kojto | 125:5713cbbdb706 | 182 | #elif defined(TARGET_KL46Z) |
Kojto | 125:5713cbbdb706 | 183 | |
Kojto | 125:5713cbbdb706 | 184 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 185 | #define INITIAL_SP (0x20006000UL) |
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 14 |
Kojto | 125:5713cbbdb706 | 192 | #endif |
Kojto | 125:5713cbbdb706 | 193 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 194 | #define OS_MAINSTKSIZE 256 |
Kojto | 125:5713cbbdb706 | 195 | #endif |
Kojto | 125:5713cbbdb706 | 196 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 197 | #define OS_CLOCK 48000000 |
Kojto | 125:5713cbbdb706 | 198 | #endif |
Kojto | 125:5713cbbdb706 | 199 | |
Kojto | 125:5713cbbdb706 | 200 | #elif defined(TARGET_KL82Z) |
Kojto | 125:5713cbbdb706 | 201 | |
Kojto | 125:5713cbbdb706 | 202 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 203 | #define INITIAL_SP (0x20012000UL) |
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 14 |
Kojto | 125:5713cbbdb706 | 210 | #endif |
Kojto | 125:5713cbbdb706 | 211 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 212 | #define OS_MAINSTKSIZE 256 |
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_K64F) |
Kojto | 125:5713cbbdb706 | 219 | |
Kojto | 125:5713cbbdb706 | 220 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 221 | #define INITIAL_SP (0x20030000UL) |
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 | #if defined(__CC_ARM) || defined(__GNUC__) |
Kojto | 125:5713cbbdb706 | 227 | #define ISR_STACK_SIZE (0x1000) |
Kojto | 125:5713cbbdb706 | 228 | #endif |
Kojto | 125:5713cbbdb706 | 229 | |
Kojto | 125:5713cbbdb706 | 230 | #ifndef OS_TASKCNT |
Kojto | 125:5713cbbdb706 | 231 | #define OS_TASKCNT 14 |
Kojto | 125:5713cbbdb706 | 232 | #endif |
Kojto | 125:5713cbbdb706 | 233 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 234 | #define OS_MAINSTKSIZE 256 |
Kojto | 125:5713cbbdb706 | 235 | #endif |
Kojto | 125:5713cbbdb706 | 236 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 237 | #define OS_CLOCK 120000000 |
Kojto | 125:5713cbbdb706 | 238 | #endif |
Kojto | 125:5713cbbdb706 | 239 | |
Kojto | 125:5713cbbdb706 | 240 | #elif defined(TARGET_KW24D) |
Kojto | 125:5713cbbdb706 | 241 | |
Kojto | 125:5713cbbdb706 | 242 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 243 | #define INITIAL_SP (0x20008000UL) |
Kojto | 125:5713cbbdb706 | 244 | #endif |
Kojto | 125:5713cbbdb706 | 245 | |
Kojto | 125:5713cbbdb706 | 246 | // RTX 4 only config below, for backward-compability |
Kojto | 125:5713cbbdb706 | 247 | |
Kojto | 125:5713cbbdb706 | 248 | #ifndef OS_TASKCNT |
Kojto | 125:5713cbbdb706 | 249 | #define OS_TASKCNT 14 |
Kojto | 125:5713cbbdb706 | 250 | #endif |
Kojto | 125:5713cbbdb706 | 251 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 252 | #define OS_MAINSTKSIZE 256 |
Kojto | 125:5713cbbdb706 | 253 | #endif |
Kojto | 125:5713cbbdb706 | 254 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 255 | #define OS_CLOCK 48000000 |
Kojto | 125:5713cbbdb706 | 256 | #endif |
Kojto | 125:5713cbbdb706 | 257 | |
Kojto | 125:5713cbbdb706 | 258 | #elif defined(TARGET_KW41Z) |
Kojto | 125:5713cbbdb706 | 259 | |
Kojto | 125:5713cbbdb706 | 260 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 261 | #define INITIAL_SP (0x20018000UL) |
Kojto | 125:5713cbbdb706 | 262 | #endif |
Kojto | 125:5713cbbdb706 | 263 | |
Kojto | 125:5713cbbdb706 | 264 | // RTX 4 only config below, for backward-compability |
Kojto | 125:5713cbbdb706 | 265 | |
Kojto | 125:5713cbbdb706 | 266 | #ifndef OS_TASKCNT |
Kojto | 125:5713cbbdb706 | 267 | #define OS_TASKCNT 14 |
Kojto | 125:5713cbbdb706 | 268 | #endif |
Kojto | 125:5713cbbdb706 | 269 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 270 | #define OS_MAINSTKSIZE 256 |
Kojto | 125:5713cbbdb706 | 271 | #endif |
Kojto | 125:5713cbbdb706 | 272 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 273 | #define OS_CLOCK 40000000 |
Kojto | 125:5713cbbdb706 | 274 | #endif |
Kojto | 125:5713cbbdb706 | 275 | |
Kojto | 125:5713cbbdb706 | 276 | #elif defined(TARGET_K82F) |
Kojto | 125:5713cbbdb706 | 277 | |
Kojto | 125:5713cbbdb706 | 278 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 279 | #define INITIAL_SP (0x20030000UL) |
Kojto | 125:5713cbbdb706 | 280 | #endif |
Kojto | 125:5713cbbdb706 | 281 | |
Kojto | 125:5713cbbdb706 | 282 | // RTX 4 only config below, for backward-compability |
Kojto | 125:5713cbbdb706 | 283 | |
Kojto | 125:5713cbbdb706 | 284 | #ifndef OS_TASKCNT |
Kojto | 125:5713cbbdb706 | 285 | #define OS_TASKCNT 14 |
Kojto | 125:5713cbbdb706 | 286 | #endif |
Kojto | 125:5713cbbdb706 | 287 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 288 | #define OS_MAINSTKSIZE 256 |
Kojto | 125:5713cbbdb706 | 289 | #endif |
Kojto | 125:5713cbbdb706 | 290 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 291 | #define OS_CLOCK 120000000 |
Kojto | 125:5713cbbdb706 | 292 | #endif |
Kojto | 125:5713cbbdb706 | 293 | |
Kojto | 125:5713cbbdb706 | 294 | #elif defined(TARGET_RO359B) |
Kojto | 125:5713cbbdb706 | 295 | |
Kojto | 125:5713cbbdb706 | 296 | #ifndef INITIAL_SP |
Kojto | 125:5713cbbdb706 | 297 | #define INITIAL_SP (0x20030000UL) |
Kojto | 125:5713cbbdb706 | 298 | #endif |
Kojto | 125:5713cbbdb706 | 299 | |
Kojto | 125:5713cbbdb706 | 300 | // RTX 4 only config below, for backward-compability |
Kojto | 125:5713cbbdb706 | 301 | |
Kojto | 125:5713cbbdb706 | 302 | #if defined(__CC_ARM) || defined(__GNUC__) |
Kojto | 125:5713cbbdb706 | 303 | #define ISR_STACK_SIZE (0x1000) |
Kojto | 125:5713cbbdb706 | 304 | #endif |
Kojto | 125:5713cbbdb706 | 305 | |
Kojto | 125:5713cbbdb706 | 306 | #ifndef OS_TASKCNT |
Kojto | 125:5713cbbdb706 | 307 | #define OS_TASKCNT 14 |
Kojto | 125:5713cbbdb706 | 308 | #endif |
Kojto | 125:5713cbbdb706 | 309 | #ifndef OS_MAINSTKSIZE |
Kojto | 125:5713cbbdb706 | 310 | #define OS_MAINSTKSIZE 256 |
Kojto | 125:5713cbbdb706 | 311 | #endif |
Kojto | 125:5713cbbdb706 | 312 | #ifndef OS_CLOCK |
Kojto | 125:5713cbbdb706 | 313 | #define OS_CLOCK 96000000 |
Kojto | 125:5713cbbdb706 | 314 | #endif |
Kojto | 125:5713cbbdb706 | 315 | |
Kojto | 125:5713cbbdb706 | 316 | #endif |
Kojto | 125:5713cbbdb706 | 317 | |
Kojto | 125:5713cbbdb706 | 318 | #endif // MBED_MBED_RTX_H |