up freertos v9.0.0

This commit is contained in:
pvvx 2017-05-08 04:56:20 +03:00
parent d1649d3cf7
commit 626be62fec
11 changed files with 3048 additions and 3012 deletions

View file

@ -84,7 +84,7 @@ extern uint32_t SystemCoreClock;
*
* See http://www.freertos.org/a00110.html.
*----------------------------------------------------------*/
#define configUSE_STACK_TCM_HEAP 1 // RTL871xAx/RTL8195Ax Stack priority used TCM HEAP
#define configUSE_PREEMPTION 1
#define configUSE_IDLE_HOOK 1
#define configUSE_TICK_HOOK 0
@ -116,11 +116,13 @@ extern uint32_t SystemCoreClock;
#define configQUEUE_REGISTRY_SIZE 0
#define configGENERATE_RUN_TIME_STATS 1
#if configGENERATE_RUN_TIME_STATS
#define configUSE_STATS_FORMATTING_FUNCTIONS 1
#define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() //( ulHighFrequencyTimerTicks = 0UL )
#define portGET_RUN_TIME_COUNTER_VALUE() xTickCount //ulHighFrequencyTimerTicks
#undef configUSE_TRACE_FACILITY
#define configUSE_TRACE_FACILITY 1
#define portCONFIGURE_STATS_PEROID_VALUE 1000 //unit Ticks
#define configUSE_STATS_FORMATTING_FUNCTIONS 1
#endif
#define configTIMER_TASK_PRIORITY ( 1 )

View file

@ -1,6 +1,9 @@
/*
*
*/
#ifndef _PLATFORM_AUTOCONFIG_H_
#define _PLATFORM_AUTOCONFIG_H_
#define AUTOCONF_INCLUDED
#define RTL8710AF
@ -249,3 +252,4 @@
#define PLATFORM_CLOCK (((200000000ul*5ul)/6ul)>>CPU_CLOCK_SEL_VALUE)
#endif
#endif // _PLATFORM_AUTOCONFIG_H_