1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
MrKevinWeiss
7a68fb0d5e
*Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
Frederik Haxel
64ba553d1f sys: Use size_t print format specifier
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:19 +01:00
MrKevinWeiss
1c03c0594a sys/memarray: Add Kconfig support 2021-02-22 14:54:14 +01:00
cb221aaaf0
memarray: Add extend and reduce functions 2021-01-15 11:39:08 +01:00
a2ce2e9cfb
memarray: Add memarray_available function 2021-01-15 11:39:07 +01:00
5495da5840
memarray: use memarray_free to init elements 2021-01-15 11:20:29 +01:00
bdf2bf537a
memarray: Inline short alloc and free functions
These functions are short enough that inlining them actually reduces the
flash footprint of the test on the samr21-xpro
2020-12-20 17:24:56 +01:00
Bas Stottelaar
1b35d06a51 sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
Bas Stottelaar
80d9da90df sys/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
232237796a
memarray: Add memarray_calloc
The memarray_alloc can be error prone to use as the block returned can
contain data from previous uses. The memarray_calloc call added in this
commit always zeroes the block before returning it to the user.
2020-09-02 19:16:30 +02:00
Vincent Dupont
97cfd1e512 memarray: fix memarray init
If memarray data is not initialized to 0 (for instance during a
re-init). The last element of the array is not properly cleared thus
leading to returning an invalid pointer when everything is allocated.
2020-03-09 17:56:34 +01:00
tobhe
509f40a81c memarray: add fixed-size memory block allocator 2018-04-10 14:37:29 +02:00