From 85807cd44ef931b25a283f8ddd733453e94f9966 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Mon, 22 Sep 2008 19:15:18 +0000 Subject: Trivial changes to make the main Rockbox builds for the Sansa m200 and Logik DAX ports compile. Note that some codecs are currently disabled (due to lowmem on these targets), but that needs more work and analysis to decide how much RAM we want to allocate to codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18566 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-logikdax.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'firmware/export/config-logikdax.h') diff --git a/firmware/export/config-logikdax.h b/firmware/export/config-logikdax.h index c66a2ab581..4b205de425 100644 --- a/firmware/export/config-logikdax.h +++ b/firmware/export/config-logikdax.h @@ -32,6 +32,8 @@ /* define this if you would like tagcache to build on this target */ #define HAVE_TAGCACHE +#define HAVE_FAT16SUPPORT + /* define this if you have a flash memory storage */ #define HAVE_FLASH_STORAGE @@ -54,14 +56,22 @@ /* Define this if you have a software controlled poweroff */ #define HAVE_SW_POWEROFF +/* The number of bytes reserved for loadable codecs */ +#define CODEC_SIZE 0x9c000 + /* The number of bytes reserved for loadable plugins */ -#define PLUGIN_BUFFER_SIZE 0x8000 +#define PLUGIN_BUFFER_SIZE 0x8c000 #define AB_REPEAT_ENABLE 1 /* Define this if you do software codec */ #define CONFIG_CODEC SWCODEC +/* The DAX uses built-in WM8731 codec */ +#define HAVE_WM8731 +/* Codec is slave on serial bus */ +#define CODEC_SLAVE + /* Define this for LCD backlight available */ #define HAVE_BACKLIGHT @@ -109,4 +119,14 @@ #define BOOTFILE "rockbox." BOOTFILE_EXT #define BOOTDIR "/" +#define IBSS_ATTR_VOICE_STACK +#define ICODE_ATTR_TREMOR_NOT_MDCT +#define ICODE_ATTR_TREMOR_MDCT +#define ICODE_ATTR_FLAC +#define IBSS_ATTR_FLAC_DECODED0 +#define ICONST_ATTR_MPA_HUFFMAN +#define IBSS_ATTR_MPC_SAMPLE_BUF +#define ICODE_ATTR_ALAC +#define IBSS_ATTR_SHORTEN_DECODED0 + #endif /* SIMULATOR */ -- cgit v1.2.3