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.
TARGET_EFM32PG12_STK3402/TARGET_Silicon_Labs/mbed_rtx.h@139:856d2700e60b, 2017-03-30 (annotated)
- Committer:
- <>
- Date:
- Thu Mar 30 13:26:47 2017 +0100
- Revision:
- 139:856d2700e60b
- Child:
- 145:64910690c574
Release 139 of the mbed library
Ports for Upcoming Targets
3934: [Silicon Labs] Update to HAL and devices https://github.com/ARMmbed/mbed-os/pull/3934
Known Issues
There is an issue with LPC1768 failing the 'Semihost file system' test with this release.
Fixes and Changes
3691: [TLS / hw acceleration] AES ECB for NUCLEO_F439ZI https://github.com/ARMmbed/mbed-os/pull/3691
3869: NCS36510: Default range changed from 0 to 950mV - ADC https://github.com/ARMmbed/mbed-os/pull/3869
3893: [STM32F7] Update STM32 Cube version v1.6.0 https://github.com/ARMmbed/mbed-os/pull/3893
3917: Fix mistake register setting in serial_format() https://github.com/ARMmbed/mbed-os/pull/3917
3927: [DELTA_DFBM_NQ620] Add RC calibration setting and revise mbed_overrides.c https://github.com/ARMmbed/mbed-os/pull/3927
3918: [NUC472/M453] Support unique locally administered MAC address and other driver updates https://github.com/ARMmbed/mbed-os/pull/3918
3920: Heap size adjusted to work for both tls-client and mbed-client https://github.com/ARMmbed/mbed-os/pull/3920
3969: NUCLEO_F302R8: Add missing PB_8/PB_9 CAN pins https://github.com/ARMmbed/mbed-os/pull/3969
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
<> | 139:856d2700e60b | 1 | /* mbed Microcontroller Library |
<> | 139:856d2700e60b | 2 | * Copyright (c) 2016 ARM Limited |
<> | 139:856d2700e60b | 3 | * |
<> | 139:856d2700e60b | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
<> | 139:856d2700e60b | 5 | * you may not use this file except in compliance with the License. |
<> | 139:856d2700e60b | 6 | * You may obtain a copy of the License at |
<> | 139:856d2700e60b | 7 | * |
<> | 139:856d2700e60b | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
<> | 139:856d2700e60b | 9 | * |
<> | 139:856d2700e60b | 10 | * Unless required by applicable law or agreed to in writing, software |
<> | 139:856d2700e60b | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
<> | 139:856d2700e60b | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
<> | 139:856d2700e60b | 13 | * See the License for the specific language governing permissions and |
<> | 139:856d2700e60b | 14 | * limitations under the License. |
<> | 139:856d2700e60b | 15 | */ |
<> | 139:856d2700e60b | 16 | |
<> | 139:856d2700e60b | 17 | #ifndef MBED_MBED_RTX_H |
<> | 139:856d2700e60b | 18 | #define MBED_MBED_RTX_H |
<> | 139:856d2700e60b | 19 | |
<> | 139:856d2700e60b | 20 | #include "clocking.h" |
<> | 139:856d2700e60b | 21 | |
<> | 139:856d2700e60b | 22 | #ifndef OS_CLOCK |
<> | 139:856d2700e60b | 23 | #define OS_CLOCK REFERENCE_FREQUENCY |
<> | 139:856d2700e60b | 24 | #endif |
<> | 139:856d2700e60b | 25 | |
<> | 139:856d2700e60b | 26 | #if defined(__CC_ARM) |
<> | 139:856d2700e60b | 27 | extern uint32_t HEAP$$Base; |
<> | 139:856d2700e60b | 28 | extern uint32_t HEAP$$Limit; |
<> | 139:856d2700e60b | 29 | extern uint32_t STACK$$Limit; |
<> | 139:856d2700e60b | 30 | extern uint32_t STACK$$Base; |
<> | 139:856d2700e60b | 31 | #ifndef INITIAL_SP |
<> | 139:856d2700e60b | 32 | #define INITIAL_SP ((uint32_t)&STACK$$Limit) |
<> | 139:856d2700e60b | 33 | #endif |
<> | 139:856d2700e60b | 34 | #define ISR_STACK_START ((uint32_t)&STACK$$Base) |
<> | 139:856d2700e60b | 35 | #define ISR_STACK_SIZE ((uint32_t) ((uint32_t)&STACK$$Limit - (uint32_t)&STACK$$Base)) |
<> | 139:856d2700e60b | 36 | #define HEAP_START ((unsigned char*) ((uint32_t)&HEAP$$Base)) |
<> | 139:856d2700e60b | 37 | #define HEAP_SIZE ((uint32_t) ((uint32_t)&HEAP$$Limit - (uint32_t)&HEAP$$Base)) |
<> | 139:856d2700e60b | 38 | #endif |
<> | 139:856d2700e60b | 39 | |
<> | 139:856d2700e60b | 40 | #if defined(TARGET_EFM32GG_STK3700) |
<> | 139:856d2700e60b | 41 | |
<> | 139:856d2700e60b | 42 | #ifndef INITIAL_SP |
<> | 139:856d2700e60b | 43 | #define INITIAL_SP (0x20020000UL) |
<> | 139:856d2700e60b | 44 | #endif |
<> | 139:856d2700e60b | 45 | |
<> | 139:856d2700e60b | 46 | #ifndef OS_TASKCNT |
<> | 139:856d2700e60b | 47 | #define OS_TASKCNT 14 |
<> | 139:856d2700e60b | 48 | #endif |
<> | 139:856d2700e60b | 49 | #ifndef OS_MAINSTKSIZE |
<> | 139:856d2700e60b | 50 | #define OS_MAINSTKSIZE 256 |
<> | 139:856d2700e60b | 51 | #endif |
<> | 139:856d2700e60b | 52 | |
<> | 139:856d2700e60b | 53 | #elif defined(TARGET_EFM32HG_STK3400) |
<> | 139:856d2700e60b | 54 | |
<> | 139:856d2700e60b | 55 | #ifndef INITIAL_SP |
<> | 139:856d2700e60b | 56 | #define INITIAL_SP (0x20002000UL) |
<> | 139:856d2700e60b | 57 | #endif |
<> | 139:856d2700e60b | 58 | |
<> | 139:856d2700e60b | 59 | #ifndef OS_TASKCNT |
<> | 139:856d2700e60b | 60 | #define OS_TASKCNT 6 |
<> | 139:856d2700e60b | 61 | #endif |
<> | 139:856d2700e60b | 62 | #ifndef OS_MAINSTKSIZE |
<> | 139:856d2700e60b | 63 | #define OS_MAINSTKSIZE 112 |
<> | 139:856d2700e60b | 64 | #endif |
<> | 139:856d2700e60b | 65 | |
<> | 139:856d2700e60b | 66 | #elif defined(TARGET_EFM32LG_STK3600) |
<> | 139:856d2700e60b | 67 | |
<> | 139:856d2700e60b | 68 | #ifndef INITIAL_SP |
<> | 139:856d2700e60b | 69 | #define INITIAL_SP (0x20008000UL) |
<> | 139:856d2700e60b | 70 | #endif |
<> | 139:856d2700e60b | 71 | |
<> | 139:856d2700e60b | 72 | #ifndef OS_TASKCNT |
<> | 139:856d2700e60b | 73 | #define OS_TASKCNT 14 |
<> | 139:856d2700e60b | 74 | #endif |
<> | 139:856d2700e60b | 75 | #ifndef OS_MAINSTKSIZE |
<> | 139:856d2700e60b | 76 | #define OS_MAINSTKSIZE 128 |
<> | 139:856d2700e60b | 77 | #endif |
<> | 139:856d2700e60b | 78 | |
<> | 139:856d2700e60b | 79 | #elif defined(TARGET_EFM32PG_STK3401) |
<> | 139:856d2700e60b | 80 | |
<> | 139:856d2700e60b | 81 | #ifndef INITIAL_SP |
<> | 139:856d2700e60b | 82 | #define INITIAL_SP (0x20008000UL) |
<> | 139:856d2700e60b | 83 | #endif |
<> | 139:856d2700e60b | 84 | |
<> | 139:856d2700e60b | 85 | #ifndef OS_TASKCNT |
<> | 139:856d2700e60b | 86 | #define OS_TASKCNT 14 |
<> | 139:856d2700e60b | 87 | #endif |
<> | 139:856d2700e60b | 88 | #ifndef OS_MAINSTKSIZE |
<> | 139:856d2700e60b | 89 | #define OS_MAINSTKSIZE 128 |
<> | 139:856d2700e60b | 90 | #endif |
<> | 139:856d2700e60b | 91 | |
<> | 139:856d2700e60b | 92 | #elif defined(TARGET_EFM32WG_STK3800) |
<> | 139:856d2700e60b | 93 | |
<> | 139:856d2700e60b | 94 | #ifndef INITIAL_SP |
<> | 139:856d2700e60b | 95 | #define INITIAL_SP (0x20008000UL) |
<> | 139:856d2700e60b | 96 | #endif |
<> | 139:856d2700e60b | 97 | |
<> | 139:856d2700e60b | 98 | #ifndef OS_TASKCNT |
<> | 139:856d2700e60b | 99 | #define OS_TASKCNT 14 |
<> | 139:856d2700e60b | 100 | #endif |
<> | 139:856d2700e60b | 101 | #ifndef OS_MAINSTKSIZE |
<> | 139:856d2700e60b | 102 | #define OS_MAINSTKSIZE 128 |
<> | 139:856d2700e60b | 103 | #endif |
<> | 139:856d2700e60b | 104 | |
<> | 139:856d2700e60b | 105 | #elif defined(TARGET_EFR32MG1) |
<> | 139:856d2700e60b | 106 | |
<> | 139:856d2700e60b | 107 | #ifndef INITIAL_SP |
<> | 139:856d2700e60b | 108 | #define INITIAL_SP (0x20007C00UL) |
<> | 139:856d2700e60b | 109 | #endif |
<> | 139:856d2700e60b | 110 | |
<> | 139:856d2700e60b | 111 | #ifndef OS_TASKCNT |
<> | 139:856d2700e60b | 112 | #define OS_TASKCNT 5 |
<> | 139:856d2700e60b | 113 | #endif |
<> | 139:856d2700e60b | 114 | #ifndef OS_MAINSTKSIZE |
<> | 139:856d2700e60b | 115 | #define OS_MAINSTKSIZE 256 |
<> | 139:856d2700e60b | 116 | #endif |
<> | 139:856d2700e60b | 117 | |
<> | 139:856d2700e60b | 118 | #elif defined(TARGET_EFR32MG12) || defined(TARGET_EFM32PG12) |
<> | 139:856d2700e60b | 119 | |
<> | 139:856d2700e60b | 120 | #ifndef INITIAL_SP |
<> | 139:856d2700e60b | 121 | #define INITIAL_SP (0x20040000UL) |
<> | 139:856d2700e60b | 122 | #endif |
<> | 139:856d2700e60b | 123 | |
<> | 139:856d2700e60b | 124 | #ifndef OS_TASKCNT |
<> | 139:856d2700e60b | 125 | #define OS_TASKCNT 14 |
<> | 139:856d2700e60b | 126 | #endif |
<> | 139:856d2700e60b | 127 | #ifndef OS_MAINSTKSIZE |
<> | 139:856d2700e60b | 128 | #define OS_MAINSTKSIZE 256 |
<> | 139:856d2700e60b | 129 | #endif |
<> | 139:856d2700e60b | 130 | |
<> | 139:856d2700e60b | 131 | #endif |
<> | 139:856d2700e60b | 132 | |
<> | 139:856d2700e60b | 133 | #endif // MBED_MBED_RTX_H |