Re-add the lseek to the beginning of the file which was accidentally removed.
[kugel-rb.git] / firmware / export / config / application.h
blobb731f0cf76859245baba652d8c781d2437d7b0c7
1 /*
2 * This config file is for Rockbox as an application!
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 /* We don't run on hardware directly */
7 #ifdef ANDROID
8 #define CONFIG_PLATFORM (PLATFORM_HOSTED|PLATFORM_ANDROID)
9 #else
10 #define CONFIG_PLATFORM (PLATFORM_HOSTED|PLATFORM_SDL)
11 #endif
12 /* For Rolo and boot loader */
13 #define MODEL_NUMBER 100
15 #define MODEL_NAME "Rockbox"
17 #define USB_NONE
19 /* define this if you have a bitmap LCD display */
20 #define HAVE_LCD_BITMAP
22 /* define this if you have a colour LCD */
23 #define HAVE_LCD_COLOR
25 /* define this if you want album art for this target */
26 #define HAVE_ALBUMART
28 /* define this to enable bitmap scaling */
29 #define HAVE_BMP_SCALING
31 /* define this to enable JPEG decoding */
32 #define HAVE_JPEG
34 /* define this if you have access to the quickscreen */
35 #define HAVE_QUICKSCREEN
36 /* define this if you have access to the pitchscreen */
37 #define HAVE_PITCHSCREEN
39 /* define this if you would like tagcache to build on this target */
40 #define HAVE_TAGCACHE
42 /* LCD dimensions
44 * overriden by configure for application builds */
45 #ifndef LCD_WIDTH
46 #define LCD_WIDTH 320
47 #endif
49 #ifndef LCD_HEIGHT
50 #define LCD_HEIGHT 480
51 #endif
53 #define LCD_DEPTH 16
54 #define LCD_PIXELFORMAT 565
56 #if (CONFIG_PLATFORM & PLATFORM_ANDROID)
57 #define HAVE_LCD_ENABLE
58 #endif
60 /* define this to indicate your device's keypad */
61 #define HAVE_TOUCHSCREEN
62 #define HAVE_BUTTON_DATA
64 /* define this if you have RTC RAM available for settings */
65 //#define HAVE_RTC_RAM
67 /* The number of bytes reserved for loadable codecs */
68 #define CODEC_SIZE 0x100000
70 /* The number of bytes reserved for loadable plugins */
71 #define PLUGIN_BUFFER_SIZE 0x80000
73 #define AB_REPEAT_ENABLE
75 /* Define this if you do software codec */
76 #define CONFIG_CODEC SWCODEC
78 #if (CONFIG_PLATFORM & PLATFORM_ANDROID)
79 #define CONFIG_KEYPAD ANDROID_PAD
80 #define HAVE_MULTIMEDIA_KEYS
81 #elif (CONFIG_PLATFORM & PLATFORM_SDL)
82 #define HAVE_SCROLLWHEEL
83 #define CONFIG_KEYPAD SDL_PAD
84 #else
85 #error unknown platform
86 #endif
88 #if (CONFIG_PLATFORM & PLATFORM_SDL)
89 /* Use SDL audio/pcm in a SDL app build */
90 #define HAVE_SDL
91 #define HAVE_SDL_AUDIO
92 #endif
94 #define HAVE_SW_TONE_CONTROLS
96 /* Define current usage levels. */
97 #define CURRENT_NORMAL 88 /* 18 hours from a 1600 mAh battery */
98 #define CURRENT_BACKLIGHT 30 /* TBD */
99 #define CURRENT_RECORD 0 /* no recording yet */
101 /* Define this to the CPU frequency */
103 #define CPU_FREQ 48000000
106 /* Offset ( in the firmware file's header ) to the file CRC */
107 #define FIRMWARE_OFFSET_FILE_CRC 0
109 /* Offset ( in the firmware file's header ) to the real data */
110 #define FIRMWARE_OFFSET_FILE_DATA 8
112 #define CONFIG_LCD LCD_COWOND2
114 /* Define this if a programmable hotkey is mapped */
115 //#define HAVE_HOTKEY
117 #define BOOTDIR "/.rockbox"