Skip to content

Commit 19c6f16

Browse files
committed
Increase uartReceiveBufferSize to 4K. EVK needs 4K. SEMP errors are seen with 2K and 3K.
1 parent aa031fa commit 19c6f16

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Firmware/RTK_Everywhere/RTK_Everywhere.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ uint8_t *ringBuffer; // Buffer for reading from GNSS receiver. At 230400bps, 230
607607
const int gnssReadTaskStackSize = 8000;
608608
const size_t sempGnssReadBufferSize = 8000; // Make the SEMP buffer size the ~same
609609

610-
const int handleGnssDataTaskStackSize = 3000;
610+
const int handleGnssDataTaskStackSize = 4000;
611611

612612
TaskHandle_t pinBluetoothTaskHandle; // Dummy task to start hardware on an assigned core
613613
volatile bool bluetoothPinned; // This variable is touched by core 0 but checked by core 1. Must be volatile.

Firmware/RTK_Everywhere/settings.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -861,11 +861,11 @@ struct Settings
861861

862862
// GNSS UART
863863
uint16_t serialGNSSRxFullThreshold = 50; // RX FIFO full interrupt. Max of ~128. See pinUART2Task().
864-
int uartReceiveBufferSize = 1024 * 2; // This buffer is filled automatically as the UART receives characters.
864+
int uartReceiveBufferSize = 1024 * 4; // This buffer is filled automatically as the UART receives characters. EVK needs 4K
865865

866866
// Hardware
867-
bool enableExternalHardwareEventLogging = false; // Log when INT/TM2 pin goes low
868-
uint16_t spiFrequency = 16; // By default, use 16MHz SPI
867+
bool enableExternalHardwareEventLogging = false; // Log when INT/TM2 pin goes low
868+
uint16_t spiFrequency = 16; // By default, use 16MHz SPI
869869

870870
// HTTP
871871
bool debugHttpClientData = false; // Debug the HTTP Client (ZTP) data flow

0 commit comments

Comments
 (0)