This website requires JavaScript.
Explore
Help
Sign In
ARMmbed
/
mbed-os
mirror of
https://github.com/ARMmbed/mbed-os.git
Watch
1
Star
0
Fork
You've already forked mbed-os
0
Code
Issues
Projects
Releases
Wiki
Activity
dc7178f176
mbed-os
/
rtos
/
mbed_lib.json
7 lines
65 B
JSON
Raw
Normal View
History
Unescape
Escape
RTOS - add config mbed_lib.json file Defines that rtos is present, this resolves in the macro: "MBED_CONF_RTOS_PRESENT=1"
2016-06-08 17:41:29 +00:00
{
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-03-14 11:36:02 +00:00
"name"
:
"rtos-api"
,
"config"
:
{
"present"
:
1
}
RTOS - add config mbed_lib.json file Defines that rtos is present, this resolves in the macro: "MBED_CONF_RTOS_PRESENT=1"
2016-06-08 17:41:29 +00:00
}