-
Notifications
You must be signed in to change notification settings - Fork 20
Description
I have been trying to implement this SAMD21 port of FreeRTOS in conjunction with sleep modes on and Adafruit Feather M0.
It does not really work, which is why this post, I have broken my sketch down to setup(), loop(0 and one task which does nothing except suspend itself. I am using the Arduino Low Power library https://www.arduinolibraries.info/libraries/arduino-low-power and checked it for delay() functions (not thread safe)
I have also noted the portSUPPRESS_TICKS_AND_SLEEP() Macro discussion on the FreeRTOS documentation https://www.freertos.org/low-power-tickless-rtos.html The SAMD21 implementation does not include the configUSE_TICKLESS_IDLE definition in FreeRTOSConfig.h I added that but no change to the problem.
While I will keep trying to sort out what is happening, I was thinking you may have some guidance?
Thanks