ringbuffer(环形缓冲区)可以说是嵌入式应用非常常用的数据缓存设计了,LwRB 是国外开发者 MaJerle 维护实现的轻量级 ringbuffer,是一个为嵌入式系统特殊优化设计的 FIFO。1. 纯ANSI C99实现, 数据类型兼容于size_t 2. 与具体硬件平台无关 3. 类FIFO缓冲设计 4. 未使用动态内存分配,纯静态内存 5. 特殊优化过的memcpy实现 6. 当用作单写/单读的管道时是线程&中断安全的 7. 适用于DMA在缓冲区和应用程序内存之间进行零拷贝开销的DMA传输 8. 支持数据查看、读跳过、写进 9. 实现对事件通知的支持
☆26Jan 9, 2021Updated 5 years ago
Alternatives and similar repositories for LwRB
Users that are interested in LwRB are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- 在单片机裸机开发中,通常延时功能函数是以同步阻塞方式实现,的确在很多设备驱动中需要同步阻塞来匹配硬件时序,但这只能存在于硬件驱动层,应用层开发时使用阻塞延时便大大降低了系统实时性和安全性,不可预测就是一块心病。为此我分享出一段由朋友:流星原创的event_delay异步延时…☆24Nov 25, 2019Updated 6 years ago
- 在嵌入式软件开发当中,常常第一步就是设计整个系统的架构。有基于OS的,也有裸机的。我们先拿裸机说事儿,我想很多人在做单片机的裸机开发(甚至基于OS)时脑海里根本没有设计架构的想法,从来都是while(1)循环到底,能写点状态机已经算是基础扎实的人物了。那么问题来了,whil…☆12Nov 25, 2019Updated 6 years ago
- 在嵌入式开发中离不开设备通信,而在通信中稳定性最高的莫过于环形缓冲区算法,当读取速度大于写入速度时,在环形缓冲区的支持下不会丢掉任何一个字节(硬件问题除外)。从.H文件中可看到Ringbuff的数据结构,当中有读写地址以及有效未读数据大小,以及读状态等。 向外部提供的AP…☆18Nov 25, 2019Updated 6 years ago
- 对于嵌入式应用而言,尤其是对于没有操作系统,裸机运行的嵌入式应用,迫切的需要一种高效快捷的调试手段进行嵌入式应用的开发。letter shell就是这样一个可以嵌入在程序中的shell,主要面向嵌入式设备,以C语言函数为运行单位,可以通过命令行调用,运行程序中的函数。1. …☆18Jan 9, 2021Updated 5 years ago
- 用于串口通信或消息的环形队列驱动☆13Sep 12, 2019Updated 6 years ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Cofdet开源项目之:嵌入式系统通用驱动程序接口及其实现-EERPOM操作及存取位置☆12Aug 9, 2022Updated 3 years ago
- Lightweight generic ring buffer manager library☆10Aug 26, 2021Updated 4 years ago
- It is a button state machine module for general use.☆10Apr 3, 2017Updated 8 years ago
- tcpdaemon是一个TCP通讯服务端平台/库,它封装了众多常见服务端进程/线程管理和TCP连接管理模型(Forking、Leader-Follow、IO-Multiplex、WindowsThreads Leader-Follow),使用者只需加入TCP通讯数据收发和应…☆24Oct 1, 2017Updated 8 years ago
- ☆13Jul 30, 2025Updated 8 months ago
- OSAL free operating system abstraction for embedded systems. Supports pthreads, freertos, chibios, coocox, bertos and more... RTOS☆14Dec 27, 2013Updated 12 years ago
- 使用阿里云和4G模块实现远程OTA升级☆23Oct 14, 2023Updated 2 years ago
- FlexibleButton 是一个基于标准 C 语言的小巧灵活的按键处理库,支持单击、连击、短按、长按、自动消抖,可以自由设置组合按键,可用于中断和低功耗场景。该按键库解耦了具体的按键硬件结构,理论上支持轻触按键与自锁按键,并可以无限扩展按键数量。另外,FlexibleB…☆11Jan 9, 2021Updated 5 years ago
- XIoTMan is a set of software architecture solutions dedicated to solving the diversified challenges of IoT terminal applications.☆19Jun 30, 2024Updated last year
- Wordpress hosting with auto-scaling on Cloudways • AdFully Managed hosting built for WordPress-powered businesses that need reliable, auto-scalable hosting. Cloudways SafeUpdates now available.
- A Clone of embUnit testing framework, see https://sourceforge.net/projects/embunit/☆18Oct 2, 2012Updated 13 years ago
- 4G模块开发☆11Aug 16, 2019Updated 6 years ago
- 嵌入式C,软件定时器、线程软狗机制等系统组件集合☆14Nov 2, 2017Updated 8 years ago
- UART Communication Protocol, support all platform☆11Feb 24, 2026Updated last month
- ”智能“工业传感器解决方案,传感器联网(物联网范畴)。该方案基于4G模块,采用MQTT协议与阿里云平台连接,完成传感器数据采集与上报。☆18Jul 1, 2021Updated 4 years ago
- 平时学习中总结出的嵌入式外设驱动库☆37May 30, 2019Updated 6 years ago
- the config server and agent for configuration items.☆12Nov 2, 2025Updated 4 months ago
- Stark Wan Add Quectel EC20CEFAGR06A01☆11Sep 19, 2019Updated 6 years ago
- 嵌入式系统显示多级菜单库及菜单代码生成器☆17Dec 4, 2019Updated 6 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting with the flexibility to host WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Cloudways by DigitalOcean.
- 基于Linux系统的应用程序,旨在搭建一套完整的多进程多线程通讯的消息框架. 支持多SOC的嵌入式APP.☆31Dec 9, 2023Updated 2 years ago
- ☆10Feb 4, 2016Updated 10 years ago
- USB host-controller driver for Raspberry Pi☆15Sep 23, 2014Updated 11 years ago
- ☆13Jan 28, 2026Updated 2 months ago
- FPGA CryptoNight V7 Minner☆31Aug 26, 2019Updated 6 years ago
- Port of the miscellaneous V4L2 tools for QNX 6.5 and above (mainly for devu-uvc project).☆12Mar 26, 2014Updated 12 years ago
- libyuv test code☆13Aug 25, 2018Updated 7 years ago
- mbedtls module for Zephyr, this is not a mirror of the official mbedtls repository.☆27Updated this week
- DS3231 Library for STM32☆15May 11, 2019Updated 6 years ago
- DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Header only c++ network library, based on asio,support tcp,udp,http,websocket,rpc,ssl,icmp,serial_port.☆10Nov 20, 2020Updated 5 years ago
- A straightforward (complete) sample of how to implement AES-GCM by using Linux crypto API at kernel side☆12Oct 6, 2022Updated 3 years ago
- 一个超级小型的嵌入式Flash KV存储系统☆50May 22, 2020Updated 5 years ago
- shttpd - HTTP服务器代码注释☆16Sep 12, 2020Updated 5 years ago
- 学习过程记录☆21Dec 1, 2020Updated 5 years ago
- bluedroid for linux☆13Dec 17, 2013Updated 12 years ago
- UART Communication Protocol, support like TCP/UDP feature☆17Feb 24, 2026Updated last month