Go Down

Topic: [Solved] freeRTOS for Due (Read 711 times) previous topic - next topic

DrAngelOK

Oct 06, 2019, 11:21 am Last Edit: Oct 07, 2019, 08:53 pm by DrAngelOK
Good day.
Is there any freeRTOS for Due.
Who has experience with her.

Idahowalker

#1
Oct 06, 2019, 04:52 pm Last Edit: Oct 06, 2019, 04:54 pm by Idahowalker
Select, in the Arduino IDE, Sketch|Inclue Library|Manage Libraries, type in "freertos" and select the proper library for your product. You may want to refer to this link https://www.freertos.org/a00106.html, I know I often refer to that link.

DrAngelOK

There are two libraries with freeRTOS there. One for SAM-D, one for AVR.

Idahowalker

Consider the overhead of running freeRTOS on a DUE. freeRTOS is not DUE native as freeRTOS on an ESP32 would be. On a DUE freeRTOS would occupy memory space whiles on a ESP32 freeRTOS is built-in.

You could do some research into which product you are using a SAM-D or an AVR.

DrAngelOK

Arduino Due is sam. Not avr and not sam-d.

DrAngelOK

FreeRTOS by Richard Berry  Version 8.2.3-18 INSTALLED
Real Time Operating System implemented for AVR (Uno, Leonardo, Mega). The primary design goals are: Easy to use, Small footprint, Robust. Uses Watchdog Timer for 15ms resolution. Slow blink = stack overflow. Fast blink = heap malloc() failure.

Due is not in the list.

Idahowalker

FreeRTOS by Richard Berry  Version 8.2.3-18 INSTALLED
Real Time Operating System implemented for AVR (Uno, Leonardo, Mega). The primary design goals are: Easy to use, Small footprint, Robust. Uses Watchdog Timer for 15ms resolution. Slow blink = stack overflow. Fast blink = heap malloc() failure.

Due is not in the list.
You have your answer about the DUE and freeRTOS.

Go Up