mbed-os/UNITTESTS/target_h
Kevin Bracey 83b329cb71 RTOS API for bare metal
Provide partial RTOS API for bare metal builds - things that
can be done in a single threaded environment.

Allows more code to work in both RTOS and bare metal builds without
change, and in particular gives easy access to the ability to
efficiently wait for something occurring in interrupt.

Available in bare-metal:
* ThisThread
* osThreadFlagsSet to set flags on main thread (can be set from IRQ)
* EventFlags (can be set from IRQ)
* Semaphores (can be released from IRQ)
* Mutex (dummy implementation)

Not useful:
* ConditionVariable (could only be signalled from 2nd thread)
* RtosTimer (calls in a second thread context)
* Thread

Unimplemented:
* Mail, Queue, MemoryPool

Possible future work:
* ConditionVariableCS to act as IRQ signalled ConditionVariable
2019-07-15 10:13:50 +03:00
..
drivers watchdog: fix copyright 2019-06-26 09:43:21 +01:00
events Correctly include EventQueue.h 2019-02-21 17:59:05 +02:00
platform watchdog: fix copyright 2019-06-26 09:43:21 +01:00
rtos RTOS API for bare metal 2019-07-15 10:13:50 +03:00
sys cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
ATCmdParser.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
PeripheralNames.h Add unit testing framework 2018-08-27 14:32:35 +03:00
PinNames.h Cellular: adding unit tests for new class CellularContext and changed classes. 2018-11-16 13:14:38 +02:00
arm_math.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
cmsis.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
cmsis_compiler.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
cmsis_os.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
cmsis_os2.h Cellular: Add State machine unit tests. 2019-01-22 02:23:04 -08:00
device.h Add unit testing framework 2018-08-27 14:32:35 +03:00
gpio_object.h Add unit testing framework 2018-08-27 14:32:35 +03:00
mbed.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
mbed_rtx.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
mbed_rtx_conf.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
myCellularContext.h Cellular: retry logic for CellularContext connect 2019-03-29 14:12:23 -05:00
myCellularDevice.h Cellular: add method to set authentication type to CellularContext 2019-05-29 09:46:15 +03:00
nsapi_ppp.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
nvic_wrapper.h Add unit testing framework 2018-08-27 14:32:35 +03:00
objects.h Cellular: fixing unit test after refactor. 2018-11-11 14:12:49 +02:00
randLIB.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
rtx_lib.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
rtx_os.h unittests: fix astyle 2018-10-25 09:58:18 +01:00