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