Hiruka Hana / Gyro_Accelerometre

Dependents:   Gyro_Accelerometre2

Committer:
SandrineO
Date:
Tue Feb 20 15:58:26 2018 +0000
Revision:
0:07281ea3b26b
temps r?el

Who changed what in which revision?

UserRevisionLine numberNew 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_MAX32600)
SandrineO 0:07281ea3b26b 21
SandrineO 0:07281ea3b26b 22 #ifndef INITIAL_SP
SandrineO 0:07281ea3b26b 23 #define INITIAL_SP (0x20008000UL)
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 24000000
SandrineO 0:07281ea3b26b 36 #endif
SandrineO 0:07281ea3b26b 37
SandrineO 0:07281ea3b26b 38 #elif defined(TARGET_MAX32610)
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 24000000
SandrineO 0:07281ea3b26b 54 #endif
SandrineO 0:07281ea3b26b 55
SandrineO 0:07281ea3b26b 56 #elif defined(TARGET_MAX32620)
SandrineO 0:07281ea3b26b 57
SandrineO 0:07281ea3b26b 58 #ifndef INITIAL_SP
SandrineO 0:07281ea3b26b 59 #define INITIAL_SP (0x20040000UL)
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 48000000
SandrineO 0:07281ea3b26b 72 #endif
SandrineO 0:07281ea3b26b 73
SandrineO 0:07281ea3b26b 74 #elif defined(TARGET_MAX32625)
SandrineO 0:07281ea3b26b 75
SandrineO 0:07281ea3b26b 76 #ifndef INITIAL_SP
SandrineO 0:07281ea3b26b 77 #define INITIAL_SP (0x20028000UL)
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 96000000
SandrineO 0:07281ea3b26b 90 #endif
SandrineO 0:07281ea3b26b 91
SandrineO 0:07281ea3b26b 92 #elif defined(TARGET_MAX32630)
SandrineO 0:07281ea3b26b 93
SandrineO 0:07281ea3b26b 94 #ifndef INITIAL_SP
SandrineO 0:07281ea3b26b 95 #define INITIAL_SP (0x20080000UL)
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 14
SandrineO 0:07281ea3b26b 102 #endif
SandrineO 0:07281ea3b26b 103 #ifndef OS_MAINSTKSIZE
SandrineO 0:07281ea3b26b 104 #define OS_MAINSTKSIZE 256
SandrineO 0:07281ea3b26b 105 #endif
SandrineO 0:07281ea3b26b 106 #ifndef OS_CLOCK
SandrineO 0:07281ea3b26b 107 #define OS_CLOCK 96000000
SandrineO 0:07281ea3b26b 108 #endif
SandrineO 0:07281ea3b26b 109
SandrineO 0:07281ea3b26b 110 #endif
SandrineO 0:07281ea3b26b 111
SandrineO 0:07281ea3b26b 112 #endif // MBED_MBED_RTX_H