Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Update of MemoryPool.h header file. #4941
Provide fix for pool buffer size.
Provide updates in MemoryPool.h file.
Fix in MemoryPool.h provides availability to create MemoryPool objects for types which sizes are not multiple of 4 bytes (fix alignment issue).
referenced this pull request
Aug 21, 2017
I'm proposing a different fix for this issue in CMSIS repo, please see the below URL with description.
Once/If that gets through we have to make changes to mbed-os repo to use the new alignment macro instead of hard-coding the alignment in MemoryPool.h which creates memory alignment knowledge duplication. In case, it doesn't get through we can use the solution in this PR as short-term fix.