Skip to content
/ lwmem Public
forked from MaJerle/lwmem

Lightweight dynamic memory manager library for embedded systems with memory constraints. It implements malloc, calloc, realloc and free functions

License

Notifications You must be signed in to change notification settings

edieruby/lwmem

This branch is 41 commits behind MaJerle/lwmem:develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

76f54a0 · Nov 20, 2023
Nov 26, 2021
Nov 20, 2023
May 18, 2022
Nov 20, 2023
Oct 18, 2023
Apr 23, 2023
Nov 20, 2023
Jul 27, 2022
May 28, 2023
Nov 20, 2023
Apr 20, 2019
Dec 13, 2021
Dec 9, 2021
Aug 28, 2023
Jan 31, 2023
Sep 30, 2022
Sep 1, 2022
Jan 4, 2023
Aug 27, 2023
Jan 31, 2023

Repository files navigation

Lightweight dynamic memory manager

Read first: Documentation

Features

  • Written in C (C11), compatible with size_t for size data types
  • Implements standard C library functions for memory allocation, malloc, calloc, realloc and free
  • Uses first-fit algorithm to search for free block
  • Supports multiple allocation instances to split between memories and/or CPU cores
  • Supports different memory regions to allow use of fragmented memories
  • Highly configurable for memory allocation and reallocation
  • Supports embedded applications with fragmented memories
  • Supports automotive applications
  • Supports advanced free/realloc algorithms to optimize memory usage
  • Operating system ready, thread-safe API
  • C++ wrapper functions
  • User friendly MIT license

Contribute

Fresh contributions are always welcome. Simple instructions to proceed:

  1. Fork Github repository
  2. Follow C style & coding rules already used in the project
  3. Create a pull request to develop branch with new features or bug fixes

Alternatively you may:

  1. Report a bug
  2. Ask for a feature request

About

Lightweight dynamic memory manager library for embedded systems with memory constraints. It implements malloc, calloc, realloc and free functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.1%
  • C++ 6.5%
  • CMake 2.4%