wuzhl2018 / cx_schLinks
在嵌入式软件开发当中,常常第一步就是设计整个系统的架构。有基于OS的,也有裸机的。我们先拿裸机说事儿,我想很多人在做单片机的裸机开发(甚至基于OS)时脑海里根本没有设计架构的想法,从来都是while(1)循环到底,能写点状态机已经算是基础扎实的人物了。那么问题来了,while(1)是什么?在嵌入式设计模式里是怎么给while(1)定义的。《C嵌入式编程设计模式》一书中将while(1)称之为“超循环模式”,也就是嵌入式的入门傻瓜模式。在此模式下即使有前台监听也势必会导致系统实时性傻逼,从硬件上分析:while(1)的高CPU占用率也使得功耗大大提高。当然存在即合理,超循环模式在安全性和可靠性上是非常占优势的。结构简单也易于理解,这对于安全性能要求较高的系统上还是非常具有吸引力的
☆12Updated 6 years ago
Alternatives and similar repositories for cx_sch
Users that are interested in cx_sch are comparing it to the libraries listed below
Sorting:
- 在单片机裸机开发中,通常延时功能函数是以同步阻塞方式实现,的确在很多设备驱动中需要同步阻塞来匹配硬件时序,但这只能存在于硬件驱动层,应用层开发时使用阻塞延时便大大降低了系统实时性和安全性,不可预测就是一块心病。为此我分享出一段由朋友:流星原创的event_delay异步延时…☆23Updated 6 years ago
- 在嵌入式开发中离不开设备通信,而在通信中稳定性最高的莫过于环形缓冲区算法,当读取速度大于写入速度时,在环形缓冲区的支持下不会丢掉任何一个字节(硬件问题除外)。从.H文件中可看到Ringbuff的数据结构,当中有读写地址以及有效未读数据大小,以及读状态等 。 向外部提供的AP…☆18Updated 6 years ago
- ☆19Updated 5 years ago
- Small GUI Library of MCUs☆68Updated 10 years ago
- ARM-GCC下STM32F1工程模板,运行OSAL操作系统☆25Updated 7 years ago
- SL_SDK provides an easy-to-use software framework with united HAL and OSAL, also including a runtime environment to speed-up development …☆89Updated 3 years ago
- ringbuffer(环形缓冲区)可以说是嵌入式应用非常常用的数据缓存设计了,LwRB 是国外开发者 MaJerle 维护实现的轻量级 ringbuffer,是一个为嵌入式系统特殊优化设计 的 FIFO。1. 纯ANSI C99实现, 数据类型兼容于size_t 2. 与具体…☆25Updated 4 years ago
- Designed with Micrium’s renowned quality, scalability and reliability, the purpose of µC/LIB is to provide a clean, organized ANSI C impl…☆59Updated 4 years ago
- ☆47Updated 5 years ago
- µC/Common is a module that regroups components used by various Micrium products. It currently includes a Kernel Abstraction Layer (KAL), …☆26Updated 4 years ago
- Designed with Micriμm's renowned quality, scalability and reliability, the purpose of μC/ CPU is to provide a clean, organized ANSI C imp…☆63Updated 4 years ago
- ☆21Updated 5 years ago
- CherryRingBuffer is an efficient and easy-to-use ringbuffer, especially for dma support.☆70Updated last year
- MOE is an event-driven OS for 8/16/32-bit MCUs. MOE means "Minds Of Embedded system", It’s also the name of my lovely baby daughter☆69Updated 5 years ago
- GUI component for RT-Thread☆28Updated 2 years ago
- ☆28Updated 5 years ago
- ☆20Updated 5 years ago
- awtk-aworks-rt1052☆33Updated 3 years ago
- 移植SpunkyWX STM32的开源Bootloader框架-RT-FOTA,运行完整RT-Thread,支持RTT官方的RBL文件,Ymodem传输,一键恢复出厂固件等功能。☆62Updated 3 years ago
- 标量Kalman滤波器的C语言实现; C implementation of Scalar Kalman Filter☆34Updated 10 years ago
- J-LINK Commander like tool for JLink and DAPLink, adding HardFault diagnosis and SVD-based peripheral register access.☆61Updated 2 months ago
- 纯C语言高性能的轻量级协程,比protothread更高效 ,仅一个bp.h文件。 Lightweight coroutine with high performance in pure C language, …☆99Updated 3 years ago
- A lightweight, customizable embedded Web Server for RT-Thread☆53Updated last year
- 小型系统 单片机的 软件事件框架 软件定时 基于事件驱动☆12Updated 7 years ago
- Small yet powerful state machine coroutine library☆39Updated last year
- tiny macro os for MCU.☆51Updated 6 months ago
- stm32f10x系列基础服务框架,作为stm32的工程模板和硬件驱动。项目集成kernel io fs shell tcpip等基础服务框架☆29Updated 3 years ago
- Versaloon Software Framework -- a tiny pre-emptive event-driven fsm framework for embedded systems☆46Updated 5 years ago
- Advance backtrace library for ARM Cortex-M series MCU | ARM Cortex-M 系列 MCU 错误追踪库☆24Updated last year
- WIZnet TCP/IP chips (such as W5500/W5100..) SAL framework implement.☆52Updated 11 months ago