knurling-rs/defmt
Efficient, deferred formatting for logging on embedded systems
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#1 Repository của tuần
#1 Repository của tuần
🚀 defmt: Logging hiệu quả cho thiết bị nhúng
Framework logging dùng deferred formatting, tối ưu cho vi điện tử với tài nguyên hạn chế.
defmt ("deferred formatting") là framework logging hiệu suất cao nhắm đến thiết bị nhúng như vi điện tử. Dự án do Ferrous Systems phát triển, thuộc dự án Knurling, cung cấp giải pháp logging tiết kiệm bộ nhớ và tốc độ xử lý trên thiết bị.
✨ Điểm nổi bật
- Deferred formatting: Định dạng log được hoãn lại, chỉ lưu trữ dữ liệu thô trên thiết bị.
- Hỗ trợ nhiều giao thức truyền: RTT, ITM, semihosting để gửi log về host.
- Công cụ giải mã host: defmt-decoder, defmt-parser, defmt-print hỗ trợ giải mã và in log.
- Kiểm thử trên thiết bị: defmt-test cung cấp framework chạy test trực tiếp trên vi điện tử.
- Tích hợp panic handling: panic-probe gửi thông tin panic qua defmt.
- Macro mở rộng: defmt-macros cung cấp proc macros tùy biến hóa cho logging.
💡 Vì sao đáng chú ý
defmt khác biệt từ các framework logging thông thường bằng cách trì hoãn quá trình định dạng log. Thay vì định dạng trên thiết bị, defmt chỉ ghi nhận dữ liệu thô và để host thực hiện định dạng sau. Cách tiếp cận này giảm đáng kể dung lượng bộ nhớ và thời gian xử lý trên vi điện tử, rất phù hợp với môi trường có tài nguyên hạn chế.
#Rust #EmbeddedSystems #Logging #FerrousSystems #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.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
Adds zero-cost stack overflow protection to your embedded programs
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io
Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.
There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
Free domain registration and practical DNS learning resources for everyone.