Still updating the STM32L demo project - still a work in progress.

This commit is contained in:
Richard Barry 2010-12-20 12:14:45 +00:00
parent d26c31e518
commit 7243d65797
5 changed files with 47 additions and 37 deletions

View file

@ -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 */