summaryrefslogtreecommitdiff
path: root/firmware/export/config/nokian900.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/nokian900.h')
-rw-r--r--firmware/export/config/nokian900.h99
1 files changed, 99 insertions, 0 deletions
diff --git a/firmware/export/config/nokian900.h b/firmware/export/config/nokian900.h
new file mode 100644
index 0000000000..a65dc7260b
--- /dev/null
+++ b/firmware/export/config/nokian900.h
@@ -0,0 +1,99 @@
1/*
2 * This config file is for Rockbox as an application on the Nokia N900
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_MAEMO5)
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#define LCD_WIDTH 800
43#define LCD_HEIGHT 480
44#define LCD_DEPTH 16
45#define LCD_PIXELFORMAT 565
46
47/* define this to indicate your device's keypad */
48#define HAVE_TOUCHSCREEN
49#define HAVE_BUTTON_DATA
50
51/* define this if you have RTC RAM available for settings */
52//#define HAVE_RTC_RAM
53
54/* The number of bytes reserved for loadable codecs */
55#define CODEC_SIZE 0x100000
56
57/* The number of bytes reserved for loadable plugins */
58#define PLUGIN_BUFFER_SIZE 0x80000
59
60#define AB_REPEAT_ENABLE
61
62/* Define this if you do software codec */
63#define CONFIG_CODEC SWCODEC
64
65/* Work around debug macro expansion of strncmp in scratchbox */
66#define _HAVE_STRING_ARCH_strncmp
67
68#define HAVE_MULTIMEDIA_KEYS
69#define HAVE_SCROLLWHEEL
70#define CONFIG_KEYPAD SDL_PAD
71
72/* Use SDL audio/pcm in a SDL app build */
73#define HAVE_SDL
74#define HAVE_SDL_AUDIO
75
76#define HAVE_SW_TONE_CONTROLS
77
78/* Define current usage levels. */
79#define CURRENT_NORMAL 88 /* 18 hours from a 1600 mAh battery */
80#define CURRENT_BACKLIGHT 30 /* TBD */
81#define CURRENT_RECORD 0 /* no recording yet */
82
83/* Define this to the CPU frequency */
84/*
85#define CPU_FREQ 48000000
86*/
87
88/* Offset ( in the firmware file's header ) to the file CRC */
89#define FIRMWARE_OFFSET_FILE_CRC 0
90
91/* Offset ( in the firmware file's header ) to the real data */
92#define FIRMWARE_OFFSET_FILE_DATA 8
93
94#define CONFIG_LCD LCD_COWOND2
95
96/* Define this if a programmable hotkey is mapped */
97//#define HAVE_HOTKEY
98
99#define BOOTDIR "/.rockbox"