Replies: 1 comment
-
Hi tim-vu. The tickless mode is not supported in the (this) AVR port. As you note, there isn't a standard What is happening is that the Arduino It is possible to select a longer tick interval. And sleep following each tick. Or alternatively put the AVR to sleep once its tasks have been done. You can do this in the loop function, as described here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been trying for hours to enable tickless mode (https://www.freertos.org/low-power-tickless-rtos.html). At this point im not sure whether Im doing something wrong or there is a bug.
I expect vApplicationSleep to be called whenever TaskPrint is not running, that is not the case however. It seems like the define statements are being overwritten. I've have tried moving them to FreeRTOSConfig.h but that caused a compile error as tasks.c was unable to find my function (vApplicationSleep).
Im using the Arduino IDE and a AtMega32u4
Beta Was this translation helpful? Give feedback.
All reactions