mbed-os/rtos/rtx
Russ Butler 88f879d0f8 Prevent underflow in heap size calculation
If the free memory on a device is small enough then the calculation to
determine heap size could underflow to a large value. If this happens
then malloc will never return failure and instead will cause a crash on
allocation. This patch prevents the underflow so malloc works as
expected even with low amounts of free memory.
2017-03-06 17:15:51 -06:00
..
TARGET_ARM7 RTOS - Move per-target RTX config to mbed_rtx.h 2016-09-22 15:09:49 +08:00
TARGET_CORTEX_A Fix Stack stats by running the test command with "-DMBED_HEAP_STATS_ENABLED=1" 2017-01-23 18:11:27 +09:00
TARGET_CORTEX_M Prevent underflow in heap size calculation 2017-03-06 17:15:51 -06:00