mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2024-12-27 00:19:24 -05:00
Fix stack overflow issues on Heltec32 V3
This commit is contained in:
parent
7c338c7caf
commit
62270a9ced
@ -17,6 +17,12 @@
|
||||
#include <SPI.h>
|
||||
#include "Utilities.h"
|
||||
|
||||
#if BOARD_MODEL == BOARD_HELTEC32_V3
|
||||
// Default stack size for loop function on Heltec32 V3 is not large enough,
|
||||
// must be increased to 11kb to prevent crashes.
|
||||
SET_LOOP_TASK_STACK_SIZE(11 * 1024); // 11KB
|
||||
#endif
|
||||
|
||||
FIFOBuffer serialFIFO;
|
||||
uint8_t serialBuffer[CONFIG_UART_BUFFER_SIZE+1];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user