ChibiOS/RT 2.6.5 RTOS for Teensy

Status
Not open for further replies.

Bill Greiman

Well-known member
A port of ChibiOS/RT 2.6.5 for AVR, Due, and Teensy 3.0, 3.1 is available here https://github.com/greiman/ChibiOS-Arduino/.

This is an Arduino library for the ChibiOS kernel. It uses the standard Arduino/Teensy IDE.

Some third party Arduino libraries cause problems with a preemptive priority scheduler. If a library contains delay calls it will not release the CPU and lower priority threads may not run well. Replacing delay with sleep should help.
 
Very nice! Ported my project in a few hours and everything is working perfectly!
Do you have any plans on porting ChibiOS 3.x ?
 
Hello,
Thank you for your business.
I have an issue with execution of your example "chFifoDataLogger" on Teensy 3.1 board.
In short, file created, but empty. Looks like write function fault.
Example "dataLogger" of SdFat is working correctly.
 
A port of ChibiOS/RT 2.6.5 for AVR, Due, and Teensy 3.0, 3.1 is available here https://github.com/greiman/ChibiOS-Arduino/.

This is an Arduino library for the ChibiOS kernel. It uses the standard Arduino/Teensy IDE.

Some third party Arduino libraries cause problems with a preemptive priority scheduler. If a library contains delay calls it will not release the CPU and lower priority threads may not run well. Replacing delay with sleep should help.

In the FreeRTOS port to Teensy, the YIELD macro in Teensyduino was defined by FreeRTOS to invoke the scheduler. The YIELD macro is in many places, including delay(). SoChibiOS may not do the same as FreeRTOS.
 
Status
Not open for further replies.
Back
Top