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