Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MaJerle/lwmem
Lightweight dynamic memory manager library for embedded systems with memory constraints. It implements malloc, calloc, realloc and free functions
https://github.com/MaJerle/lwmem
alloc arduino automotive c calloc dynamic embedded industrial lightweight malloc manager memory realloc stm32 stm8 systems
Last synced: 3 months ago
JSON representation
Lightweight dynamic memory manager library for embedded systems with memory constraints. It implements malloc, calloc, realloc and free functions
- Host: GitHub
- URL: https://github.com/MaJerle/lwmem
- Owner: MaJerle
- License: mit
- Created: 2019-04-20T16:01:27.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2024-06-22T17:27:25.000Z (5 months ago)
- Last Synced: 2024-06-24T21:48:17.350Z (5 months ago)
- Topics: alloc, arduino, automotive, c, calloc, dynamic, embedded, industrial, lightweight, malloc, manager, memory, realloc, stm32, stm8, systems
- Language: C
- Homepage: https://majerle.eu/projects/lwmem-lightweight-dynamic-memory-manager
- Size: 2.45 MB
- Stars: 281
- Watchers: 19
- Forks: 62
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
- awesome-embedded-software - lwmem - Lightweight dynamic memory manager library for embedded systems with memory constraints. It implements malloc, calloc, realloc and free functions. (Memory / Memory management)
README
# 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](https://github.com/MaJerle/c-code-style) already used in the project
3. Create a pull request to develop branch with new features or bug fixesAlternatively you may:
1. Report a bug
2. Ask for a feature request