echoplayer: reduce USB storage buffer size for bootloader

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 7b77752aff4849bfcb457f9ba6a9c93ee38394af
Author: Aidan MacDonald <[email protected]>
Date:   Sun Jan 25 19:29:51 2026 +0000

    echoplayer: reduce USB storage buffer size for bootloader
    
    This saves 64k of BSS, freeing up space in AXI SRAM.
    
    Change-Id: I37079c5fa5ed2b969d70622491dbf0f4dca2c759

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
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.