mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/esp8266: inc ets_task stack size for esp_now
This commit is contained in:
parent
b3906539f1
commit
e4b0ace841
@ -47,6 +47,18 @@ extern "C" {
|
||||
#define THREAD_STACKSIZE_MAIN (3072)
|
||||
#endif
|
||||
|
||||
#ifndef GNRC_PKTDUMP_STACKSIZE
|
||||
#define GNRC_PKTDUMP_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
|
||||
#endif
|
||||
|
||||
#ifndef ESP_NOW_STACKSIZE
|
||||
#define ESP_NOW_STACKSIZE (2560)
|
||||
#endif
|
||||
|
||||
#ifndef ETS_THREAD_STACKSIZE
|
||||
#define ETS_THREAD_STACKSIZE (2048)
|
||||
#endif
|
||||
|
||||
#else /* MODULE_ESP_SDK_INT_HANDLING */
|
||||
|
||||
#ifndef THREAD_EXTRA_STACKSIZE_PRINTF
|
||||
@ -62,6 +74,18 @@ extern "C" {
|
||||
#define THREAD_STACKSIZE_MAIN (3072)
|
||||
#endif
|
||||
|
||||
#ifndef GNRC_PKTDUMP_STACKSIZE
|
||||
#define GNRC_PKTDUMP_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
|
||||
#endif
|
||||
|
||||
#ifndef ESP_NOW_STACKSIZE
|
||||
#define ESP_NOW_STACKSIZE (2560)
|
||||
#endif
|
||||
|
||||
#ifndef ETS_THREAD_STACKSIZE
|
||||
#define ETS_THREAD_STACKSIZE (1536)
|
||||
#endif
|
||||
|
||||
#endif /* MODULE_ESP_SDK_INT_HANDLING */
|
||||
/** @} */
|
||||
|
||||
@ -82,7 +106,7 @@ extern "C" {
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* CPU_CONF_H */
|
||||
#endif
|
||||
|
||||
#endif /* CPU_CONF_H */
|
||||
/** @} */
|
||||
|
@ -69,7 +69,7 @@ extern uint8_t _eheap;
|
||||
#define ETS_TASK_PRIORITY (1)
|
||||
|
||||
/* stack for the ETS task */
|
||||
static char ets_task_stack[THREAD_STACKSIZE_DEFAULT];
|
||||
static char ets_task_stack[ETS_THREAD_STACKSIZE];
|
||||
/* ETS task code */
|
||||
extern void *ets_task_func(void *arg);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user