feat(freertos): Add option to enable queue sets

This commit is contained in:
Dong Heng
2019-02-14 10:45:10 +08:00
parent 11f2278341
commit 4373adbc2a
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 */