mbed-os/rtos/source
Devaraj Ranganna fa5a954031 rtos: Improve CMSIS-RTOSv2 app compatibility
Some non-Mbed-OS, pre-existing CMSIS-RTOSv2 applications depend on
CMSIS-RTOSv2 Automatic Dynamic Allocation, also known as Object-specific
memory pools. Mbed OS doesn't by default provide any memory to the
CMSIS-RTOSv2 Automatic Dynamic Allocation pool, as doing so would waste
memory if the feature is not used; even if the feature is used, as a
platform, Mbed OS can't know how many objects of which types will be
created by an application and therefore will either waste memory or not
provide enough memory in a hard to debug manner. Portable CMSIS-RTOSv2
applications depending on CMSIS-RTOSv2 Automatic Dynamic Allocation
should instead configure the memory pools themselves, as applications
know best their memory requirements.

Add Mbed configuration options which can be used by applications to
control the amounts of memory available to the CMSIS-RTOSv2 Automatic
Dynamic Allocation subsystem. This enables portable CMSIS-RTOSv2
applications, which can run on any CMSIS-RTOSv2 OS, to be able to run on
Mbed OS as well.

RTX's configuration options for CMSIS-RTOSv2 memory are documented at
http://www.keil.com/pack/doc/CMSIS_Dev/RTOS2/html/config_rtx5.html

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-15 18:08:14 +01:00
..
TARGET_CORTEX rtos: Improve CMSIS-RTOSv2 app compatibility 2020-04-15 18:08:14 +01:00
ConditionVariable.cpp rtos: fix SPDX identifiers 2020-02-21 07:00:57 +00:00
EventFlags.cpp rtos: fix SPDX identifiers 2020-02-21 07:00:57 +00:00
Kernel.cpp rtos: fix SPDX identifiers 2020-02-21 07:00:57 +00:00
Mutex.cpp Change Mutex lock and unlock API return value to void 2020-03-10 05:14:19 -07:00
Semaphore.cpp Remove Semaphore deprecated APIs 2020-03-16 09:37:45 -07:00
ThisThread.cpp rtos: fix SPDX identifiers 2020-02-21 07:00:57 +00:00
Thread.cpp rtos: fix SPDX identifiers 2020-02-21 07:00:57 +00:00
rtos_handlers.h rtos: fix SPDX identifiers 2020-02-21 07:00:57 +00:00
rtos_idle.h rtos: fix SPDX identifiers 2020-02-21 07:00:57 +00:00