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:
Wed Nov 08 17:18:06 2017 +0000
Revision:
156:ff21514d8981
Child:
157:e7ca05fa8600
Reverting back to release 154 of the mbed library

Who changed what in which revision?

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