phoenix-rtos / phoenix-rtos-project

Sample project using Phoenix-RTOS
https://phoenix-rtos.com
BSD 3-Clause "New" or "Revised" License
43 stars 32 forks source link

add malloc_usable_size implementation #660

Closed damianloew closed 1 year ago

damianloew commented 1 year ago

This function may be helpful, especially for functional testing alloc functions.

mateusz-bloch commented 1 year ago

This be uncommented after resolving this issue:

https://github.com/phoenix-rtos/phoenix-rtos-tests/blob/4466a767778230eaee379abae7a0bac9cbcba71d/libc/stdlib_alloc.c#L71

damianloew commented 1 year ago

Added in https://github.com/phoenix-rtos/libphoenix/pull/245