mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Still updating the STM32L demo project - still a work in progress.
This commit is contained in:
parent
d26c31e518
commit
7243d65797
5 changed files with 47 additions and 37 deletions
|
@ -113,11 +113,12 @@ is included from an asm file. */
|
|||
#ifdef __ICCARM__
|
||||
#include "stm32l1xx_tim.h"
|
||||
extern void vConfigureTimerForRunTimeStats( void );
|
||||
unsigned long ulGetRunTimeStatsCounterValue( void );
|
||||
extern unsigned long ulTIM6_OverflowCount;
|
||||
#endif /* __ICCARM__ */
|
||||
|
||||
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() vConfigureTimerForRunTimeStats()
|
||||
#define portGET_RUN_TIME_COUNTER_VALUE() ( ( ulTIM6_OverflowCount << 16UL ) | ( unsigned long ) TIM6->CNT )
|
||||
#define portGET_RUN_TIME_COUNTER_VALUE() ulGetRunTimeStatsCounterValue()
|
||||
|
||||
|
||||
#endif /* FREERTOS_CONFIG_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue