summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-11-10 17:41:18 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-11-10 17:41:18 +0000
commitb25f9033602cca2b772375d10e878e242d123fb2 (patch)
treeac4dc3203c13ed92a5969eacc9428a37bd2de47d
parent871d85a8daa2764dcb1432e92d05f540b3eb78fa (diff)
downloadrockbox-b25f9033602cca2b772375d10e878e242d123fb2.tar.gz
rockbox-b25f9033602cca2b772375d10e878e242d123fb2.zip
make m200v4 build compilable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19070 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config-m200v4.h30
-rw-r--r--firmware/target/arm/as3525/sansa-m200v4/system-target.h4
-rwxr-xr-xtools/configure1
3 files changed, 29 insertions, 6 deletions
diff --git a/firmware/export/config-m200v4.h b/firmware/export/config-m200v4.h
index 7cc2a1db31..dc127a7df9 100644
--- a/firmware/export/config-m200v4.h
+++ b/firmware/export/config-m200v4.h
@@ -11,12 +11,22 @@
11/* Enable FAT16 support */ 11/* Enable FAT16 support */
12#define HAVE_FAT16SUPPORT 12#define HAVE_FAT16SUPPORT
13 13
14#if 0 /* disabled since there is no driver (yet) */
15
16#define HW_SAMPR_CAPS (SAMPR_CAP_44)
17
14/* define this if you have recording possibility */ 18/* define this if you have recording possibility */
15//#define HAVE_RECORDING 19#define HAVE_RECORDING
20
21#define REC_SAMPR_CAPS (SAMPR_CAP_22)
22#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
23#define REC_SAMPR_DEFAULT SAMPR_22
16 24
17/* Define bitmask of input sources - recordable bitmask can be defined 25/* Define bitmask of input sources - recordable bitmask can be defined
18 explicitly if different */ 26 explicitly if different */
19//#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF) 27#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
28
29#endif
20 30
21/* define this if you have a bitmap LCD display */ 31/* define this if you have a bitmap LCD display */
22#define HAVE_LCD_BITMAP 32#define HAVE_LCD_BITMAP
@@ -66,10 +76,14 @@
66#define HAVE_SW_POWEROFF 76#define HAVE_SW_POWEROFF
67 77
68/* The number of bytes reserved for loadable codecs */ 78/* The number of bytes reserved for loadable codecs */
69#define CODEC_SIZE 0x38000 79#define CODEC_SIZE 0x100000
70 80
71/* The number of bytes reserved for loadable plugins */ 81/* The number of bytes reserved for loadable plugins */
72#define PLUGIN_BUFFER_SIZE 0x10000 82#if 0 /* The plugin buffer doesn't fit in the 2MB memory */
83#define PLUGIN_BUFFER_SIZE 0x80000
84#else
85#define PLUGIN_BUFFER_SIZE 0
86#endif
73 87
74#define AB_REPEAT_ENABLE 1 88#define AB_REPEAT_ENABLE 1
75 89
@@ -105,8 +119,14 @@
105/* Define this if you have an AMS AS3525 */ 119/* Define this if you have an AMS AS3525 */
106#define CONFIG_CPU AS3525 120#define CONFIG_CPU AS3525
107 121
122/* Define this if you want to use the AS3525 i2c interface */
123#define CONFIG_I2C I2C_AS3525
124
108/* Define this to the CPU frequency */ 125/* Define this to the CPU frequency */
109#define CPU_FREQ 120000000 126#define CPU_FREQ 250000000
127
128/* Define this if you have adjustable CPU frequency */
129#define HAVE_ADJUSTABLE_CPU_FREQ
110 130
111/* Offset ( in the firmware file's header ) to the file CRC */ 131/* Offset ( in the firmware file's header ) to the file CRC */
112#define FIRMWARE_OFFSET_FILE_CRC 0 132#define FIRMWARE_OFFSET_FILE_CRC 0
diff --git a/firmware/target/arm/as3525/sansa-m200v4/system-target.h b/firmware/target/arm/as3525/sansa-m200v4/system-target.h
index b712d1c124..dc9d77f3dc 100644
--- a/firmware/target/arm/as3525/sansa-m200v4/system-target.h
+++ b/firmware/target/arm/as3525/sansa-m200v4/system-target.h
@@ -23,6 +23,8 @@
23 23
24#include "system-arm.h" 24#include "system-arm.h"
25 25
26#define CPUFREQ_MAX 250000000 26#define CPUFREQ_MAX 250000000
27#define CPUFREQ_DEFAULT 250000000
28#define CPUFREQ_NORMAL 250000000
27 29
28#endif /* SYSTEM_TARGET_H */ 30#endif /* SYSTEM_TARGET_H */
diff --git a/tools/configure b/tools/configure
index 4283875e5c..80c842531c 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1731,6 +1731,7 @@ fi
1731 bootoutput="bootloader-m200v4.sansa" 1731 bootoutput="bootloader-m200v4.sansa"
1732 appextra="recorder:gui" 1732 appextra="recorder:gui"
1733 plugins="" 1733 plugins=""
1734 swcodec="yes"
1734 toolset=$scramblebitmaptools 1735 toolset=$scramblebitmaptools
1735 t_cpu="arm" 1736 t_cpu="arm"
1736 t_manufacturer="as3525" 1737 t_manufacturer="as3525"