Closed
Description
Description
MemoryPool object contains this currently: char _pool_mem[((sizeof(T) + 3) & ~3) * pool_sz];
As we recently found out (reported by @embeddedteam103, see ARM-software/CMSIS_5#479) this calculation is not portable.
rtx_os.h
defines osRtxMemoryPoolMemSize
that we can use instead. Add the calculation to our mbed_os_storage_rtos
header file.
cc @kjbracey-arm @c1728p9
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug