Maintain legacy RTOS behavior before mbed-5
Fork of mbed-rtos by
rtos/rtos_idle.h@107:bdd541595fc5, 2016-03-15 (annotated)
- Committer:
- mbed_official
- Date:
- Tue Mar 15 09:00:39 2016 +0000
- Revision:
- 107:bdd541595fc5
- Child:
- 123:58563e6cba1e
Synchronized with git revision 3afb55095212c88fc1c17177348bc1e16259c1ca
Full URL: https://github.com/mbedmicro/mbed/commit/3afb55095212c88fc1c17177348bc1e16259c1ca/
[STM32F4] Add DEVICE_RTC_LSI=0 to all targets
Who changed what in which revision?
User | Revision | Line number | New 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 |