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