Sparrow RTOS开发基本原则 1.跨越多个源文件的全局变量必须带所在文件的名称,局部变量小写加下划线命名,全局变量命名中的不同单词第一个字母应大写 2.不同文件夹相对隔离,仅仅通过必要的接口完成任务 3.尽量让一个模块只负责少量且具有关联性的接口的实现,并且减少与其他模块或类的依赖关系 4.封装内部实现细节,只有公...
生产者-消费者缓存队列源码在PCqueue.c和PCqueue.h文件,读写锁源码在RWlock.c和RWlock.h文件。 地址:skaiui2/SKRTOS_sparrow at source 问题 使用互斥信号量跨越任务进行互斥,会不会导致问题的发生?为什么?
SKRTOS_sparrow Lightweight rtos inspired by SKRTOS 说明 这里是sparrow已经移植好了的工程,适用于arm cm3架构(例如stm32f103c8t6)。 开发环境是clion SparrowHAL是hal库的移植,SparrowStdlib是标准库的移植。 开发环境是Keil SparrowKeilStd是在keil环境下能稳定运行的标准库工程,适用于keil v5.06版本的编译器。Spa...
SKRTOS_sparrow 移植 这里是Sparrow的源码,对于arm cm3架构的单片机(例如stm32f103c8t6),只需要将其复制到原工程的文件中,并且删除掉stm32f1xx_it.c文件中的SVC_Handler、SysTick_Handler和PendSV_Handler中断,即可成功完成移植。 Sparrow.c适用于clion的gcc编译器和keil v6版本的编译器。
/*The RTOS delay will switch the task.It is used to liberate low-priority task*/ void TaskDelay( uint16_t ticks ) { uint32_t WakeTime = TicksBase + ticks; TCB_t *self = pxCurrentTCB; if( WakeTime < TicksBase) { OverWakeTicksTable[self->uxPriority] = WakeTime; }...
Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {{ message }} skaiui2 / SKRTOS_sparrow Public ...
Lightweight rtos inspired by SKRTOS. Contribute to skaiui2/SKRTOS_sparrow development by creating an account on GitHub.
/*The RTOS delay will switch the task.It is used to liberate low-priority task*/ void TaskDelay( uint16_t ticks ) @@ -317,26 +313,28 @@ void CheckTicks( void ) } __attribute__((always_inline)) uint32_t xEnterCritical( void ) __attribute__((always_inline)) inline uint32_t...
TizenRT is a lightweight RTOS-based platform to support low-end IoT devices. It is largely based on NuttX. TizenRT didn't bring all of the device drivers or any of the NX graphics subsystem from NuttX. This project adds RA8875 support back into TizenRT over an SPI bus, and adds bac...
Lightweight rtos inspired by SKRTOS. Contribute to skaiui2/SKRTOS_sparrow development by creating an account on GitHub.