diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-11-27 21:23:48 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-11-27 21:23:48 +0000 |
commit | 50eb373fbaa72cd309377621434b008ddc193be2 (patch) | |
tree | 41b09492eec3051618e796a1c7482cc36a3d44f7 | |
parent | 40dfe0cdc4bb9356d70e1521cca8542437f65d93 (diff) | |
download | rockbox-50eb373fbaa72cd309377621434b008ddc193be2.tar.gz rockbox-50eb373fbaa72cd309377621434b008ddc193be2.zip |
Use a proper config file for the v2, although it looks like the FM one now.
Possibly it should have radio off defined somehow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4072 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/export/config-recorderv2.h | 47 | ||||
-rw-r--r-- | firmware/export/config.h | 3 |
2 files changed, 48 insertions, 2 deletions
diff --git a/firmware/export/config-recorderv2.h b/firmware/export/config-recorderv2.h new file mode 100644 index 0000000000..7c5d631875 --- /dev/null +++ b/firmware/export/config-recorderv2.h | |||
@@ -0,0 +1,47 @@ | |||
1 | /* define this if you have recording possibility */ | ||
2 | #define HAVE_RECORDING 1 | ||
3 | |||
4 | /* define this if you have a bitmap LCD display */ | ||
5 | #define HAVE_LCD_BITMAP 1 | ||
6 | |||
7 | /* define this if you have a Recorder style 10-key keyboard */ | ||
8 | #define HAVE_RECORDER_KEYPAD 1 | ||
9 | |||
10 | /* define this if you have a real-time clock */ | ||
11 | #define HAVE_RTC 1 | ||
12 | |||
13 | /* Define this if you have a MAS3587F */ | ||
14 | #define HAVE_MAS3587F | ||
15 | |||
16 | /* Define this if you have a FM Recorder key system */ | ||
17 | #define HAVE_FMADC 1 | ||
18 | |||
19 | /* Define this if you have a LiIon battery */ | ||
20 | #define HAVE_LIION | ||
21 | |||
22 | /* Define this to the CPU frequency */ | ||
23 | #define CPU_FREQ 11059200 | ||
24 | |||
25 | /* Battery scale factor (guessed, seems to be 1,25 * value from recorder) */ | ||
26 | #define BATTERY_SCALE_FACTOR 8081 | ||
27 | |||
28 | /* Define this if you control power on PB5 (instead of the OFF button) */ | ||
29 | #define HAVE_POWEROFF_ON_PB5 | ||
30 | |||
31 | /* Offset ( in the firmware file's header ) to the file length */ | ||
32 | #define FIRMWARE_OFFSET_FILE_LENGTH 20 | ||
33 | |||
34 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
35 | #define FIRMWARE_OFFSET_FILE_CRC 6 | ||
36 | |||
37 | /* Offset ( in the firmware file's header ) to the real data */ | ||
38 | #define FIRMWARE_OFFSET_FILE_DATA 24 | ||
39 | |||
40 | /* FM recorders can wake up from RTC alarm */ | ||
41 | #define HAVE_ALARM_MOD 1 | ||
42 | |||
43 | /* Define this if you have an FM Radio */ | ||
44 | #define HAVE_FMRADIO 1 | ||
45 | |||
46 | /* How to detect USB */ | ||
47 | #define USB_FMRECORDERSTYLE 1 | ||
diff --git a/firmware/export/config.h b/firmware/export/config.h index 8279229f78..0b0cd41723 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -27,8 +27,7 @@ | |||
27 | #elif defined(ARCHOS_FMRECORDER) | 27 | #elif defined(ARCHOS_FMRECORDER) |
28 | #include "config-fmrecorder.h" | 28 | #include "config-fmrecorder.h" |
29 | #elif defined(ARCHOS_RECORDERV2) | 29 | #elif defined(ARCHOS_RECORDERV2) |
30 | /* The v2 looks and acts a lot like an FM recorder */ | 30 | #include "config-recorderv2.h" |
31 | #include "config-fmrecorder.h" | ||
32 | #else | 31 | #else |
33 | /* no known platform */ | 32 | /* no known platform */ |
34 | #endif | 33 | #endif |