Pinned to some recent date
targets/TARGET_Freescale/mbed_rtx.h@0:fb7af294d5d9, 2016-11-17 (annotated)
- Committer:
- Simon Cooksey
- Date:
- Thu Nov 17 16:43:53 2016 +0000
- Revision:
- 0:fb7af294d5d9
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Simon Cooksey |
0:fb7af294d5d9 | 1 | /* mbed Microcontroller Library |
Simon Cooksey |
0:fb7af294d5d9 | 2 | * Copyright (c) 2016 ARM Limited |
Simon Cooksey |
0:fb7af294d5d9 | 3 | * |
Simon Cooksey |
0:fb7af294d5d9 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Simon Cooksey |
0:fb7af294d5d9 | 5 | * you may not use this file except in compliance with the License. |
Simon Cooksey |
0:fb7af294d5d9 | 6 | * You may obtain a copy of the License at |
Simon Cooksey |
0:fb7af294d5d9 | 7 | * |
Simon Cooksey |
0:fb7af294d5d9 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Simon Cooksey |
0:fb7af294d5d9 | 9 | * |
Simon Cooksey |
0:fb7af294d5d9 | 10 | * Unless required by applicable law or agreed to in writing, software |
Simon Cooksey |
0:fb7af294d5d9 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Simon Cooksey |
0:fb7af294d5d9 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Simon Cooksey |
0:fb7af294d5d9 | 13 | * See the License for the specific language governing permissions and |
Simon Cooksey |
0:fb7af294d5d9 | 14 | * limitations under the License. |
Simon Cooksey |
0:fb7af294d5d9 | 15 | */ |
Simon Cooksey |
0:fb7af294d5d9 | 16 | |
Simon Cooksey |
0:fb7af294d5d9 | 17 | #ifndef MBED_MBED_RTX_H |
Simon Cooksey |
0:fb7af294d5d9 | 18 | #define MBED_MBED_RTX_H |
Simon Cooksey |
0:fb7af294d5d9 | 19 | |
Simon Cooksey |
0:fb7af294d5d9 | 20 | #if defined(TARGET_K20D50M) |
Simon Cooksey |
0:fb7af294d5d9 | 21 | |
Simon Cooksey |
0:fb7af294d5d9 | 22 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 23 | #define INITIAL_SP (0x10008000UL) |
Simon Cooksey |
0:fb7af294d5d9 | 24 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 25 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 26 | #define OS_TASKCNT 14 |
Simon Cooksey |
0:fb7af294d5d9 | 27 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 28 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 29 | #define OS_MAINSTKSIZE 256 |
Simon Cooksey |
0:fb7af294d5d9 | 30 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 31 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 32 | #define OS_CLOCK 96000000 |
Simon Cooksey |
0:fb7af294d5d9 | 33 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 34 | |
Simon Cooksey |
0:fb7af294d5d9 | 35 | #elif defined(TARGET_TEENSY3_1) |
Simon Cooksey |
0:fb7af294d5d9 | 36 | |
Simon Cooksey |
0:fb7af294d5d9 | 37 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 38 | #define INITIAL_SP (0x20008000UL) |
Simon Cooksey |
0:fb7af294d5d9 | 39 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 40 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 41 | #define OS_TASKCNT 14 |
Simon Cooksey |
0:fb7af294d5d9 | 42 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 43 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 44 | #define OS_MAINSTKSIZE 256 |
Simon Cooksey |
0:fb7af294d5d9 | 45 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 46 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 47 | #define OS_CLOCK 96000000 |
Simon Cooksey |
0:fb7af294d5d9 | 48 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 49 | |
Simon Cooksey |
0:fb7af294d5d9 | 50 | #elif defined(TARGET_K22F) |
Simon Cooksey |
0:fb7af294d5d9 | 51 | |
Simon Cooksey |
0:fb7af294d5d9 | 52 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 53 | #define INITIAL_SP (0x20010000UL) |
Simon Cooksey |
0:fb7af294d5d9 | 54 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 55 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 56 | #define OS_TASKCNT 14 |
Simon Cooksey |
0:fb7af294d5d9 | 57 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 58 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 59 | #define OS_MAINSTKSIZE 256 |
Simon Cooksey |
0:fb7af294d5d9 | 60 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 61 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 62 | #define OS_CLOCK 80000000 |
Simon Cooksey |
0:fb7af294d5d9 | 63 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 64 | |
Simon Cooksey |
0:fb7af294d5d9 | 65 | #elif defined(TARGET_K66F) |
Simon Cooksey |
0:fb7af294d5d9 | 66 | |
Simon Cooksey |
0:fb7af294d5d9 | 67 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 68 | #define INITIAL_SP (0x20030000UL) |
Simon Cooksey |
0:fb7af294d5d9 | 69 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 70 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 71 | #define OS_TASKCNT 14 |
Simon Cooksey |
0:fb7af294d5d9 | 72 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 73 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 74 | #define OS_MAINSTKSIZE 256 |
Simon Cooksey |
0:fb7af294d5d9 | 75 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 76 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 77 | #define OS_CLOCK 120000000 |
Simon Cooksey |
0:fb7af294d5d9 | 78 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 79 | |
Simon Cooksey |
0:fb7af294d5d9 | 80 | #elif defined(TARGET_KL27Z) |
Simon Cooksey |
0:fb7af294d5d9 | 81 | |
Simon Cooksey |
0:fb7af294d5d9 | 82 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 83 | #define INITIAL_SP (0x20003000UL) |
Simon Cooksey |
0:fb7af294d5d9 | 84 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 85 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 86 | #define OS_TASKCNT 6 |
Simon Cooksey |
0:fb7af294d5d9 | 87 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 88 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 89 | #define OS_MAINSTKSIZE 128 |
Simon Cooksey |
0:fb7af294d5d9 | 90 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 91 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 92 | #define OS_CLOCK 48000000 |
Simon Cooksey |
0:fb7af294d5d9 | 93 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 94 | |
Simon Cooksey |
0:fb7af294d5d9 | 95 | #elif defined(TARGET_KL43Z) |
Simon Cooksey |
0:fb7af294d5d9 | 96 | |
Simon Cooksey |
0:fb7af294d5d9 | 97 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 98 | #define INITIAL_SP (0x20006000UL) |
Simon Cooksey |
0:fb7af294d5d9 | 99 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 100 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 101 | #define OS_TASKCNT 14 |
Simon Cooksey |
0:fb7af294d5d9 | 102 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 103 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 104 | #define OS_MAINSTKSIZE 256 |
Simon Cooksey |
0:fb7af294d5d9 | 105 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 106 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 107 | #define OS_CLOCK 48000000 |
Simon Cooksey |
0:fb7af294d5d9 | 108 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 109 | |
Simon Cooksey |
0:fb7af294d5d9 | 110 | #elif defined(TARGET_KL05Z) |
Simon Cooksey |
0:fb7af294d5d9 | 111 | |
Simon Cooksey |
0:fb7af294d5d9 | 112 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 113 | #define INITIAL_SP (0x20000C00UL) |
Simon Cooksey |
0:fb7af294d5d9 | 114 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 115 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 116 | #define OS_TASKCNT 6 |
Simon Cooksey |
0:fb7af294d5d9 | 117 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 118 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 119 | #define OS_MAINSTKSIZE 128 |
Simon Cooksey |
0:fb7af294d5d9 | 120 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 121 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 122 | #define OS_CLOCK 48000000 |
Simon Cooksey |
0:fb7af294d5d9 | 123 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 124 | |
Simon Cooksey |
0:fb7af294d5d9 | 125 | #elif defined(TARGET_KL25Z) |
Simon Cooksey |
0:fb7af294d5d9 | 126 | |
Simon Cooksey |
0:fb7af294d5d9 | 127 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 128 | #define INITIAL_SP (0x20003000UL) |
Simon Cooksey |
0:fb7af294d5d9 | 129 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 130 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 131 | #define OS_TASKCNT 6 |
Simon Cooksey |
0:fb7af294d5d9 | 132 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 133 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 134 | #define OS_MAINSTKSIZE 128 |
Simon Cooksey |
0:fb7af294d5d9 | 135 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 136 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 137 | #define OS_CLOCK 48000000 |
Simon Cooksey |
0:fb7af294d5d9 | 138 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 139 | |
Simon Cooksey |
0:fb7af294d5d9 | 140 | #elif defined(TARGET_KL26Z) |
Simon Cooksey |
0:fb7af294d5d9 | 141 | |
Simon Cooksey |
0:fb7af294d5d9 | 142 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 143 | #define INITIAL_SP (0x20003000UL) |
Simon Cooksey |
0:fb7af294d5d9 | 144 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 145 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 146 | #define OS_TASKCNT 6 |
Simon Cooksey |
0:fb7af294d5d9 | 147 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 148 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 149 | #define OS_MAINSTKSIZE 128 |
Simon Cooksey |
0:fb7af294d5d9 | 150 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 151 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 152 | #define OS_CLOCK 48000000 |
Simon Cooksey |
0:fb7af294d5d9 | 153 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 154 | |
Simon Cooksey |
0:fb7af294d5d9 | 155 | #elif defined(TARGET_KL46Z) |
Simon Cooksey |
0:fb7af294d5d9 | 156 | |
Simon Cooksey |
0:fb7af294d5d9 | 157 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 158 | #define INITIAL_SP (0x20006000UL) |
Simon Cooksey |
0:fb7af294d5d9 | 159 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 160 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 161 | #define OS_TASKCNT 14 |
Simon Cooksey |
0:fb7af294d5d9 | 162 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 163 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 164 | #define OS_MAINSTKSIZE 256 |
Simon Cooksey |
0:fb7af294d5d9 | 165 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 166 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 167 | #define OS_CLOCK 48000000 |
Simon Cooksey |
0:fb7af294d5d9 | 168 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 169 | |
Simon Cooksey |
0:fb7af294d5d9 | 170 | #elif defined(TARGET_KL82Z) |
Simon Cooksey |
0:fb7af294d5d9 | 171 | |
Simon Cooksey |
0:fb7af294d5d9 | 172 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 173 | #define INITIAL_SP (0x20012000UL) |
Simon Cooksey |
0:fb7af294d5d9 | 174 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 175 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 176 | #define OS_TASKCNT 14 |
Simon Cooksey |
0:fb7af294d5d9 | 177 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 178 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 179 | #define OS_MAINSTKSIZE 256 |
Simon Cooksey |
0:fb7af294d5d9 | 180 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 181 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 182 | #define OS_CLOCK 72000000 |
Simon Cooksey |
0:fb7af294d5d9 | 183 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 184 | |
Simon Cooksey |
0:fb7af294d5d9 | 185 | #elif defined(TARGET_K64F) |
Simon Cooksey |
0:fb7af294d5d9 | 186 | |
Simon Cooksey |
0:fb7af294d5d9 | 187 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 188 | #define INITIAL_SP (0x20030000UL) |
Simon Cooksey |
0:fb7af294d5d9 | 189 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 190 | |
Simon Cooksey |
0:fb7af294d5d9 | 191 | #if defined(__CC_ARM) || defined(__GNUC__) |
Simon Cooksey |
0:fb7af294d5d9 | 192 | #define ISR_STACK_SIZE (0x1000) |
Simon Cooksey |
0:fb7af294d5d9 | 193 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 194 | |
Simon Cooksey |
0:fb7af294d5d9 | 195 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 196 | #define OS_TASKCNT 14 |
Simon Cooksey |
0:fb7af294d5d9 | 197 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 198 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 199 | #define OS_MAINSTKSIZE 256 |
Simon Cooksey |
0:fb7af294d5d9 | 200 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 201 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 202 | #define OS_CLOCK 120000000 |
Simon Cooksey |
0:fb7af294d5d9 | 203 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 204 | |
Simon Cooksey |
0:fb7af294d5d9 | 205 | #elif defined(TARGET_KW24D) |
Simon Cooksey |
0:fb7af294d5d9 | 206 | |
Simon Cooksey |
0:fb7af294d5d9 | 207 | #ifndef INITIAL_SP |
Simon Cooksey |
0:fb7af294d5d9 | 208 | #define INITIAL_SP (0x20008000UL) |
Simon Cooksey |
0:fb7af294d5d9 | 209 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 210 | #ifndef OS_TASKCNT |
Simon Cooksey |
0:fb7af294d5d9 | 211 | #define OS_TASKCNT 14 |
Simon Cooksey |
0:fb7af294d5d9 | 212 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 213 | #ifndef OS_MAINSTKSIZE |
Simon Cooksey |
0:fb7af294d5d9 | 214 | #define OS_MAINSTKSIZE 256 |
Simon Cooksey |
0:fb7af294d5d9 | 215 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 216 | #ifndef OS_CLOCK |
Simon Cooksey |
0:fb7af294d5d9 | 217 | #define OS_CLOCK 48000000 |
Simon Cooksey |
0:fb7af294d5d9 | 218 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 219 | |
Simon Cooksey |
0:fb7af294d5d9 | 220 | #endif |
Simon Cooksey |
0:fb7af294d5d9 | 221 | |
Simon Cooksey |
0:fb7af294d5d9 | 222 | #endif // MBED_MBED_RTX_H |