The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
AnnaBridge
Date:
Fri May 26 12:30:20 2017 +0100
Revision:
143:86740a56073b
Parent:
135:176b8275d35d
Child:
145:64910690c574
Release 143 of the mbed library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 135:176b8275d35d 1 /* mbed Microcontroller Library
<> 135:176b8275d35d 2 * Copyright (c) 2016 ARM Limited
<> 135:176b8275d35d 3 *
<> 135:176b8275d35d 4 * Licensed under the Apache License, Version 2.0 (the "License");
<> 135:176b8275d35d 5 * you may not use this file except in compliance with the License.
<> 135:176b8275d35d 6 * You may obtain a copy of the License at
<> 135:176b8275d35d 7 *
<> 135:176b8275d35d 8 * http://www.apache.org/licenses/LICENSE-2.0
<> 135:176b8275d35d 9 *
<> 135:176b8275d35d 10 * Unless required by applicable law or agreed to in writing, software
<> 135:176b8275d35d 11 * distributed under the License is distributed on an "AS IS" BASIS,
<> 135:176b8275d35d 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
<> 135:176b8275d35d 13 * See the License for the specific language governing permissions and
<> 135:176b8275d35d 14 * limitations under the License.
<> 135:176b8275d35d 15 */
<> 135:176b8275d35d 16
<> 135:176b8275d35d 17 #ifndef MBED_MBED_RTX_H
<> 135:176b8275d35d 18 #define MBED_MBED_RTX_H
<> 135:176b8275d35d 19
<> 135:176b8275d35d 20 #if defined(TARGET_MAX32600)
<> 135:176b8275d35d 21
<> 135:176b8275d35d 22 #ifndef INITIAL_SP
<> 135:176b8275d35d 23 #define INITIAL_SP (0x20008000UL)
<> 135:176b8275d35d 24 #endif
<> 135:176b8275d35d 25 #ifndef OS_TASKCNT
<> 135:176b8275d35d 26 #define OS_TASKCNT 14
<> 135:176b8275d35d 27 #endif
<> 135:176b8275d35d 28 #ifndef OS_MAINSTKSIZE
<> 135:176b8275d35d 29 #define OS_MAINSTKSIZE 256
<> 135:176b8275d35d 30 #endif
<> 135:176b8275d35d 31 #ifndef OS_CLOCK
<> 135:176b8275d35d 32 #define OS_CLOCK 24000000
<> 135:176b8275d35d 33 #endif
<> 135:176b8275d35d 34
<> 135:176b8275d35d 35 #elif defined(TARGET_MAX32610)
<> 135:176b8275d35d 36
<> 135:176b8275d35d 37 #ifndef INITIAL_SP
<> 135:176b8275d35d 38 #define INITIAL_SP (0x20008000UL)
<> 135:176b8275d35d 39 #endif
<> 135:176b8275d35d 40 #ifndef OS_TASKCNT
<> 135:176b8275d35d 41 #define OS_TASKCNT 14
<> 135:176b8275d35d 42 #endif
<> 135:176b8275d35d 43 #ifndef OS_MAINSTKSIZE
<> 135:176b8275d35d 44 #define OS_MAINSTKSIZE 256
<> 135:176b8275d35d 45 #endif
<> 135:176b8275d35d 46 #ifndef OS_CLOCK
<> 135:176b8275d35d 47 #define OS_CLOCK 24000000
<> 135:176b8275d35d 48 #endif
<> 135:176b8275d35d 49
<> 135:176b8275d35d 50 #elif defined(TARGET_MAX32620)
<> 135:176b8275d35d 51
<> 135:176b8275d35d 52 #ifndef INITIAL_SP
<> 135:176b8275d35d 53 #define INITIAL_SP (0x20040000UL)
<> 135:176b8275d35d 54 #endif
<> 135:176b8275d35d 55 #ifndef OS_TASKCNT
<> 135:176b8275d35d 56 #define OS_TASKCNT 14
<> 135:176b8275d35d 57 #endif
<> 135:176b8275d35d 58 #ifndef OS_MAINSTKSIZE
<> 135:176b8275d35d 59 #define OS_MAINSTKSIZE 256
<> 135:176b8275d35d 60 #endif
<> 135:176b8275d35d 61 #ifndef OS_CLOCK
<> 135:176b8275d35d 62 #define OS_CLOCK 48000000
<> 135:176b8275d35d 63 #endif
<> 135:176b8275d35d 64
<> 135:176b8275d35d 65 #elif defined(TARGET_MAX32625)
<> 135:176b8275d35d 66
<> 135:176b8275d35d 67 #ifndef INITIAL_SP
<> 135:176b8275d35d 68 #define INITIAL_SP (0x20028000UL)
<> 135:176b8275d35d 69 #endif
<> 135:176b8275d35d 70 #ifndef OS_TASKCNT
<> 135:176b8275d35d 71 #define OS_TASKCNT 14
<> 135:176b8275d35d 72 #endif
<> 135:176b8275d35d 73 #ifndef OS_MAINSTKSIZE
<> 135:176b8275d35d 74 #define OS_MAINSTKSIZE 256
<> 135:176b8275d35d 75 #endif
<> 135:176b8275d35d 76 #ifndef OS_CLOCK
<> 135:176b8275d35d 77 #define OS_CLOCK 96000000
<> 135:176b8275d35d 78 #endif
<> 135:176b8275d35d 79
<> 135:176b8275d35d 80 #elif defined(TARGET_MAX32630)
<> 135:176b8275d35d 81
<> 135:176b8275d35d 82 #ifndef INITIAL_SP
<> 135:176b8275d35d 83 #define INITIAL_SP (0x20080000UL)
<> 135:176b8275d35d 84 #endif
<> 135:176b8275d35d 85 #ifndef OS_TASKCNT
<> 135:176b8275d35d 86 #define OS_TASKCNT 14
<> 135:176b8275d35d 87 #endif
<> 135:176b8275d35d 88 #ifndef OS_MAINSTKSIZE
<> 135:176b8275d35d 89 #define OS_MAINSTKSIZE 256
<> 135:176b8275d35d 90 #endif
<> 135:176b8275d35d 91 #ifndef OS_CLOCK
<> 135:176b8275d35d 92 #define OS_CLOCK 96000000
<> 135:176b8275d35d 93 #endif
<> 135:176b8275d35d 94
<> 135:176b8275d35d 95 #endif
<> 135:176b8275d35d 96
<> 135:176b8275d35d 97 #endif // MBED_MBED_RTX_H