From 7b77752aff4849bfcb457f9ba6a9c93ee38394af Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sun, 25 Jan 2026 19:29:51 +0000 Subject: [PATCH] echoplayer: reduce USB storage buffer size for bootloader This saves 64k of BSS, freeing up space in AXI SRAM. Change-Id: I37079c5fa5ed2b969d70622491dbf0f4dca2c759 --- firmware/export/config/echor1.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/firmware/export/config/echor1.h b/firmware/export/config/echor1.h index 8d70ebe081..c2027d975d 100644 --- a/firmware/export/config/echor1.h +++ b/firmware/export/config/echor1.h @@ -114,6 +114,11 @@ #define HAVE_BOOTLOADER_USB_MODE #endif +#ifdef BOOTLOADER +# define USB_READ_BUFFER_SIZE (32 * 1024) +# define USB_WRITE_BUFFER_SIZE (32 * 1024) +#endif + /* Rockbox capabilities */ #define HAVE_FAT16SUPPORT #define HAVE_ALBUMART