mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
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:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user