FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [March 2014 Threads]
Hi,
I'm using version 8.0. How can I get name of the timer?
As I see there is no API for this.
To read timer name I have to made some "magic" cast "(char *) timerHandler" and hope that internal "xTIMER" structure organization will not be changed in future.
Note: My solution => I added function char *pcTimerGetTimerName( TimerHandle_t xTimer ); to timer.c. It would be nice to have that kind of function in official build
Best regards
Lukasz Antczak
I have just updated timers.c to include the function pcTimerGetTimerName(). You can safely add the same function to your code as timers.c is already checked into SVN so the function will be in the next version. You can search for the function's [extremely simple] implementation on the following link:
http://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Source/timers.c
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.