desp koval / mbed-rtos

Dependents:   Mecatro_Filtre

Committer:
mecatro_prod
Date:
Mon Mar 15 14:18:11 2021 +0000
Revision:
0:4a2c9c1f5b9e
Pas de changement

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mecatro_prod 0:4a2c9c1f5b9e 1 /* mbed Microcontroller Library
mecatro_prod 0:4a2c9c1f5b9e 2 * Copyright (c) 2016 ARM Limited
mecatro_prod 0:4a2c9c1f5b9e 3 *
mecatro_prod 0:4a2c9c1f5b9e 4 * Licensed under the Apache License, Version 2.0 (the "License");
mecatro_prod 0:4a2c9c1f5b9e 5 * you may not use this file except in compliance with the License.
mecatro_prod 0:4a2c9c1f5b9e 6 * You may obtain a copy of the License at
mecatro_prod 0:4a2c9c1f5b9e 7 *
mecatro_prod 0:4a2c9c1f5b9e 8 * http://www.apache.org/licenses/LICENSE-2.0
mecatro_prod 0:4a2c9c1f5b9e 9 *
mecatro_prod 0:4a2c9c1f5b9e 10 * Unless required by applicable law or agreed to in writing, software
mecatro_prod 0:4a2c9c1f5b9e 11 * distributed under the License is distributed on an "AS IS" BASIS,
mecatro_prod 0:4a2c9c1f5b9e 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
mecatro_prod 0:4a2c9c1f5b9e 13 * See the License for the specific language governing permissions and
mecatro_prod 0:4a2c9c1f5b9e 14 * limitations under the License.
mecatro_prod 0:4a2c9c1f5b9e 15 */
mecatro_prod 0:4a2c9c1f5b9e 16
mecatro_prod 0:4a2c9c1f5b9e 17 #ifndef MBED_MBED_RTX_H
mecatro_prod 0:4a2c9c1f5b9e 18 #define MBED_MBED_RTX_H
mecatro_prod 0:4a2c9c1f5b9e 19
mecatro_prod 0:4a2c9c1f5b9e 20 #if defined(TARGET_WIZWIKI_W7500)
mecatro_prod 0:4a2c9c1f5b9e 21
mecatro_prod 0:4a2c9c1f5b9e 22 #ifndef INITIAL_SP
mecatro_prod 0:4a2c9c1f5b9e 23 #define INITIAL_SP (0x20004000UL)
mecatro_prod 0:4a2c9c1f5b9e 24 #endif
mecatro_prod 0:4a2c9c1f5b9e 25
mecatro_prod 0:4a2c9c1f5b9e 26 // RTX 4 only config below, for backward-compability
mecatro_prod 0:4a2c9c1f5b9e 27
mecatro_prod 0:4a2c9c1f5b9e 28 #ifndef OS_TASKCNT
mecatro_prod 0:4a2c9c1f5b9e 29 #define OS_TASKCNT 6
mecatro_prod 0:4a2c9c1f5b9e 30 #endif
mecatro_prod 0:4a2c9c1f5b9e 31 #ifndef OS_MAINSTKSIZE
mecatro_prod 0:4a2c9c1f5b9e 32 #define OS_MAINSTKSIZE 128
mecatro_prod 0:4a2c9c1f5b9e 33 #endif
mecatro_prod 0:4a2c9c1f5b9e 34 #ifndef OS_CLOCK
mecatro_prod 0:4a2c9c1f5b9e 35 #define OS_CLOCK 20000000
mecatro_prod 0:4a2c9c1f5b9e 36 #endif
mecatro_prod 0:4a2c9c1f5b9e 37
mecatro_prod 0:4a2c9c1f5b9e 38 #elif defined(TARGET_WIZWIKI_W7500P)
mecatro_prod 0:4a2c9c1f5b9e 39
mecatro_prod 0:4a2c9c1f5b9e 40 #ifndef INITIAL_SP
mecatro_prod 0:4a2c9c1f5b9e 41 #define INITIAL_SP (0x20004000UL)
mecatro_prod 0:4a2c9c1f5b9e 42 #endif
mecatro_prod 0:4a2c9c1f5b9e 43
mecatro_prod 0:4a2c9c1f5b9e 44 // RTX 4 only config below, for backward-compability
mecatro_prod 0:4a2c9c1f5b9e 45
mecatro_prod 0:4a2c9c1f5b9e 46 #ifndef OS_TASKCNT
mecatro_prod 0:4a2c9c1f5b9e 47 #define OS_TASKCNT 6
mecatro_prod 0:4a2c9c1f5b9e 48 #endif
mecatro_prod 0:4a2c9c1f5b9e 49 #ifndef OS_MAINSTKSIZE
mecatro_prod 0:4a2c9c1f5b9e 50 #define OS_MAINSTKSIZE 128
mecatro_prod 0:4a2c9c1f5b9e 51 #endif
mecatro_prod 0:4a2c9c1f5b9e 52 #ifndef OS_CLOCK
mecatro_prod 0:4a2c9c1f5b9e 53 #define OS_CLOCK 20000000
mecatro_prod 0:4a2c9c1f5b9e 54 #endif
mecatro_prod 0:4a2c9c1f5b9e 55
mecatro_prod 0:4a2c9c1f5b9e 56 #elif defined(TARGET_WIZWIKI_W7500ECO)
mecatro_prod 0:4a2c9c1f5b9e 57
mecatro_prod 0:4a2c9c1f5b9e 58 #ifndef INITIAL_SP
mecatro_prod 0:4a2c9c1f5b9e 59 #define INITIAL_SP (0x20004000UL)
mecatro_prod 0:4a2c9c1f5b9e 60 #endif
mecatro_prod 0:4a2c9c1f5b9e 61
mecatro_prod 0:4a2c9c1f5b9e 62 // RTX 4 only config below, for backward-compability
mecatro_prod 0:4a2c9c1f5b9e 63
mecatro_prod 0:4a2c9c1f5b9e 64 #ifndef OS_TASKCNT
mecatro_prod 0:4a2c9c1f5b9e 65 #define OS_TASKCNT 6
mecatro_prod 0:4a2c9c1f5b9e 66 #endif
mecatro_prod 0:4a2c9c1f5b9e 67 #ifndef OS_MAINSTKSIZE
mecatro_prod 0:4a2c9c1f5b9e 68 #define OS_MAINSTKSIZE 128
mecatro_prod 0:4a2c9c1f5b9e 69 #endif
mecatro_prod 0:4a2c9c1f5b9e 70 #ifndef OS_CLOCK
mecatro_prod 0:4a2c9c1f5b9e 71 #define OS_CLOCK 20000000
mecatro_prod 0:4a2c9c1f5b9e 72 #endif
mecatro_prod 0:4a2c9c1f5b9e 73
mecatro_prod 0:4a2c9c1f5b9e 74 #endif //
mecatro_prod 0:4a2c9c1f5b9e 75
mecatro_prod 0:4a2c9c1f5b9e 76 #endif // MBED_MBED_RTX_H