summaryrefslogtreecommitdiffstats
path: root/firmware/export/config/sansaclip.h
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-18 12:46:53 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-18 12:46:53 +0000
commita01422c54be29cf721a442053fd5a70686c8841e (patch)
tree7d0203b0420fe60d99063af63fe00c307fb30369 /firmware/export/config/sansaclip.h
parentdcbd8d74c6f6af7e91c707c33f807f9d9708cf8c (diff)
downloadrockbox-a01422c54be29cf721a442053fd5a70686c8841e.tar.gz
rockbox-a01422c54be29cf721a442053fd5a70686c8841e.zip
plugins: changes for targets with small plugin buffer (Clipv1)
- only enable overlays for targets with very small plugin buffer (<= 0x10000 bytes, i.e. archos) - change the condition for rockboy to reflect exactly why it can be built or not - Some plugins need a large plugin buffer, only enable them if the buffer is big enough (sizes measured on Clipv1) - disable MIDI if we have 2MB (or less), we won't be able to load the instruments in the audio buffer - remove unusable lua overlay loader - sokoban code is bigger on clipv1 than on SH, assume it code is 20kB on anything but SH so it builds with buffer smaller than 192kB - reduce the Clipv1 plugin buffer size from 288kB to 96kb, disabling zxbox, chessbox, and fft zxbox and chessbox have overlays which run on archos, we just need to enable them on other targets. We'll also be able to run rockboy. fft won't run as it needs a large plugin buffer for greylib git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26141 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config/sansaclip.h')
-rw-r--r--firmware/export/config/sansaclip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/config/sansaclip.h b/firmware/export/config/sansaclip.h
index c139d91421..5dcdf9eefb 100644
--- a/firmware/export/config/sansaclip.h
+++ b/firmware/export/config/sansaclip.h
@@ -111,7 +111,7 @@
#define CODEC_SIZE 0x48000 /* in IRAM */
/* The number of bytes reserved for loadable plugins */
-#define PLUGIN_BUFFER_SIZE 0x45000
+#define PLUGIN_BUFFER_SIZE 0x18000
#define AB_REPEAT_ENABLE 1