mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-10-28 04:36:48 +08:00
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:
@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user