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:
Anna Bridge
Date:
Fri Jun 22 15:38:59 2018 +0100
Revision:
169:a7c7b631e539
Parent:
167:84c0a372a020
Child:
170:e95d10626187
mbed library. Release version 162

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 167:84c0a372a020 27 || defined(TARGET_LPC11CXX) \
AnnaBridge 156:ff21514d8981 28 || defined(TARGET_LPC11U35_401) \
AnnaBridge 156:ff21514d8981 29 || defined(TARGET_LPC11U35_501) \
AnnaBridge 156:ff21514d8981 30 || defined(TARGET_LPCCAPPUCCINO)
AnnaBridge 156:ff21514d8981 31
AnnaBridge 156:ff21514d8981 32 #ifndef INITIAL_SP
AnnaBridge 156:ff21514d8981 33 #define INITIAL_SP (0x10002000UL)
AnnaBridge 156:ff21514d8981 34 #endif
AnnaBridge 156:ff21514d8981 35
AnnaBridge 156:ff21514d8981 36 #elif defined(TARGET_LPC1114)
AnnaBridge 156:ff21514d8981 37
AnnaBridge 156:ff21514d8981 38 #ifndef INITIAL_SP
AnnaBridge 156:ff21514d8981 39 #define INITIAL_SP (0x10001000UL)
AnnaBridge 156:ff21514d8981 40 #endif
AnnaBridge 156:ff21514d8981 41
AnnaBridge 156:ff21514d8981 42 #elif defined(TARGET_LPC1347)
AnnaBridge 156:ff21514d8981 43
AnnaBridge 156:ff21514d8981 44 #ifndef INITIAL_SP
AnnaBridge 156:ff21514d8981 45 #define INITIAL_SP (0x10002000UL)
AnnaBridge 156:ff21514d8981 46 #endif
AnnaBridge 156:ff21514d8981 47
AnnaBridge 156:ff21514d8981 48 #elif defined(TARGET_LPC1549)
AnnaBridge 156:ff21514d8981 49
AnnaBridge 156:ff21514d8981 50 #ifndef INITIAL_SP
AnnaBridge 156:ff21514d8981 51 #define INITIAL_SP (0x02009000UL)
AnnaBridge 156:ff21514d8981 52 #endif
AnnaBridge 156:ff21514d8981 53
AnnaBridge 157:e7ca05fa8600 54 #elif defined(TARGET_LPC1768) || defined(TARGET_LPC1769)
AnnaBridge 156:ff21514d8981 55
AnnaBridge 156:ff21514d8981 56 #ifndef INITIAL_SP
AnnaBridge 156:ff21514d8981 57 #define INITIAL_SP (0x10008000UL)
AnnaBridge 156:ff21514d8981 58 #endif
AnnaBridge 156:ff21514d8981 59
AnnaBridge 156:ff21514d8981 60 #elif defined(TARGET_LPC4088) || defined(TARGET_LPC4088_DM)
AnnaBridge 156:ff21514d8981 61
AnnaBridge 156:ff21514d8981 62 #ifndef INITIAL_SP
AnnaBridge 156:ff21514d8981 63 #define INITIAL_SP (0x10010000UL)
AnnaBridge 156:ff21514d8981 64 #endif
AnnaBridge 156:ff21514d8981 65
AnnaBridge 156:ff21514d8981 66 #elif defined(TARGET_LPC4330) || defined(TARGET_LPC4337)
AnnaBridge 156:ff21514d8981 67
AnnaBridge 156:ff21514d8981 68 #ifndef INITIAL_SP
AnnaBridge 156:ff21514d8981 69 #define INITIAL_SP (0x10008000UL)
AnnaBridge 156:ff21514d8981 70 #endif
AnnaBridge 156:ff21514d8981 71
AnnaBridge 156:ff21514d8981 72 #elif defined(TARGET_LPC812)
AnnaBridge 156:ff21514d8981 73
AnnaBridge 156:ff21514d8981 74 #ifndef INITIAL_SP
AnnaBridge 156:ff21514d8981 75 #define INITIAL_SP (0x10001000UL)
AnnaBridge 156:ff21514d8981 76 #endif
AnnaBridge 156:ff21514d8981 77
AnnaBridge 156:ff21514d8981 78 #elif defined(TARGET_LPC824) || defined(TARGET_SSCI824)
AnnaBridge 156:ff21514d8981 79
AnnaBridge 156:ff21514d8981 80 #ifndef INITIAL_SP
AnnaBridge 156:ff21514d8981 81 #define INITIAL_SP (0x10002000UL)
AnnaBridge 156:ff21514d8981 82 #endif
AnnaBridge 156:ff21514d8981 83
AnnaBridge 156:ff21514d8981 84 #elif defined(TARGET_LPC54114_M4)
AnnaBridge 156:ff21514d8981 85
AnnaBridge 156:ff21514d8981 86 #ifndef INITIAL_SP
AnnaBridge 156:ff21514d8981 87 #define INITIAL_SP (0x20010000UL)
AnnaBridge 156:ff21514d8981 88 #endif
AnnaBridge 156:ff21514d8981 89
AnnaBridge 156:ff21514d8981 90 #elif defined(TARGET_LPC546XX)
AnnaBridge 156:ff21514d8981 91
AnnaBridge 156:ff21514d8981 92 #ifndef INITIAL_SP
AnnaBridge 156:ff21514d8981 93 #define INITIAL_SP (0x20028000UL)
AnnaBridge 156:ff21514d8981 94 #endif
AnnaBridge 156:ff21514d8981 95
AnnaBridge 161:aa5281ff4a02 96 #elif defined(TARGET_MIMXRT1050)
AnnaBridge 161:aa5281ff4a02 97
AnnaBridge 161:aa5281ff4a02 98 #ifndef INITIAL_SP
AnnaBridge 161:aa5281ff4a02 99 #define INITIAL_SP (0x20020000UL)
AnnaBridge 161:aa5281ff4a02 100 #endif
AnnaBridge 161:aa5281ff4a02 101
AnnaBridge 156:ff21514d8981 102 #endif
AnnaBridge 156:ff21514d8981 103
AnnaBridge 156:ff21514d8981 104 #endif // MBED_MBED_RTX_H