LPC55S69 : fsl_tickless_rtc

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC55S69 : fsl_tickless_rtc

592 Views
EugeneHiihtaja
Senior Contributor I

Hello !

I can see rtos tickless example has implementation of 

void vPortSuppressTicksAndSleep(TickType_t xExpectedIdleTime)

but it never ever is called becouse definition like this is missing:

/* Tickless idle/low power functionality. */
#ifndef portSUPPRESS_TICKS_AND_SLEEP
extern void vPortSuppressTicksAndSleep( TickType_t xExpectedIdleTime );
#define portSUPPRESS_TICKS_AND_SLEEP( xExpectedIdleTime ) vPortSuppressTicksAndSleep( xExpectedIdleTime )
#endif

Could you please verify that example and confirm if tthat new RTOS port can be used in teckless mode ?

Thank you !

Regards,

Eugene

Labels (1)
0 Kudos
1 Reply

521 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi Eugene,

 

You are correct, If the FreeRTOS port in use does not provide a default implementation of portSUPPRESS_TICKS_AND_SLEEP(), then the application writer can provide their own implementation by defining portSUPPRESS_TICKS_AND_SLEEP() in FreeRTOSConfig.h.

 

Please check the below link for more information.

https://www.freertos.org/low-power-tickless-rtos.html

 

Also check the following thread that can give you more hints regarding this implementation.

Board low power modes, alongside Tickless FreeRTOS

 

Best regards,

Felipe

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos