Increase buffer size for non-pico.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2026-02-25 19:33:28 +01:00
parent 6b483029a5
commit 1be3691a95
5 changed files with 20 additions and 5 deletions

View File

@@ -24,7 +24,7 @@
#include "board.h"
#include <stdbool.h>
#define USB_BUFFER_SIZE 2048
#define USB_BUFFER_SIZE 4096
extern int emul_init(char *host, uint16_t port);
extern uint8_t emul_rx[USB_BUFFER_SIZE];
extern uint16_t emul_rx_size, emul_tx_size;

View File

@@ -106,7 +106,9 @@ extern void driver_exec_finished_emul(uint8_t itf, uint16_t size_next);
extern void driver_exec_finished_cont_emul(uint8_t itf, uint16_t size_next, uint16_t offset);
#endif
#ifndef USB_BUFFER_SIZE
#define USB_BUFFER_SIZE 2048
#endif
PACK(
typedef struct {