Initial commit.
[kugel-rb.git] / firmware / export / config / application.h
blob9ed25b83bf3903b379794b2bc31b84fb1b32506f
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 #define CONFIG_PLATFORM PLATFORM_HOSTED
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 */
39 #define LCD_WIDTH 320
40 #define LCD_HEIGHT 240
41 #define LCD_DEPTH 16
42 #define LCD_PIXELFORMAT 565
44 /* define this to indicate your device's keypad */
45 #define HAVE_TOUCHSCREEN
46 #define HAVE_BUTTON_DATA
48 /* define this if you have RTC RAM available for settings */
49 //#define HAVE_RTC_RAM
51 /* The number of bytes reserved for loadable codecs */
52 #define CODEC_SIZE 0x100000
54 /* The number of bytes reserved for loadable plugins */
55 #define PLUGIN_BUFFER_SIZE 0x80000
57 #define AB_REPEAT_ENABLE
59 /* Define this if you do software codec */
60 #define CONFIG_CODEC SWCODEC
62 #define CONFIG_KEYPAD COWON_D2_PAD
64 #ifndef ANDROID
65 /* Use SDL audio/pcm in a SDL app build */
66 #define HAVE_SDL
67 #endif
69 #ifdef HAVE_SDL
70 #define HAVE_SDL_AUDIO
71 #endif
73 /* Use WM8985 EQ1 & EQ5 as hardware tone controls */
74 /* #define HAVE_SW_TONE_CONTROLS */
76 /* Define current usage levels. */
77 #define CURRENT_NORMAL 88 /* 18 hours from a 1600 mAh battery */
78 #define CURRENT_BACKLIGHT 30 /* TBD */
79 #define CURRENT_RECORD 0 /* no recording yet */
81 /* Define this to the CPU frequency */
83 #define CPU_FREQ 48000000
86 /* Offset ( in the firmware file's header ) to the file CRC */
87 #define FIRMWARE_OFFSET_FILE_CRC 0
89 /* Offset ( in the firmware file's header ) to the real data */
90 #define FIRMWARE_OFFSET_FILE_DATA 8
92 #define CONFIG_LCD LCD_COWOND2
94 /* Define this if a programmable hotkey is mapped */
95 //#define HAVE_HOTKEY
97 #define BOOTDIR "/.rockbox"