Merge branch 'feature/add_option_to_enable_queue_sets' into 'master'

Add option to enable queue sets

See merge request sdk/ESP8266_RTOS_SDK!771
This commit is contained in:
Dong Heng
2019-02-18 20:25:39 +08:00
2 changed files with 10 additions and 0 deletions

View File

@ -55,4 +55,10 @@ config TASK_SWITCH_FASTER
But it may cost more 1KB IRAM, so user global heap may decrease 1KB.
config USE_QUEUE_SETS
bool "Using Queue Sets"
default n
help
Enable this option, the FreeRTOS macro "configUSE_QUEUE_SETS" in file "FreeRTOSConfig.h" will be set to be 1.
endmenu

View File

@ -133,5 +133,9 @@ NVIC value of 255. */
#define TASK_SW_ATTR
#endif
#if CONFIG_USE_QUEUE_SETS
#define configUSE_QUEUE_SETS 1
#endif
#endif /* FREERTOS_CONFIG_H */