mem pool size: Fix calculation of memory pool size for portability
Replace the hardcoded value calculation of the memory pool block size
with the RTX preprocessor macro (via a shim layer).
This is in preparation for the replacement of the direct access of RTX
functionalities in Mbed OS with an access via CMSIS.
ls
1 parent 9cc1caa commit 4f8305ed959a9a831a3dffd8c97f65c700b02266
@Hugues Kamba Hugues Kamba authored on 29 May 2019
Showing 2 changed files
View
rtos/MemoryPool.h
View
rtos/TARGET_CORTEX/mbed_rtos_storage.h