Fix stack overflow issues on Heltec32 V3

master
jacob.eva 8 months ago
parent 7c338c7caf
commit 62270a9ced
No known key found for this signature in database
GPG Key ID: B92E083BBCCAA1E
  1. 6
      RNode_Firmware_CE.ino

@ -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…
Cancel
Save