From d5205e5a3401d6a6f5df47f0d230afacfb23e1be Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 28 Mar 2022 19:30:55 +0200 Subject: [PATCH] fix #1640 the btaddon compilation leaves the bigbuff malloc around 38kb. By lessen the fpga ring buffer to be 30kb instead leaves some room for a smaller bigbuff --- common_fpga/fpga.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common_fpga/fpga.h b/common_fpga/fpga.h index 293a7963a..b7e017d68 100644 --- a/common_fpga/fpga.h +++ b/common_fpga/fpga.h @@ -27,7 +27,7 @@ #else #define FPGA_CONFIG_SIZE 42336L // our current fpga_[lh]f.bit files are 42175 bytes. Rounded up to next multiple of FPGA_INTERLEAVE_SIZE #endif -#define FPGA_RING_BUFFER_BYTES (1024 * 39) +#define FPGA_RING_BUFFER_BYTES (1024 * 30) #define FPGA_TRACE_SIZE 3072 static const uint8_t bitparse_fixed_header[] = {0x00, 0x09, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, 0xf0, 0x00, 0x00, 0x01};