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:
Thu Nov 09 11:14:10 2017 +0000
Revision:
157:e7ca05fa8600
Child:
161:aa5281ff4a02
Release 155 of the mbed library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 157:e7ca05fa8600 1 /* mbed Microcontroller Library
AnnaBridge 157:e7ca05fa8600 2 * Copyright (c) 2016 ARM Limited
AnnaBridge 157:e7ca05fa8600 3 *
AnnaBridge 157:e7ca05fa8600 4 * Licensed under the Apache License, Version 2.0 (the "License");
AnnaBridge 157:e7ca05fa8600 5 * you may not use this file except in compliance with the License.
AnnaBridge 157:e7ca05fa8600 6 * You may obtain a copy of the License at
AnnaBridge 157:e7ca05fa8600 7 *
AnnaBridge 157:e7ca05fa8600 8 * http://www.apache.org/licenses/LICENSE-2.0
AnnaBridge 157:e7ca05fa8600 9 *
AnnaBridge 157:e7ca05fa8600 10 * Unless required by applicable law or agreed to in writing, software
AnnaBridge 157:e7ca05fa8600 11 * distributed under the License is distributed on an "AS IS" BASIS,
AnnaBridge 157:e7ca05fa8600 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
AnnaBridge 157:e7ca05fa8600 13 * See the License for the specific language governing permissions and
AnnaBridge 157:e7ca05fa8600 14 * limitations under the License.
AnnaBridge 157:e7ca05fa8600 15 */
AnnaBridge 157:e7ca05fa8600 16
AnnaBridge 157:e7ca05fa8600 17 #ifndef MBED_MBED_RTX_H
AnnaBridge 157:e7ca05fa8600 18 #define MBED_MBED_RTX_H
AnnaBridge 157:e7ca05fa8600 19
AnnaBridge 157:e7ca05fa8600 20 #if defined(TARGET_LPC11U68)
AnnaBridge 157:e7ca05fa8600 21
AnnaBridge 157:e7ca05fa8600 22 #ifndef INITIAL_SP
AnnaBridge 157:e7ca05fa8600 23 #define INITIAL_SP (0x10008000UL)
AnnaBridge 157:e7ca05fa8600 24 #endif
AnnaBridge 157:e7ca05fa8600 25
AnnaBridge 157:e7ca05fa8600 26 #elif defined(TARGET_LPC11U24) \
AnnaBridge 157:e7ca05fa8600 27 || defined(TARGET_LPC11U35_401) \
AnnaBridge 157:e7ca05fa8600 28 || defined(TARGET_LPC11U35_501) \
AnnaBridge 157:e7ca05fa8600 29 || defined(TARGET_LPCCAPPUCCINO)
AnnaBridge 157:e7ca05fa8600 30
AnnaBridge 157:e7ca05fa8600 31 #ifndef INITIAL_SP
AnnaBridge 157:e7ca05fa8600 32 #define INITIAL_SP (0x10002000UL)
AnnaBridge 157:e7ca05fa8600 33 #endif
AnnaBridge 157:e7ca05fa8600 34
AnnaBridge 157:e7ca05fa8600 35 #elif defined(TARGET_LPC1114)
AnnaBridge 157:e7ca05fa8600 36
AnnaBridge 157:e7ca05fa8600 37 #ifndef INITIAL_SP
AnnaBridge 157:e7ca05fa8600 38 #define INITIAL_SP (0x10001000UL)
AnnaBridge 157:e7ca05fa8600 39 #endif
AnnaBridge 157:e7ca05fa8600 40
AnnaBridge 157:e7ca05fa8600 41 #elif defined(TARGET_LPC1347)
AnnaBridge 157:e7ca05fa8600 42
AnnaBridge 157:e7ca05fa8600 43 #ifndef INITIAL_SP
AnnaBridge 157:e7ca05fa8600 44 #define INITIAL_SP (0x10002000UL)
AnnaBridge 157:e7ca05fa8600 45 #endif
AnnaBridge 157:e7ca05fa8600 46
AnnaBridge 157:e7ca05fa8600 47 #elif defined(TARGET_LPC1549)
AnnaBridge 157:e7ca05fa8600 48
AnnaBridge 157:e7ca05fa8600 49 #ifndef INITIAL_SP
AnnaBridge 157:e7ca05fa8600 50 #define INITIAL_SP (0x02009000UL)
AnnaBridge 157:e7ca05fa8600 51 #endif
AnnaBridge 157:e7ca05fa8600 52
AnnaBridge 157:e7ca05fa8600 53 #elif defined(TARGET_LPC1768) || defined(TARGET_LPC1769)
AnnaBridge 157:e7ca05fa8600 54
AnnaBridge 157:e7ca05fa8600 55 #ifndef INITIAL_SP
AnnaBridge 157:e7ca05fa8600 56 #define INITIAL_SP (0x10008000UL)
AnnaBridge 157:e7ca05fa8600 57 #endif
AnnaBridge 157:e7ca05fa8600 58
AnnaBridge 157:e7ca05fa8600 59 #elif defined(TARGET_LPC4088) || defined(TARGET_LPC4088_DM)
AnnaBridge 157:e7ca05fa8600 60
AnnaBridge 157:e7ca05fa8600 61 #ifndef INITIAL_SP
AnnaBridge 157:e7ca05fa8600 62 #define INITIAL_SP (0x10010000UL)
AnnaBridge 157:e7ca05fa8600 63 #endif
AnnaBridge 157:e7ca05fa8600 64
AnnaBridge 157:e7ca05fa8600 65 #elif defined(TARGET_LPC4330) || defined(TARGET_LPC4337)
AnnaBridge 157:e7ca05fa8600 66
AnnaBridge 157:e7ca05fa8600 67 #ifndef INITIAL_SP
AnnaBridge 157:e7ca05fa8600 68 #define INITIAL_SP (0x10008000UL)
AnnaBridge 157:e7ca05fa8600 69 #endif
AnnaBridge 157:e7ca05fa8600 70
AnnaBridge 157:e7ca05fa8600 71 #elif defined(TARGET_LPC812)
AnnaBridge 157:e7ca05fa8600 72
AnnaBridge 157:e7ca05fa8600 73 #ifndef INITIAL_SP
AnnaBridge 157:e7ca05fa8600 74 #define INITIAL_SP (0x10001000UL)
AnnaBridge 157:e7ca05fa8600 75 #endif
AnnaBridge 157:e7ca05fa8600 76
AnnaBridge 157:e7ca05fa8600 77 #elif defined(TARGET_LPC824) || defined(TARGET_SSCI824)
AnnaBridge 157:e7ca05fa8600 78
AnnaBridge 157:e7ca05fa8600 79 #ifndef INITIAL_SP
AnnaBridge 157:e7ca05fa8600 80 #define INITIAL_SP (0x10002000UL)
AnnaBridge 157:e7ca05fa8600 81 #endif
AnnaBridge 157:e7ca05fa8600 82
AnnaBridge 157:e7ca05fa8600 83 #elif defined(TARGET_LPC54114_M4)
AnnaBridge 157:e7ca05fa8600 84
AnnaBridge 157:e7ca05fa8600 85 #ifndef INITIAL_SP
AnnaBridge 157:e7ca05fa8600 86 #define INITIAL_SP (0x20010000UL)
AnnaBridge 157:e7ca05fa8600 87 #endif
AnnaBridge 157:e7ca05fa8600 88
AnnaBridge 157:e7ca05fa8600 89 #elif defined(TARGET_LPC546XX)
AnnaBridge 157:e7ca05fa8600 90
AnnaBridge 157:e7ca05fa8600 91 #ifndef INITIAL_SP
AnnaBridge 157:e7ca05fa8600 92 #define INITIAL_SP (0x20028000UL)
AnnaBridge 157:e7ca05fa8600 93 #endif
AnnaBridge 157:e7ca05fa8600 94
AnnaBridge 157:e7ca05fa8600 95 #endif
AnnaBridge 157:e7ca05fa8600 96
AnnaBridge 157:e7ca05fa8600 97 #endif // MBED_MBED_RTX_H