Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Gyro_Accelerometre2
targets/TARGET_Freescale/mbed_rtx4.h@0:07281ea3b26b, 2018-02-20 (annotated)
- Committer:
- SandrineO
- Date:
- Tue Feb 20 15:58:26 2018 +0000
- Revision:
- 0:07281ea3b26b
temps r?el
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
SandrineO | 0:07281ea3b26b | 1 | /* mbed Microcontroller Library |
SandrineO | 0:07281ea3b26b | 2 | * Copyright (c) 2016 ARM Limited |
SandrineO | 0:07281ea3b26b | 3 | * |
SandrineO | 0:07281ea3b26b | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
SandrineO | 0:07281ea3b26b | 5 | * you may not use this file except in compliance with the License. |
SandrineO | 0:07281ea3b26b | 6 | * You may obtain a copy of the License at |
SandrineO | 0:07281ea3b26b | 7 | * |
SandrineO | 0:07281ea3b26b | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
SandrineO | 0:07281ea3b26b | 9 | * |
SandrineO | 0:07281ea3b26b | 10 | * Unless required by applicable law or agreed to in writing, software |
SandrineO | 0:07281ea3b26b | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
SandrineO | 0:07281ea3b26b | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
SandrineO | 0:07281ea3b26b | 13 | * See the License for the specific language governing permissions and |
SandrineO | 0:07281ea3b26b | 14 | * limitations under the License. |
SandrineO | 0:07281ea3b26b | 15 | */ |
SandrineO | 0:07281ea3b26b | 16 | |
SandrineO | 0:07281ea3b26b | 17 | #ifndef MBED_MBED_RTX_H |
SandrineO | 0:07281ea3b26b | 18 | #define MBED_MBED_RTX_H |
SandrineO | 0:07281ea3b26b | 19 | |
SandrineO | 0:07281ea3b26b | 20 | #if defined(TARGET_K20D50M) |
SandrineO | 0:07281ea3b26b | 21 | |
SandrineO | 0:07281ea3b26b | 22 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 23 | #define INITIAL_SP (0x10008000UL) |
SandrineO | 0:07281ea3b26b | 24 | #endif |
SandrineO | 0:07281ea3b26b | 25 | |
SandrineO | 0:07281ea3b26b | 26 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 27 | |
SandrineO | 0:07281ea3b26b | 28 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 29 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 30 | #endif |
SandrineO | 0:07281ea3b26b | 31 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 32 | #define OS_MAINSTKSIZE 256 |
SandrineO | 0:07281ea3b26b | 33 | #endif |
SandrineO | 0:07281ea3b26b | 34 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 35 | #define OS_CLOCK 96000000 |
SandrineO | 0:07281ea3b26b | 36 | #endif |
SandrineO | 0:07281ea3b26b | 37 | |
SandrineO | 0:07281ea3b26b | 38 | #elif defined(TARGET_TEENSY3_1) |
SandrineO | 0:07281ea3b26b | 39 | |
SandrineO | 0:07281ea3b26b | 40 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 41 | #define INITIAL_SP (0x20008000UL) |
SandrineO | 0:07281ea3b26b | 42 | #endif |
SandrineO | 0:07281ea3b26b | 43 | |
SandrineO | 0:07281ea3b26b | 44 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 45 | |
SandrineO | 0:07281ea3b26b | 46 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 47 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 48 | #endif |
SandrineO | 0:07281ea3b26b | 49 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 50 | #define OS_MAINSTKSIZE 256 |
SandrineO | 0:07281ea3b26b | 51 | #endif |
SandrineO | 0:07281ea3b26b | 52 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 53 | #define OS_CLOCK 96000000 |
SandrineO | 0:07281ea3b26b | 54 | #endif |
SandrineO | 0:07281ea3b26b | 55 | |
SandrineO | 0:07281ea3b26b | 56 | #elif defined(TARGET_MCU_K22F) |
SandrineO | 0:07281ea3b26b | 57 | |
SandrineO | 0:07281ea3b26b | 58 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 59 | #define INITIAL_SP (0x20010000UL) |
SandrineO | 0:07281ea3b26b | 60 | #endif |
SandrineO | 0:07281ea3b26b | 61 | |
SandrineO | 0:07281ea3b26b | 62 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 63 | |
SandrineO | 0:07281ea3b26b | 64 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 65 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 66 | #endif |
SandrineO | 0:07281ea3b26b | 67 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 68 | #define OS_MAINSTKSIZE 256 |
SandrineO | 0:07281ea3b26b | 69 | #endif |
SandrineO | 0:07281ea3b26b | 70 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 71 | #define OS_CLOCK 80000000 |
SandrineO | 0:07281ea3b26b | 72 | #endif |
SandrineO | 0:07281ea3b26b | 73 | |
SandrineO | 0:07281ea3b26b | 74 | #elif defined(TARGET_K66F) |
SandrineO | 0:07281ea3b26b | 75 | |
SandrineO | 0:07281ea3b26b | 76 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 77 | #define INITIAL_SP (0x20030000UL) |
SandrineO | 0:07281ea3b26b | 78 | #endif |
SandrineO | 0:07281ea3b26b | 79 | |
SandrineO | 0:07281ea3b26b | 80 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 81 | |
SandrineO | 0:07281ea3b26b | 82 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 83 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 84 | #endif |
SandrineO | 0:07281ea3b26b | 85 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 86 | #define OS_MAINSTKSIZE 256 |
SandrineO | 0:07281ea3b26b | 87 | #endif |
SandrineO | 0:07281ea3b26b | 88 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 89 | #define OS_CLOCK 120000000 |
SandrineO | 0:07281ea3b26b | 90 | #endif |
SandrineO | 0:07281ea3b26b | 91 | |
SandrineO | 0:07281ea3b26b | 92 | #elif defined(TARGET_KL27Z) |
SandrineO | 0:07281ea3b26b | 93 | |
SandrineO | 0:07281ea3b26b | 94 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 95 | #define INITIAL_SP (0x20003000UL) |
SandrineO | 0:07281ea3b26b | 96 | #endif |
SandrineO | 0:07281ea3b26b | 97 | |
SandrineO | 0:07281ea3b26b | 98 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 99 | |
SandrineO | 0:07281ea3b26b | 100 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 101 | #define OS_TASKCNT 6 |
SandrineO | 0:07281ea3b26b | 102 | #endif |
SandrineO | 0:07281ea3b26b | 103 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 104 | #define OS_MAINSTKSIZE 128 |
SandrineO | 0:07281ea3b26b | 105 | #endif |
SandrineO | 0:07281ea3b26b | 106 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 107 | #define OS_CLOCK 48000000 |
SandrineO | 0:07281ea3b26b | 108 | #endif |
SandrineO | 0:07281ea3b26b | 109 | |
SandrineO | 0:07281ea3b26b | 110 | #elif defined(TARGET_KL43Z) |
SandrineO | 0:07281ea3b26b | 111 | |
SandrineO | 0:07281ea3b26b | 112 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 113 | #define INITIAL_SP (0x20006000UL) |
SandrineO | 0:07281ea3b26b | 114 | #endif |
SandrineO | 0:07281ea3b26b | 115 | |
SandrineO | 0:07281ea3b26b | 116 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 117 | |
SandrineO | 0:07281ea3b26b | 118 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 119 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 120 | #endif |
SandrineO | 0:07281ea3b26b | 121 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 122 | #define OS_MAINSTKSIZE 256 |
SandrineO | 0:07281ea3b26b | 123 | #endif |
SandrineO | 0:07281ea3b26b | 124 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 125 | #define OS_CLOCK 48000000 |
SandrineO | 0:07281ea3b26b | 126 | #endif |
SandrineO | 0:07281ea3b26b | 127 | |
SandrineO | 0:07281ea3b26b | 128 | #elif defined(TARGET_KL05Z) |
SandrineO | 0:07281ea3b26b | 129 | |
SandrineO | 0:07281ea3b26b | 130 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 131 | #define INITIAL_SP (0x20000C00UL) |
SandrineO | 0:07281ea3b26b | 132 | #endif |
SandrineO | 0:07281ea3b26b | 133 | |
SandrineO | 0:07281ea3b26b | 134 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 135 | |
SandrineO | 0:07281ea3b26b | 136 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 137 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 138 | #endif |
SandrineO | 0:07281ea3b26b | 139 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 140 | #define OS_MAINSTKSIZE 128 |
SandrineO | 0:07281ea3b26b | 141 | #endif |
SandrineO | 0:07281ea3b26b | 142 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 143 | #define OS_CLOCK 48000000 |
SandrineO | 0:07281ea3b26b | 144 | #endif |
SandrineO | 0:07281ea3b26b | 145 | |
SandrineO | 0:07281ea3b26b | 146 | #elif defined(TARGET_KL25Z) |
SandrineO | 0:07281ea3b26b | 147 | |
SandrineO | 0:07281ea3b26b | 148 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 149 | #define INITIAL_SP (0x20003000UL) |
SandrineO | 0:07281ea3b26b | 150 | #endif |
SandrineO | 0:07281ea3b26b | 151 | |
SandrineO | 0:07281ea3b26b | 152 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 153 | |
SandrineO | 0:07281ea3b26b | 154 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 155 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 156 | #endif |
SandrineO | 0:07281ea3b26b | 157 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 158 | #define OS_MAINSTKSIZE 128 |
SandrineO | 0:07281ea3b26b | 159 | #endif |
SandrineO | 0:07281ea3b26b | 160 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 161 | #define OS_CLOCK 48000000 |
SandrineO | 0:07281ea3b26b | 162 | #endif |
SandrineO | 0:07281ea3b26b | 163 | |
SandrineO | 0:07281ea3b26b | 164 | #elif defined(TARGET_KL26Z) |
SandrineO | 0:07281ea3b26b | 165 | |
SandrineO | 0:07281ea3b26b | 166 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 167 | #define INITIAL_SP (0x20003000UL) |
SandrineO | 0:07281ea3b26b | 168 | #endif |
SandrineO | 0:07281ea3b26b | 169 | |
SandrineO | 0:07281ea3b26b | 170 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 171 | |
SandrineO | 0:07281ea3b26b | 172 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 173 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 174 | #endif |
SandrineO | 0:07281ea3b26b | 175 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 176 | #define OS_MAINSTKSIZE 128 |
SandrineO | 0:07281ea3b26b | 177 | #endif |
SandrineO | 0:07281ea3b26b | 178 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 179 | #define OS_CLOCK 48000000 |
SandrineO | 0:07281ea3b26b | 180 | #endif |
SandrineO | 0:07281ea3b26b | 181 | |
SandrineO | 0:07281ea3b26b | 182 | #elif defined(TARGET_KL46Z) |
SandrineO | 0:07281ea3b26b | 183 | |
SandrineO | 0:07281ea3b26b | 184 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 185 | #define INITIAL_SP (0x20006000UL) |
SandrineO | 0:07281ea3b26b | 186 | #endif |
SandrineO | 0:07281ea3b26b | 187 | |
SandrineO | 0:07281ea3b26b | 188 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 189 | |
SandrineO | 0:07281ea3b26b | 190 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 191 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 192 | #endif |
SandrineO | 0:07281ea3b26b | 193 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 194 | #define OS_MAINSTKSIZE 256 |
SandrineO | 0:07281ea3b26b | 195 | #endif |
SandrineO | 0:07281ea3b26b | 196 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 197 | #define OS_CLOCK 48000000 |
SandrineO | 0:07281ea3b26b | 198 | #endif |
SandrineO | 0:07281ea3b26b | 199 | |
SandrineO | 0:07281ea3b26b | 200 | #elif defined(TARGET_KL82Z) |
SandrineO | 0:07281ea3b26b | 201 | |
SandrineO | 0:07281ea3b26b | 202 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 203 | #define INITIAL_SP (0x20012000UL) |
SandrineO | 0:07281ea3b26b | 204 | #endif |
SandrineO | 0:07281ea3b26b | 205 | |
SandrineO | 0:07281ea3b26b | 206 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 207 | |
SandrineO | 0:07281ea3b26b | 208 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 209 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 210 | #endif |
SandrineO | 0:07281ea3b26b | 211 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 212 | #define OS_MAINSTKSIZE 256 |
SandrineO | 0:07281ea3b26b | 213 | #endif |
SandrineO | 0:07281ea3b26b | 214 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 215 | #define OS_CLOCK 72000000 |
SandrineO | 0:07281ea3b26b | 216 | #endif |
SandrineO | 0:07281ea3b26b | 217 | |
SandrineO | 0:07281ea3b26b | 218 | #elif defined(TARGET_K64F) |
SandrineO | 0:07281ea3b26b | 219 | |
SandrineO | 0:07281ea3b26b | 220 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 221 | #define INITIAL_SP (0x20030000UL) |
SandrineO | 0:07281ea3b26b | 222 | #endif |
SandrineO | 0:07281ea3b26b | 223 | |
SandrineO | 0:07281ea3b26b | 224 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 225 | |
SandrineO | 0:07281ea3b26b | 226 | #if defined(__CC_ARM) || defined(__GNUC__) |
SandrineO | 0:07281ea3b26b | 227 | #define ISR_STACK_SIZE (0x1000) |
SandrineO | 0:07281ea3b26b | 228 | #endif |
SandrineO | 0:07281ea3b26b | 229 | |
SandrineO | 0:07281ea3b26b | 230 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 231 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 232 | #endif |
SandrineO | 0:07281ea3b26b | 233 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 234 | #define OS_MAINSTKSIZE 256 |
SandrineO | 0:07281ea3b26b | 235 | #endif |
SandrineO | 0:07281ea3b26b | 236 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 237 | #define OS_CLOCK 120000000 |
SandrineO | 0:07281ea3b26b | 238 | #endif |
SandrineO | 0:07281ea3b26b | 239 | |
SandrineO | 0:07281ea3b26b | 240 | #elif defined(TARGET_KW24D) |
SandrineO | 0:07281ea3b26b | 241 | |
SandrineO | 0:07281ea3b26b | 242 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 243 | #define INITIAL_SP (0x20008000UL) |
SandrineO | 0:07281ea3b26b | 244 | #endif |
SandrineO | 0:07281ea3b26b | 245 | |
SandrineO | 0:07281ea3b26b | 246 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 247 | |
SandrineO | 0:07281ea3b26b | 248 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 249 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 250 | #endif |
SandrineO | 0:07281ea3b26b | 251 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 252 | #define OS_MAINSTKSIZE 256 |
SandrineO | 0:07281ea3b26b | 253 | #endif |
SandrineO | 0:07281ea3b26b | 254 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 255 | #define OS_CLOCK 48000000 |
SandrineO | 0:07281ea3b26b | 256 | #endif |
SandrineO | 0:07281ea3b26b | 257 | |
SandrineO | 0:07281ea3b26b | 258 | #elif defined(TARGET_KW41Z) |
SandrineO | 0:07281ea3b26b | 259 | |
SandrineO | 0:07281ea3b26b | 260 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 261 | #define INITIAL_SP (0x20018000UL) |
SandrineO | 0:07281ea3b26b | 262 | #endif |
SandrineO | 0:07281ea3b26b | 263 | |
SandrineO | 0:07281ea3b26b | 264 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 265 | |
SandrineO | 0:07281ea3b26b | 266 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 267 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 268 | #endif |
SandrineO | 0:07281ea3b26b | 269 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 270 | #define OS_MAINSTKSIZE 256 |
SandrineO | 0:07281ea3b26b | 271 | #endif |
SandrineO | 0:07281ea3b26b | 272 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 273 | #define OS_CLOCK 40000000 |
SandrineO | 0:07281ea3b26b | 274 | #endif |
SandrineO | 0:07281ea3b26b | 275 | |
SandrineO | 0:07281ea3b26b | 276 | #elif defined(TARGET_K82F) |
SandrineO | 0:07281ea3b26b | 277 | |
SandrineO | 0:07281ea3b26b | 278 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 279 | #define INITIAL_SP (0x20030000UL) |
SandrineO | 0:07281ea3b26b | 280 | #endif |
SandrineO | 0:07281ea3b26b | 281 | |
SandrineO | 0:07281ea3b26b | 282 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 283 | |
SandrineO | 0:07281ea3b26b | 284 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 285 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 286 | #endif |
SandrineO | 0:07281ea3b26b | 287 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 288 | #define OS_MAINSTKSIZE 256 |
SandrineO | 0:07281ea3b26b | 289 | #endif |
SandrineO | 0:07281ea3b26b | 290 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 291 | #define OS_CLOCK 120000000 |
SandrineO | 0:07281ea3b26b | 292 | #endif |
SandrineO | 0:07281ea3b26b | 293 | |
SandrineO | 0:07281ea3b26b | 294 | #elif defined(TARGET_RO359B) |
SandrineO | 0:07281ea3b26b | 295 | |
SandrineO | 0:07281ea3b26b | 296 | #ifndef INITIAL_SP |
SandrineO | 0:07281ea3b26b | 297 | #define INITIAL_SP (0x20030000UL) |
SandrineO | 0:07281ea3b26b | 298 | #endif |
SandrineO | 0:07281ea3b26b | 299 | |
SandrineO | 0:07281ea3b26b | 300 | // RTX 4 only config below, for backward-compability |
SandrineO | 0:07281ea3b26b | 301 | |
SandrineO | 0:07281ea3b26b | 302 | #if defined(__CC_ARM) || defined(__GNUC__) |
SandrineO | 0:07281ea3b26b | 303 | #define ISR_STACK_SIZE (0x1000) |
SandrineO | 0:07281ea3b26b | 304 | #endif |
SandrineO | 0:07281ea3b26b | 305 | |
SandrineO | 0:07281ea3b26b | 306 | #ifndef OS_TASKCNT |
SandrineO | 0:07281ea3b26b | 307 | #define OS_TASKCNT 14 |
SandrineO | 0:07281ea3b26b | 308 | #endif |
SandrineO | 0:07281ea3b26b | 309 | #ifndef OS_MAINSTKSIZE |
SandrineO | 0:07281ea3b26b | 310 | #define OS_MAINSTKSIZE 256 |
SandrineO | 0:07281ea3b26b | 311 | #endif |
SandrineO | 0:07281ea3b26b | 312 | #ifndef OS_CLOCK |
SandrineO | 0:07281ea3b26b | 313 | #define OS_CLOCK 96000000 |
SandrineO | 0:07281ea3b26b | 314 | #endif |
SandrineO | 0:07281ea3b26b | 315 | |
SandrineO | 0:07281ea3b26b | 316 | #endif |
SandrineO | 0:07281ea3b26b | 317 | |
SandrineO | 0:07281ea3b26b | 318 | #endif // MBED_MBED_RTX_H |