diff --git a/RNode_Firmware_CE.ino b/RNode_Firmware_CE.ino index ef9fe1d..5686ac7 100644 --- a/RNode_Firmware_CE.ino +++ b/RNode_Firmware_CE.ino @@ -17,6 +17,12 @@ #include #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];