Index: apps/plugins/plugin.lds =================================================================== --- apps/plugins/plugin.lds (revision 22873) +++ apps/plugins/plugin.lds (working copy) @@ -144,6 +144,11 @@ #define DRAMORIG 0x80004000 + STUBOFFSET #define IRAM DRAM /* The bit of IRAM that is available is used in the core */ +#elif CONFIG_CPU == S5L8701 +/* 176KB of IRAM - give 80KB to plugins/codecs */ +#define DRAMORIG 0x08000000 +#define IRAMORIG (0x00000000 + 96*1024) +#define IRAMSIZE (80*1024) #else #define DRAMORIG 0x09000000 + STUBOFFSET #endif Index: apps/plugins/pitch_detector.c =================================================================== --- apps/plugins/pitch_detector.c (revision 22873) +++ apps/plugins/pitch_detector.c (working copy) @@ -213,7 +213,11 @@ /* Must be between 0 and 100 */ #define VOLUME_THRESHOLD (50) /* Change to AUDIO_SRC_LINEIN if you want to record from line-in */ +#ifdef HAVE_MIC_IN #define INPUT_TYPE AUDIO_SRC_MIC +#else +#define INPUT_TYPE AUDIO_SRC_LINEIN +#endif /* How many decimal places to display for the Hz value */ #define DISPLAY_HZ_PRECISION 100 Index: apps/plugins/SOURCES =================================================================== --- apps/plugins/SOURCES (revision 22873) +++ apps/plugins/SOURCES (working copy) @@ -22,7 +22,9 @@ lamp.c #endif /* HAVE_BACKLIGHT */ #ifndef SIMULATOR +#ifdef USING_STORAGE_CALLBACK battery_bench.c +#endif firmware_flash.c #endif /* SIMULATOR */ #if (CONFIG_CPU == SH7034) Index: apps/plugins/SUBDIRS =================================================================== --- apps/plugins/SUBDIRS (revision 22873) +++ apps/plugins/SUBDIRS (working copy) @@ -25,7 +25,7 @@ reversi goban #ifdef HAVE_LCD_COLOR -png +//png #endif #ifndef OLYMPUS_MROBE_500 zxbox Index: apps/codecs/SOURCES =================================================================== --- apps/codecs/SOURCES (revision 22873) +++ apps/codecs/SOURCES (working copy) @@ -1,6 +1,6 @@ #if CONFIG_CODEC == SWCODEC /* decoders */ -vorbis.c +//vorbis.c mpa.c flac.c wav.c