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 11 16:51:14 2018 +0100
Revision:
167:84c0a372a020
Parent:
161:aa5281ff4a02
Child:
170:e95d10626187
mbed library. Release version 162

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