Resolved! Hi! I am not sure why I can't recieve a correct value of pvParams inside the task. Pointer value in received correctly but when I cast it to a "const int*" or any other pointer it gives me rubbish when i dereference it.
int main(void) { HAL_Init(); SystemClock_Config(); MX_GPIO_Init(); MX_USART3_UART_Init(); const int* task_1_Param = 1; const int* task_2_Param = 2; xTaskCreate (vTask, "T1", 150, (void *)&task_1_Param, 1, NULL); xTaskCreate ...