mbed-os/rtos/source/TARGET_CORTEX
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
..
TOOLCHAIN_ARM_MICRO Enabling small C library option and deprecating uARM toolchain 2019-12-19 10:05:11 -08:00
TOOLCHAIN_ARM_STD - Remove the pre-processor directive __ARMCC_VERSION >= 6010050 2020-03-27 14:37:01 +00:00
TOOLCHAIN_GCC_ARM Move TARGET directories to source 2019-08-08 11:59:16 +01:00
TOOLCHAIN_IAR Move TARGET directories to source 2019-08-08 11:59:16 +01:00
rtx4 Suppress Coverity warnings 2019-09-12 15:44:55 +01:00
rtx5 Allow OS_THREAD_LIBSPACE_NUM as a macro 2019-09-26 04:33:53 -07:00
mbed_boot.c Disable write buffering on debug builds. 2020-01-30 16:19:28 +02:00
mbed_boot.h Harmonise Doxygen comments in drivers, events, platform and rtos dirs 2019-09-09 10:59:51 +01:00
mbed_lib.json rtos: Improve CMSIS-RTOSv2 app compatibility 2020-04-15 18:08:14 +01:00
mbed_rtos_rtx.c Prevent unreachable statements and correct variable sizes. 2019-09-12 11:51:26 +01:00
mbed_rtx_conf.h rtos: Improve CMSIS-RTOSv2 app compatibility 2020-04-15 18:08:14 +01:00
mbed_rtx_handlers.c Prevent unreachable statements and correct variable sizes. 2019-09-12 11:51:26 +01:00
mbed_rtx_idle.cpp rtos: fix SPDX identifiers 2020-02-21 07:00:57 +00:00
mbed_rtx_storage.h rtos: fix SPDX identifiers 2020-02-21 07:00:57 +00:00