FreeRTOS Support Archive

The FreeRTOS support forum can be used for active support both from Amazon Web Services
and the community. In return for using our software for
free, we request you play fair and do your bit to help others! 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 software timer not working

Hey guys I am Anup and i am a student. I am new to freeRTOS concepts.
I am using STM32F407VGTx board and i want to implement Software Timers to blink the LEDs using Keil software.
I am creating the software timer and then I am starting the timer.
As per the concepts the software timer should call the callback function as soon as the timer has expired but this is not happening with my code.
I have pasted my main.c and the software timer configurations in freeRTOSconfig.h below.
Do see that and tell me what I am doing wrong soon.
Thanks in advance.

FreeRTOS software timer not working

This is very hard to answer as you are not using the native FreeRTOS
API. I don't know what osThreadDef() is doing, but a quick Google
search would seem to indicate it is defined as:

#define osThreadDef ( name,
priority,
instances,
stacksz
)

You are calling:

osThreadDef(defaultTask, StartDefaultTask, osPriorityNormal, 0, 128);

so it seems you are setting the priority to StartDefaultTask.

These are not FreeRTOS APIs though, so falls outside of FreeRTOS support.

I cannot see defaultTask being defined anywhere. Is it just a name? Is
StartDefaultTask support to be the actual task? If so then it needs to
be implemented as described here:
http://www.freertos.org/implementing-a-FreeRTOS-task.html