Core timer 2 is unusable for FreeRTOS ticks because it triggers a high-level interrupt. This commit deletes the option to select it.

This commit is contained in:
Jeroen Domburg
2017-01-15 11:11:58 +08:00
parent ca9f62ad77
commit 3168ad10e7
3 changed files with 1 additions and 16 deletions

View File

@@ -30,11 +30,6 @@ config FREERTOS_CORETIMER_1
help
Select this to use timer 1
config FREERTOS_CORETIMER_2
bool "Timer 2 (int 16, level 5)"
help
Select this to use timer 2
endchoice
config FREERTOS_HZ

View File

@@ -90,10 +90,6 @@
#define XT_TIMER_INDEX 0
#elif CONFIG_FREERTOS_CORETIMER_1
#define XT_TIMER_INDEX 1
#elif CONFIG_FREERTOS_CORETIMER_2
#define XT_TIMER_INDEX 2
#elif CONFIG_FREERTOS_CORETIMER_3
#define XT_TIMER_INDEX 3
#endif
#define configNUM_THREAD_LOCAL_STORAGE_POINTERS CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS