mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14821 from boraozgen/rtos-events-enable
RTOS: Add configuration to enable RTX eventspull/14941/head
commit
2a24d81ef0
|
@ -159,6 +159,8 @@
|
||||||
//#define EVR_RTX_MEMORY_POOL_ERROR_DISABLE
|
//#define EVR_RTX_MEMORY_POOL_ERROR_DISABLE
|
||||||
//#define EVR_RTX_MESSAGE_QUEUE_ERROR_DISABLE
|
//#define EVR_RTX_MESSAGE_QUEUE_ERROR_DISABLE
|
||||||
|
|
||||||
|
#if !MBED_CONF_RTOS_ENABLE_ALL_RTX_EVENTS
|
||||||
|
|
||||||
//Following events are NOT used by Mbed-OS, you may enable them if needed for debug purposes
|
//Following events are NOT used by Mbed-OS, you may enable them if needed for debug purposes
|
||||||
#define EVR_RTX_MEMORY_INIT_DISABLE
|
#define EVR_RTX_MEMORY_INIT_DISABLE
|
||||||
#define EVR_RTX_MEMORY_ALLOC_DISABLE
|
#define EVR_RTX_MEMORY_ALLOC_DISABLE
|
||||||
|
@ -320,4 +322,6 @@
|
||||||
#define EVR_RTX_MESSAGE_QUEUE_DELETE_DISABLE
|
#define EVR_RTX_MESSAGE_QUEUE_DELETE_DISABLE
|
||||||
#define EVR_RTX_MESSAGE_QUEUE_DESTROYED_DISABLE
|
#define EVR_RTX_MESSAGE_QUEUE_DESTROYED_DISABLE
|
||||||
|
|
||||||
|
#endif /* !MBED_CONF_RTOS_ENABLE_ALL_RTX_EVENTS */
|
||||||
|
|
||||||
#endif /* MBED_RTX_CONF_H */
|
#endif /* MBED_RTX_CONF_H */
|
||||||
|
|
|
@ -57,6 +57,10 @@
|
||||||
"msgqueue-data-size": {
|
"msgqueue-data-size": {
|
||||||
"help": "The total memory available for all CMSIS-RTOSv2 object-pool message queues combined",
|
"help": "The total memory available for all CMSIS-RTOSv2 object-pool message queues combined",
|
||||||
"value": 0
|
"value": 0
|
||||||
|
},
|
||||||
|
"enable-all-rtx-events": {
|
||||||
|
"help": "Enables all of the RTX events which are disabled by default for optimization",
|
||||||
|
"value": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"macros": ["_RTE_"],
|
"macros": ["_RTE_"],
|
||||||
|
|
Loading…
Reference in New Issue