first of all, I’m a FreeRTOS newbie so please do take that into account when looking at my questions that might appear too basic to some of you. I got those questions while studying different kinds of FreeRTOS examples code that I’ve used for learning on my STM32 Cortex ARM board kit. My questions are as follows:
1.) Is it absolutely necessary to declare my tasks (at the top of main.c) and what’s the reason for doing it?
2.) What’s the difference between using (void * p) and (void * pvParameters) when writing my tasks and how do I know when to use it? I’ve seen both cases in many examples I’ve checked.
3.) How do I know when to use “prv” (private) or “v” (void) as a part of my tasks’ names? For example, one of my task is flashing LEDs - should my name it “task_LED” or “vtask_LED” or “prvtaskLED”? Is it necessary to use this kind of names at all?
Thank you for any help and guidance.