feat(freertos): Add configuration to speed up task switch

The global heap is 74332 bytes when connect to AP and get IP by DHCP.
This commit is contained in:
Dong Heng
2018-11-28 16:16:10 +08:00
parent 72eea96f4a
commit 6fd342dd0f
7 changed files with 40 additions and 9 deletions

View File

@ -127,5 +127,11 @@ NVIC value of 255. */
/* add this to dump task stack information */
#define configRECORD_STACK_HIGH_ADDRESS 1
#ifdef CONFIG_TASK_SWITCH_FASTER
#define TASK_SW_ATTR IRAM_ATTR
#else
#define TASK_SW_ATTR
#endif
#endif /* FREERTOS_CONFIG_H */