AnsweredAssumed Answered

How can I add a new task on FreeRTOS on STM32 ?

Question asked by H.Rick on Jan 6, 2014
Latest reply on Jan 6, 2014 by sung.chen_chung
Guys,

How can I add a new task on FreeRTOS on STM32 ?

I have created :

[CODE]
#define LCD_TASK_STACK_SIZE            ( configMINIMAL_STACK_SIZE )
#define LCD_TASK_PRIORITY            ( tskIDLE_PRIORITY + 1 )

#define LCD_RTC_TASK_STACK_SIZE            ( configMINIMAL_STACK_SIZE )
#define LCD_RTC_TASK_PRIORITY            ( tskIDLE_PRIORITY +0 )


 xTaskCreate( vLCDTask , ( signed char * ) NULL , LCD_TASK_STACK_SIZE , NULL , LCD_TASK_PRIORITY , NULL );
 xTaskCreate( vRTC_LCDTask , ( signed char * ) NULL , LCD_RTC_TASK_STACK_SIZE , NULL , LCD_RTC_TASK_PRIORITY , NULL );

[/CODE]but it's stopping on vRTC_LCDTask....any ideas, is it because of the priority ?

Thanks

Outcomes