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] [April 2008 Threads] add user code to RTOS tickPosted by Jörg Krein on April 29, 2008 Hi,
we are running out of timers on our STR710. We implemented a software timer functionality, where we can add timers to wake up in defined intervals. When a timer expires it should send a message in a queue. Therefore we need some tick to call the timer control. We intend to add a function to the FreeRTOS preemptive tick. It than decrements all timers an does some xQueueSendFromISR with a 'TimerXExpired' signal. I wonder if thats possible without interfering the scheduler.
Regards, Joerg
RE: add user code to RTOS tickPosted by Dave on April 29, 2008 You can achieve this using the tick hook vApplicationTickHook() or by using a macro. You just need to ensure the implemented code does not block and executes quickly.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|