RepositoryCUSHoa Kỳ
EM

embeddedartistry/libmemory

Embedded systems memory management library. Implementations for malloc(), free(), and other useful memory management functions

285sao
53fork
7issue
2lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: malloc-free

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: portability

#1 Repository của tháng

1
TINIX TRENDING·Chủ đề: bringup

#1 Repository của tháng

📦 libmemory: Quản lý bộ nhớ cho hệ thống nhúng

Cung cấp malloc() và free() cho các nền tảng bare-metal mà không cần RTOS.

libmemory của Embedded Artistry là thư viện quản lý bộ nhớ dành cho hệ thống nhúng. Nếu bạn đang phát triển trên bare-metal và cần dùng malloc(), thư viện này là lựa chọn phù hợp.

✨ Điểm nổi bật

  • Free-list allocator: Cài đặt chính cho malloc() và free().
  • Hỗ trợ bare-metal: Chỉ cần gán một khối bộ nhớ qua malloc_addblock().
  • Wrapper cho RTOS: Hỗ trợ FreeRTOS và ThreadX.
  • aligned_malloc(): Cung cấp phân bổ căn chỉnh.
  • Tích hợp với libc: Tương thích với libc của nền tảng.
  • Hỗ trợ đa nền tảng: x86, x86_64, ARM, ARM64.
  • Xây dựng bằng Meson: Sử dụng hệ thống build Meson.
  • Kiểm thử: Tests cho malloc(), free(), aligned_malloc().

💡 Vì sao đáng chú ý

libmemory khác biệt ở khả năng cung cấp malloc() trên các hệ thống bare-metal mà không cần RTOS. Ngoài ra, thư viện hỗ trợ wrapper cho RTOS phổ biến như FreeRTOS và ThreadX, nâng cao tính portabilily. Phù hợp cho các dự án nhúng cần quản lý bộ nhớ linh hoạt.


#EmbeddedSystems #MemoryManagement #Malloc #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC
RT-Thread/rt-thread

RT-Thread is an open source IoT Real-Time Operating System (RTOS). https://rt-thread.github.io/rt-thread/

12.4k
Nov 29, 2026
RepositoryC
GrapheneOS/hardened_malloc

Hardened allocator designed for modern systems. It has integration into Android's Bionic libc and can be used externally with musl and glibc as a dynamic library for use on other Linux-based platforms. It will gain more portability/integration over time.

2.1k
Dec 1, 2026
RepositoryC
QuantumLeaps/modern-embedded-programming-course

Companion repository to the "Modern Embedded Systems Programming" video course.

1.6k
Jul 7, 2026
RepositoryC
MaJerle/lwesp

Lightweight and versatile AT parser library for ESP8266 and ESP32 devices.

565
Nov 29, 2026
RepositoryC
skaiui2/SKRTOS_sparrow

A modular RTOS microkernel with tutorials—built for embedded systems, teaching, and architecture research.

502
Mar 11, 2026
RepositoryC++
mpaland/printf

Tiny, fast, thread-safe, non-dependent and fully loaded printf implementation for embedded systems. Extensive test suite passing.

3.1k
Nov 23, 2026
RepositoryRust
ariel-os/ariel-os

Ariel OS is a library operating system for secure, memory-safe, low-power Internet of Things, written in Rust

1.3k
Dec 1, 2026
RepositoryC++
emeryberger/Hoard

The Hoard Memory Allocator: A Fast, Scalable, and Memory-efficient Malloc for Linux, Windows, and Mac.

1.3k
Nov 19, 2026
RepositoryRust
polarsignals/rust-jemalloc-pprof

Convert jemalloc heap profiles to pprof to understand memory usage, fix memory leaks, and fix OOM Kills.

281
Oct 8, 2026