diff options
Diffstat (limited to 'firmware/export/config/android.h')
-rw-r--r-- | firmware/export/config/android.h | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/firmware/export/config/android.h b/firmware/export/config/android.h new file mode 100644 index 0000000000..db214d28b1 --- /dev/null +++ b/firmware/export/config/android.h | |||
@@ -0,0 +1,99 @@ | |||
1 | /* | ||
2 | * This config file is for Rockbox as an application on Android | ||
3 | */ | ||
4 | #define TARGET_TREE /* this target is using the target tree system */ | ||
5 | |||
6 | /* We don't run on hardware directly */ | ||
7 | #define CONFIG_PLATFORM (PLATFORM_HOSTED|PLATFORM_ANDROID) | ||
8 | |||
9 | /* For Rolo and boot loader */ | ||
10 | #define MODEL_NUMBER 100 | ||
11 | |||
12 | #define MODEL_NAME "Rockbox" | ||
13 | |||
14 | #define USB_NONE | ||
15 | |||
16 | /* define this if you have a bitmap LCD display */ | ||
17 | #define HAVE_LCD_BITMAP | ||
18 | |||
19 | /* define this if you have a colour LCD */ | ||
20 | #define HAVE_LCD_COLOR | ||
21 | |||
22 | /* define this if you want album art for this target */ | ||
23 | #define HAVE_ALBUMART | ||
24 | |||
25 | /* define this to enable bitmap scaling */ | ||
26 | #define HAVE_BMP_SCALING | ||
27 | |||
28 | /* define this to enable JPEG decoding */ | ||
29 | #define HAVE_JPEG | ||
30 | |||
31 | /* define this if you have access to the quickscreen */ | ||
32 | #define HAVE_QUICKSCREEN | ||
33 | /* define this if you have access to the pitchscreen */ | ||
34 | #define HAVE_PITCHSCREEN | ||
35 | |||
36 | /* define this if you would like tagcache to build on this target */ | ||
37 | #define HAVE_TAGCACHE | ||
38 | |||
39 | /* LCD dimensions | ||
40 | * | ||
41 | * overriden by configure for application builds */ | ||
42 | #ifndef LCD_WIDTH | ||
43 | #define LCD_WIDTH 320 | ||
44 | #endif | ||
45 | |||
46 | #ifndef LCD_HEIGHT | ||
47 | #define LCD_HEIGHT 480 | ||
48 | #endif | ||
49 | |||
50 | #define LCD_DEPTH 16 | ||
51 | #define LCD_PIXELFORMAT 565 | ||
52 | |||
53 | #define HAVE_LCD_ENABLE | ||
54 | |||
55 | /* define this to indicate your device's keypad */ | ||
56 | #define HAVE_TOUCHSCREEN | ||
57 | #define HAVE_BUTTON_DATA | ||
58 | |||
59 | /* define this if you have RTC RAM available for settings */ | ||
60 | //#define HAVE_RTC_RAM | ||
61 | |||
62 | /* The number of bytes reserved for loadable codecs */ | ||
63 | #define CODEC_SIZE 0x100000 | ||
64 | |||
65 | /* The number of bytes reserved for loadable plugins */ | ||
66 | #define PLUGIN_BUFFER_SIZE 0x80000 | ||
67 | |||
68 | #define AB_REPEAT_ENABLE | ||
69 | |||
70 | /* Define this if you do software codec */ | ||
71 | #define CONFIG_CODEC SWCODEC | ||
72 | |||
73 | #define HAVE_MULTIMEDIA_KEYS | ||
74 | #define CONFIG_KEYPAD ANDROID_PAD | ||
75 | |||
76 | #define HAVE_SW_TONE_CONTROLS | ||
77 | |||
78 | /* Define current usage levels. */ | ||
79 | #define CURRENT_NORMAL 88 /* 18 hours from a 1600 mAh battery */ | ||
80 | #define CURRENT_BACKLIGHT 30 /* TBD */ | ||
81 | #define CURRENT_RECORD 0 /* no recording yet */ | ||
82 | |||
83 | /* Define this to the CPU frequency */ | ||
84 | /* | ||
85 | #define CPU_FREQ 48000000 | ||
86 | */ | ||
87 | |||
88 | /* Offset ( in the firmware file's header ) to the file CRC */ | ||
89 | #define FIRMWARE_OFFSET_FILE_CRC 0 | ||
90 | |||
91 | /* Offset ( in the firmware file's header ) to the real data */ | ||
92 | #define FIRMWARE_OFFSET_FILE_DATA 8 | ||
93 | |||
94 | #define CONFIG_LCD LCD_COWOND2 | ||
95 | |||
96 | /* Define this if a programmable hotkey is mapped */ | ||
97 | //#define HAVE_HOTKEY | ||
98 | |||
99 | #define BOOTDIR "/.rockbox" | ||