sdf

Dependencies:   mbed-rtos

Fork of mbed-rtos by mbed official

Committer:
Kojto
Date:
Mon Jul 25 14:12:24 2016 +0100
Revision:
118:6635230e06ba
Parent:
107:bdd541595fc5
Child:
123:58563e6cba1e
RTOS rev118

Compatible with the mbed library v122

Changes:
- warnings about duplicated CM symbols fix
- init sequence update - allows init array to be run prior kernel start
- RTOS with OS_TIMERS=0 fix for thread id
- Thread ctor is deprecated, use start() method
- main stack fix for IAR (set via linker script)
- add TCB context pointer
- provide thread safety for toolchains (std lib locks)
- add MBED_RTOS_SINGLE_THREAD macro (sets TSKCNT to 1 and TIMERS to 0)
- nrf51, nucleo l423kc, nucleo f767zi, nucleo f446ze, efm32 support addition
- add OSObserver function

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 107:bdd541595fc5 1 /* mbed Microcontroller Library
mbed_official 107:bdd541595fc5 2 * Copyright (c) 2006-2012 ARM Limited
mbed_official 107:bdd541595fc5 3 *
mbed_official 107:bdd541595fc5 4 * Permission is hereby granted, free of charge, to any person obtaining a copy
mbed_official 107:bdd541595fc5 5 * of this software and associated documentation files (the "Software"), to deal
mbed_official 107:bdd541595fc5 6 * in the Software without restriction, including without limitation the rights
mbed_official 107:bdd541595fc5 7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
mbed_official 107:bdd541595fc5 8 * copies of the Software, and to permit persons to whom the Software is
mbed_official 107:bdd541595fc5 9 * furnished to do so, subject to the following conditions:
mbed_official 107:bdd541595fc5 10 *
mbed_official 107:bdd541595fc5 11 * The above copyright notice and this permission notice shall be included in
mbed_official 107:bdd541595fc5 12 * all copies or substantial portions of the Software.
mbed_official 107:bdd541595fc5 13 *
mbed_official 107:bdd541595fc5 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
mbed_official 107:bdd541595fc5 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
mbed_official 107:bdd541595fc5 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
mbed_official 107:bdd541595fc5 17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
mbed_official 107:bdd541595fc5 18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
mbed_official 107:bdd541595fc5 19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
mbed_official 107:bdd541595fc5 20 * SOFTWARE.
mbed_official 107:bdd541595fc5 21 */
mbed_official 107:bdd541595fc5 22 #ifndef RTOS_IDLE_H
mbed_official 107:bdd541595fc5 23 #define RTOS_IDLE_H
mbed_official 107:bdd541595fc5 24
mbed_official 107:bdd541595fc5 25 #include <stddef.h>
mbed_official 107:bdd541595fc5 26
mbed_official 107:bdd541595fc5 27 #ifdef __cplusplus
mbed_official 107:bdd541595fc5 28 extern "C" {
mbed_official 107:bdd541595fc5 29 #endif
mbed_official 107:bdd541595fc5 30
mbed_official 107:bdd541595fc5 31 void rtos_attach_idle_hook(void (*fptr)(void));
mbed_official 107:bdd541595fc5 32
mbed_official 107:bdd541595fc5 33 #ifdef __cplusplus
mbed_official 107:bdd541595fc5 34 }
mbed_official 107:bdd541595fc5 35 #endif
mbed_official 107:bdd541595fc5 36
mbed_official 107:bdd541595fc5 37 #endif