Pages: [1]   Go Down
Author Topic: Realtime OS - ChibiOS/RT port for Due  (Read 1693 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have ported the Arduino Due to ChibiOS/RT. That's said - currently I have only implemented the PAL drivers, which means GPIO drivers.

Here is the git repro: https://github.com/sam0737/chibios-rt-arduino-due

So far, It boots, running threads and such. It should be a good starting point if someone gets the hand dirty with better RTOS than what Arduino has offered.

I develop it on Windows, and build with the toolchain that Arduino uses. I suppose it works on Linux with almost no modification.
Logged

Forum Administrator
Milano, Italy
Offline Offline
Sr. Member
*****
Karma: 23
Posts: 292
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

fat16lib did a porting of some RTOS to the Arduino Due and other platforms as well:

http://arduino.cc/forum/index.php/topic,137345.0.html
Logged

C.

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If I understand correctly, fat16lib's approach is run Chibios/RT scheduler with the Arduino Due existing Library. That said, to control the hardware register, you have to use the Arduino library (writing pins, USB, timer, etc), not the Chibios/RT.

While what I am doing is implementing the low level driver for Due on Chibios/RT. No dependency on the Arduino stack - which means instead of digitalWrite, one have to code in Chibios/RT style.
Logged

Pages: [1]   Go Up
Jump to: