TARGET_TREE is not needed anymore
[maemo-rb.git] / firmware / export / config / android.h
blobc5ef3728807358b4272b19a2e57c188e1a9a50ed
1 /*
2 * This config file is for Rockbox as an application on Android
3 */
5 /* We don't run on hardware directly */
6 #define CONFIG_PLATFORM (PLATFORM_HOSTED|PLATFORM_ANDROID)
8 /* For Rolo and boot loader */
9 #define MODEL_NUMBER 100
11 #define MODEL_NAME "Rockbox"
13 #define USB_NONE
15 /* define this if you have a bitmap LCD display */
16 #define HAVE_LCD_BITMAP
18 /* define this if you have a colour LCD */
19 #define HAVE_LCD_COLOR
21 /* define this if you want album art for this target */
22 #define HAVE_ALBUMART
24 /* define this to enable bitmap scaling */
25 #define HAVE_BMP_SCALING
27 /* define this to enable JPEG decoding */
28 #define HAVE_JPEG
30 /* define this if you have access to the quickscreen */
31 #define HAVE_QUICKSCREEN
32 /* define this if you have access to the pitchscreen */
33 #define HAVE_PITCHSCREEN
35 /* define this if you would like tagcache to build on this target */
36 #define HAVE_TAGCACHE
38 /* LCD dimensions
40 * overriden by configure for application builds */
41 #ifndef LCD_WIDTH
42 #define LCD_WIDTH 320
43 #endif
45 #ifndef LCD_HEIGHT
46 #define LCD_HEIGHT 480
47 #endif
49 #define LCD_DEPTH 16
50 #define LCD_PIXELFORMAT 565
52 #define HAVE_LCD_ENABLE
54 /* define this to indicate your device's keypad */
55 #define HAVE_TOUCHSCREEN
56 #define HAVE_BUTTON_DATA
58 /* define this if you have RTC RAM available for settings */
59 //#define HAVE_RTC_RAM
61 /* define this if you have a real-time clock */
62 #define CONFIG_RTC APPLICATION
64 /* The number of bytes reserved for loadable codecs */
65 #define CODEC_SIZE 0x100000
67 /* The number of bytes reserved for loadable plugins */
68 #define PLUGIN_BUFFER_SIZE 0x80000
70 #define AB_REPEAT_ENABLE
72 /* Define this if you do software codec */
73 #define CONFIG_CODEC SWCODEC
75 #define HAVE_MULTIMEDIA_KEYS
76 #define CONFIG_KEYPAD ANDROID_PAD
78 /* define this if the target has volume keys which can be used in the lists */
79 #define HAVE_VOLUME_IN_LIST
81 /* define this if the host platform can change volume outside of rockbox */
82 #define PLATFORM_HAS_VOLUME_CHANGE
84 #define HAVE_SW_TONE_CONTROLS
86 #define HAVE_HEADPHONE_DETECTION
88 #define CONFIG_BATTERY_MEASURE PERCENTAGE_MEASURE
90 #define NO_LOW_BATTERY_SHUTDOWN
91 /* Define this to the CPU frequency */
93 #define CPU_FREQ 48000000
96 /* Offset ( in the firmware file's header ) to the file CRC */
97 #define FIRMWARE_OFFSET_FILE_CRC 0
99 /* Offset ( in the firmware file's header ) to the real data */
100 #define FIRMWARE_OFFSET_FILE_DATA 8
102 #define CONFIG_LCD LCD_COWOND2
104 /* Define this if a programmable hotkey is mapped */
105 #define HAVE_HOTKEY
107 #define BOOTDIR "/.rockbox"