Skip to content

sleep mode and rtos #19

@robynjayqueerie

Description

@robynjayqueerie

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions