2 * This config file is for Rockbox as an application!
4 #define TARGET_TREE /* this target is using the target tree system */
6 /* We don't run on hardware directly */
8 #define CONFIG_PLATFORM (PLATFORM_HOSTED|PLATFORM_ANDROID)
10 #define CONFIG_PLATFORM (PLATFORM_HOSTED|PLATFORM_MAEMO5)
12 #define CONFIG_PLATFORM (PLATFORM_HOSTED|PLATFORM_MAEMO4)
14 #define CONFIG_PLATFORM (PLATFORM_HOSTED|PLATFORM_SDL)
16 /* For Rolo and boot loader */
17 #define MODEL_NUMBER 100
19 #define MODEL_NAME "Rockbox"
23 /* define this if you have a bitmap LCD display */
24 #define HAVE_LCD_BITMAP
26 /* define this if you have a colour LCD */
27 #define HAVE_LCD_COLOR
29 /* define this if you want album art for this target */
32 /* define this to enable bitmap scaling */
33 #define HAVE_BMP_SCALING
35 /* define this to enable JPEG decoding */
38 /* define this if you have access to the quickscreen */
39 #define HAVE_QUICKSCREEN
40 /* define this if you have access to the pitchscreen */
41 #define HAVE_PITCHSCREEN
43 /* define this if you would like tagcache to build on this target */
48 * overriden by configure for application builds */
54 #define LCD_HEIGHT 480
58 #define LCD_PIXELFORMAT 565
60 #if (CONFIG_PLATFORM & PLATFORM_ANDROID)
61 #define HAVE_LCD_ENABLE
64 /* define this to indicate your device's keypad */
65 #define HAVE_TOUCHSCREEN
66 #define HAVE_BUTTON_DATA
68 /* define this if you have RTC RAM available for settings */
69 //#define HAVE_RTC_RAM
71 /* The number of bytes reserved for loadable codecs */
72 #define CODEC_SIZE 0x100000
74 /* The number of bytes reserved for loadable plugins */
75 #define PLUGIN_BUFFER_SIZE 0x80000
77 #define AB_REPEAT_ENABLE
79 /* Define this if you do software codec */
80 #define CONFIG_CODEC SWCODEC
82 /* Work around debug macro expansion of strncmp in scratchbox */
83 #if (CONFIG_PLATFORM & PLATFORM_MAEMO)
84 #define _HAVE_STRING_ARCH_strncmp
87 #if (CONFIG_PLATFORM & (PLATFORM_ANDROID|PLATFORM_MAEMO))
88 #define HAVE_MULTIMEDIA_KEYS
91 #if (CONFIG_PLATFORM & PLATFORM_ANDROID)
92 #define CONFIG_KEYPAD ANDROID_PAD
93 #elif (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO))
94 #define HAVE_SCROLLWHEEL
95 #define CONFIG_KEYPAD SDL_PAD
97 #error unknown platform
100 #if (CONFIG_PLATFORM & (PLATFORM_SDL|PLATFORM_MAEMO))
101 /* Use SDL audio/pcm in a SDL app build */
103 #define HAVE_SDL_AUDIO
106 #define HAVE_SW_TONE_CONTROLS
108 /* Define current usage levels. */
109 #define CURRENT_NORMAL 88 /* 18 hours from a 1600 mAh battery */
110 #define CURRENT_BACKLIGHT 30 /* TBD */
111 #define CURRENT_RECORD 0 /* no recording yet */
113 /* Define this to the CPU frequency */
115 #define CPU_FREQ 48000000
118 /* Offset ( in the firmware file's header ) to the file CRC */
119 #define FIRMWARE_OFFSET_FILE_CRC 0
121 /* Offset ( in the firmware file's header ) to the real data */
122 #define FIRMWARE_OFFSET_FILE_DATA 8
124 #define CONFIG_LCD LCD_COWOND2
126 /* Define this if a programmable hotkey is mapped */
127 //#define HAVE_HOTKEY
129 #define BOOTDIR "/.rockbox"