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 Feb 20 20:53:29 2019 +0000
Revision:
172:65be27845400
Parent:
171:3a7713b1edbc
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 171:3a7713b1edbc 1 /* mbed Microcontroller Library
AnnaBridge 171:3a7713b1edbc 2 * Copyright (c) 2016 ARM Limited
AnnaBridge 171:3a7713b1edbc 3 *
AnnaBridge 171:3a7713b1edbc 4 * Licensed under the Apache License, Version 2.0 (the "License");
AnnaBridge 171:3a7713b1edbc 5 * you may not use this file except in compliance with the License.
AnnaBridge 171:3a7713b1edbc 6 * You may obtain a copy of the License at
AnnaBridge 171:3a7713b1edbc 7 *
AnnaBridge 171:3a7713b1edbc 8 * http://www.apache.org/licenses/LICENSE-2.0
AnnaBridge 171:3a7713b1edbc 9 *
AnnaBridge 171:3a7713b1edbc 10 * Unless required by applicable law or agreed to in writing, software
AnnaBridge 171:3a7713b1edbc 11 * distributed under the License is distributed on an "AS IS" BASIS,
AnnaBridge 171:3a7713b1edbc 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
AnnaBridge 171:3a7713b1edbc 13 * See the License for the specific language governing permissions and
AnnaBridge 171:3a7713b1edbc 14 * limitations under the License.
AnnaBridge 171:3a7713b1edbc 15 */
AnnaBridge 171:3a7713b1edbc 16
AnnaBridge 171:3a7713b1edbc 17 #ifndef MBED_MBED_RTX_H
AnnaBridge 171:3a7713b1edbc 18 #define MBED_MBED_RTX_H
AnnaBridge 171:3a7713b1edbc 19
AnnaBridge 171:3a7713b1edbc 20 #if defined(TARGET_K20D50M)
AnnaBridge 171:3a7713b1edbc 21
AnnaBridge 171:3a7713b1edbc 22 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 23 #define INITIAL_SP (0x10008000UL)
AnnaBridge 171:3a7713b1edbc 24 #endif
AnnaBridge 171:3a7713b1edbc 25
AnnaBridge 171:3a7713b1edbc 26 #elif defined(TARGET_TEENSY3_1)
AnnaBridge 171:3a7713b1edbc 27
AnnaBridge 171:3a7713b1edbc 28 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 29 #define INITIAL_SP (0x20008000UL)
AnnaBridge 171:3a7713b1edbc 30 #endif
AnnaBridge 171:3a7713b1edbc 31
AnnaBridge 171:3a7713b1edbc 32 #elif defined(TARGET_MCU_K22F)
AnnaBridge 171:3a7713b1edbc 33
AnnaBridge 171:3a7713b1edbc 34 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 35 #define INITIAL_SP (0x20010000UL)
AnnaBridge 171:3a7713b1edbc 36 #endif
AnnaBridge 171:3a7713b1edbc 37
AnnaBridge 171:3a7713b1edbc 38 #elif defined(TARGET_K66F)
AnnaBridge 171:3a7713b1edbc 39
AnnaBridge 171:3a7713b1edbc 40 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 41 #define INITIAL_SP (0x20030000UL)
AnnaBridge 171:3a7713b1edbc 42 #endif
AnnaBridge 171:3a7713b1edbc 43
AnnaBridge 171:3a7713b1edbc 44 #elif defined(TARGET_KL27Z)
AnnaBridge 171:3a7713b1edbc 45
AnnaBridge 171:3a7713b1edbc 46 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 47 #define INITIAL_SP (0x20003000UL)
AnnaBridge 171:3a7713b1edbc 48 #endif
AnnaBridge 171:3a7713b1edbc 49
AnnaBridge 171:3a7713b1edbc 50 #elif defined(TARGET_KL43Z)
AnnaBridge 171:3a7713b1edbc 51
AnnaBridge 171:3a7713b1edbc 52 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 53 #define INITIAL_SP (0x20006000UL)
AnnaBridge 171:3a7713b1edbc 54 #endif
AnnaBridge 171:3a7713b1edbc 55
AnnaBridge 171:3a7713b1edbc 56 #elif defined(TARGET_KL05Z)
AnnaBridge 171:3a7713b1edbc 57
AnnaBridge 171:3a7713b1edbc 58 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 59 #define INITIAL_SP (0x20000C00UL)
AnnaBridge 171:3a7713b1edbc 60 #endif
AnnaBridge 171:3a7713b1edbc 61
AnnaBridge 171:3a7713b1edbc 62 #elif defined(TARGET_KL25Z)
AnnaBridge 171:3a7713b1edbc 63
AnnaBridge 171:3a7713b1edbc 64 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 65 #define INITIAL_SP (0x20003000UL)
AnnaBridge 171:3a7713b1edbc 66 #endif
AnnaBridge 171:3a7713b1edbc 67
AnnaBridge 171:3a7713b1edbc 68 #elif defined(TARGET_KL26Z)
AnnaBridge 171:3a7713b1edbc 69
AnnaBridge 171:3a7713b1edbc 70 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 71 #define INITIAL_SP (0x20003000UL)
AnnaBridge 171:3a7713b1edbc 72 #endif
AnnaBridge 171:3a7713b1edbc 73
AnnaBridge 171:3a7713b1edbc 74 #elif defined(TARGET_KL46Z)
AnnaBridge 171:3a7713b1edbc 75
AnnaBridge 171:3a7713b1edbc 76 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 77 #define INITIAL_SP (0x20006000UL)
AnnaBridge 171:3a7713b1edbc 78 #endif
AnnaBridge 171:3a7713b1edbc 79
AnnaBridge 171:3a7713b1edbc 80 #elif defined(TARGET_KL82Z)
AnnaBridge 171:3a7713b1edbc 81
AnnaBridge 171:3a7713b1edbc 82 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 83 #define INITIAL_SP (0x20012000UL)
AnnaBridge 171:3a7713b1edbc 84 #endif
AnnaBridge 171:3a7713b1edbc 85
AnnaBridge 171:3a7713b1edbc 86 #elif defined(TARGET_K64F)
AnnaBridge 171:3a7713b1edbc 87
AnnaBridge 171:3a7713b1edbc 88 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 89 #define INITIAL_SP (0x20030000UL)
AnnaBridge 171:3a7713b1edbc 90 #endif
AnnaBridge 171:3a7713b1edbc 91
AnnaBridge 171:3a7713b1edbc 92 #elif defined(TARGET_SDT64B)
AnnaBridge 171:3a7713b1edbc 93
AnnaBridge 171:3a7713b1edbc 94 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 95 #define INITIAL_SP (0x20030000UL)
AnnaBridge 171:3a7713b1edbc 96 #endif
AnnaBridge 171:3a7713b1edbc 97
AnnaBridge 171:3a7713b1edbc 98 #elif defined(TARGET_KW24D)
AnnaBridge 171:3a7713b1edbc 99
AnnaBridge 171:3a7713b1edbc 100 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 101 #define INITIAL_SP (0x20008000UL)
AnnaBridge 171:3a7713b1edbc 102 #endif
AnnaBridge 171:3a7713b1edbc 103
AnnaBridge 171:3a7713b1edbc 104 #elif defined(TARGET_KW41Z)
AnnaBridge 171:3a7713b1edbc 105
AnnaBridge 171:3a7713b1edbc 106 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 107 #define INITIAL_SP (0x20018000UL)
AnnaBridge 171:3a7713b1edbc 108 #endif
AnnaBridge 171:3a7713b1edbc 109
AnnaBridge 171:3a7713b1edbc 110 #elif defined(TARGET_K82F)
AnnaBridge 171:3a7713b1edbc 111
AnnaBridge 171:3a7713b1edbc 112 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 113 #define INITIAL_SP (0x20030000UL)
AnnaBridge 171:3a7713b1edbc 114 #endif
AnnaBridge 171:3a7713b1edbc 115
AnnaBridge 171:3a7713b1edbc 116 #elif defined(TARGET_RO359B)
AnnaBridge 171:3a7713b1edbc 117
AnnaBridge 171:3a7713b1edbc 118 #ifndef INITIAL_SP
AnnaBridge 171:3a7713b1edbc 119 #define INITIAL_SP (0x20030000UL)
AnnaBridge 171:3a7713b1edbc 120 #endif
AnnaBridge 171:3a7713b1edbc 121
AnnaBridge 171:3a7713b1edbc 122 #endif
AnnaBridge 171:3a7713b1edbc 123
AnnaBridge 171:3a7713b1edbc 124 #endif // MBED_MBED_RTX_H