florent ollivier / Mbed 2 deprecated Gyro

Dependencies:   mbed

Committer:
flo__
Date:
Mon Mar 28 15:54:19 2022 +0000
Revision:
0:b435eadf76b4
28/03/2022

Who changed what in which revision?

UserRevisionLine numberNew contents of line
flo__ 0:b435eadf76b4 1
flo__ 0:b435eadf76b4 2 /** \addtogroup rtos */
flo__ 0:b435eadf76b4 3 /** @{*/
flo__ 0:b435eadf76b4 4 /* mbed Microcontroller Library
flo__ 0:b435eadf76b4 5 * Copyright (c) 2006-2012 ARM Limited
flo__ 0:b435eadf76b4 6 *
flo__ 0:b435eadf76b4 7 * Permission is hereby granted, free of charge, to any person obtaining a copy
flo__ 0:b435eadf76b4 8 * of this software and associated documentation files (the "Software"), to deal
flo__ 0:b435eadf76b4 9 * in the Software without restriction, including without limitation the rights
flo__ 0:b435eadf76b4 10 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
flo__ 0:b435eadf76b4 11 * copies of the Software, and to permit persons to whom the Software is
flo__ 0:b435eadf76b4 12 * furnished to do so, subject to the following conditions:
flo__ 0:b435eadf76b4 13 *
flo__ 0:b435eadf76b4 14 * The above copyright notice and this permission notice shall be included in
flo__ 0:b435eadf76b4 15 * all copies or substantial portions of the Software.
flo__ 0:b435eadf76b4 16 *
flo__ 0:b435eadf76b4 17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
flo__ 0:b435eadf76b4 18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
flo__ 0:b435eadf76b4 19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
flo__ 0:b435eadf76b4 20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
flo__ 0:b435eadf76b4 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
flo__ 0:b435eadf76b4 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
flo__ 0:b435eadf76b4 23 * SOFTWARE.
flo__ 0:b435eadf76b4 24 */
flo__ 0:b435eadf76b4 25 #ifndef RTOS_H
flo__ 0:b435eadf76b4 26 #define RTOS_H
flo__ 0:b435eadf76b4 27
flo__ 0:b435eadf76b4 28 #include "rtos/Thread.h"
flo__ 0:b435eadf76b4 29 #include "rtos/Mutex.h"
flo__ 0:b435eadf76b4 30 #include "rtos/RtosTimer.h"
flo__ 0:b435eadf76b4 31 #include "rtos/Semaphore.h"
flo__ 0:b435eadf76b4 32 #include "rtos/Mail.h"
flo__ 0:b435eadf76b4 33 #include "rtos/MemoryPool.h"
flo__ 0:b435eadf76b4 34 #include "rtos/Queue.h"
flo__ 0:b435eadf76b4 35
flo__ 0:b435eadf76b4 36 using namespace rtos;
flo__ 0:b435eadf76b4 37
flo__ 0:b435eadf76b4 38 /* Get mbed lib version number, as RTOS depends on mbed lib features
flo__ 0:b435eadf76b4 39 like mbed_error, Callback and others.
flo__ 0:b435eadf76b4 40 */
flo__ 0:b435eadf76b4 41 #include "mbed.h"
flo__ 0:b435eadf76b4 42
flo__ 0:b435eadf76b4 43 #if (MBED_LIBRARY_VERSION < 122)
flo__ 0:b435eadf76b4 44 #error "This version of RTOS requires mbed library version > 121"
flo__ 0:b435eadf76b4 45 #endif
flo__ 0:b435eadf76b4 46
flo__ 0:b435eadf76b4 47 #endif
flo__ 0:b435eadf76b4 48
flo__ 0:b435eadf76b4 49 /** @}*/