Closed 0xc0170 closed 8 years ago
It's rebased on top of master, tests below run with this changeset:
+---------------+---------------+--------------------------+--------+--------------------+-------------+
| target | platform_name | test | result | elapsed_time (sec) | copy_method |
+---------------+---------------+--------------------------+--------+--------------------+-------------+
| frdm-k64f-gcc | K64F | core-util-test-test-krbs | OK | 4.02 | shell |
+---------------+---------------+--------------------------+--------+--------------------+-------------+
+---------------+---------------+--------------------------+--------+--------------------+-------------+
| target | platform_name | test | result | elapsed_time (sec) | copy_method |
+---------------+---------------+--------------------------+--------+--------------------+-------------+
| frdm-k64f-gcc | K64F | core-util-test-test-sbrk | OK | 4.02 | shell |
+---------------+---------------+--------------------------+--------+--------------------+-------------+
Bump for review
I would suggest eliminating the TODOs using yotta config with sensible defaults.
#ifndef YOTTA_CFG_CORE_UTIL_POOL_ALLOC_DEFAULT_ALIGN
#define YOTTA_CFG_CORE_UTIL_POOL_ALLOC_DEFAULT_ALIGN 8
#endif
#define MBED_UTIL_POOL_ALLOC_DEFAULT_ALIGN YOTTA_CFG_CORE_UTIL_POOL_ALLOC_DEFAULT_ALIGN
Please delete upload.tar.gz
Please delete upload.tar.gz
Ah, was not ignored. I'll send a fix for .gitignore in the separate PR, file has been removed.
#ifndef YOTTA_CFG_CORE_UTIL_POOL_ALLOC_DEFAULT_ALIGN #define YOTTA_CFG_CORE_UTIL_POOL_ALLOC_DEFAULT_ALIGN 8 #endif #define MBED_UTIL_POOL_ALLOC_DEFAULT_ALIGN YOTTA_CFG_CORE_UTIL_POOL_ALLOC_DEFAULT_ALIGN
Sensible to me, anyone else any objections?
LGTM
LGTM
I eliminated those TODO as suggested above with yotta config. Ready for merging
Ready for merging, I agree. So:
Because of 2 above, I'm inclined to release this fix as a new major version (which of course means that we'll need to update all the dependants accordingly). Thoughts? @bremoran @0xc0170
After a few discussion, it looks like the best option is to look at this like a bugfix (which it actually is) and thus release a new patch version once it's merged.
Published version 1.5.2
This change-set shall be merged after #83, as that one fixes the internal tests. Then this one should not cause any failure.
I would like to eliminate those 2 TODOs in PoolAllocator. I can just remove them, any suggestions?
@bremoran @mjs-arm @bogdanm