Software timers are not enabled in FreeRTOS config file.

mikroC, mikroBasic and mikroPascal for PRO ARM® MCUs, supporting STM32, Tiva, Kinetis, & CEC devices
Post Reply
Author
Message
Val Gretchev
Posts: 19
Joined: 16 Apr 2012 22:01
Location: Whitby, Ontario, Canada

Software timers are not enabled in FreeRTOS config file.

#1 Post by Val Gretchev » 16 Jul 2018 00:20

Add these statements to FreeRTOSConfig.h to enable software timers.
#define configUSE_TIMERS 1
#define configTIMER_TASK_PRIORITY 10
#define configTIMER_QUEUE_LENGTH 5
#define configTIMER_TASK_STACK_DEPTH 5
#define configSUPPORT_DYNAMIC_ALLOCATION 1

Add this statement to FreeRTOSConfig.h to enable notifications.
#define configUSE_TASK_NOTIFICATIONS 1

Note that xTaskNotifyFromISR() crashes the system and can not be used at this time.

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: Software timers are not enabled in FreeRTOS config file.

#2 Post by petar.suknjaja » 24 Jul 2018 15:26

Thanks for the info, Val
I promise I will deal with this one: viewtopic.php?f=224&t=72848

Kind regards,
Petar

Post Reply

Return to “ARM PRO Compilers”