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