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 Feb 16 16:16:41 2018 +0000
Revision:
161:aa5281ff4a02
Parent:
157:e7ca05fa8600
Child:
167:84c0a372a020
mbed library. Release version 159.

Who changed what in which revision?

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