summaryrefslogtreecommitdiff
path: root/firmware/export/config/nokian8xx.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2011-02-27 11:37:39 +0000
committerDave Chapman <dave@dchapman.com>2011-02-27 11:37:39 +0000
commit376c9f3ad0c257ee97d7eba03962f232e85b36a7 (patch)
tree3323dfd60b82814af115b4c436ea8680ca9da978 /firmware/export/config/nokian8xx.h
parent9501986047056c9f6ca954817ae597e302028f2e (diff)
downloadrockbox-376c9f3ad0c257ee97d7eba03962f232e85b36a7.tar.gz
rockbox-376c9f3ad0c257ee97d7eba03962f232e85b36a7.zip
FS#11966 - use separate modelnames and config files for RaaA. This adds an APPLICATION define that can be used in Makefiles, and target-name defines (-DSDLAPP, -DANDROID, -DNOKIAN8XX and -DNOKIAN900) for use elsewhere. LCD size is now hard-coded for the Nokia builds in their config files. A new --app parameter is passed to buildzip.pl to explicitly state that this is an application build - it was previously derived from the model name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29418 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config/nokian8xx.h')
-rw-r--r--firmware/export/config/nokian8xx.h97
1 files changed, 97 insertions, 0 deletions
diff --git a/firmware/export/config/nokian8xx.h b/firmware/export/config/nokian8xx.h
new file mode 100644
index 0000000000..328d73145f
--- /dev/null
+++ b/firmware/export/config/nokian8xx.h
@@ -0,0 +1,97 @@
1/*
2 * This config file is for Rockbox as an application on the Nokia N8xx
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_MAEMO4)
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#define LCD_WIDTH 800
41#define LCD_HEIGHT 480
42#define LCD_DEPTH 16
43#define LCD_PIXELFORMAT 565
44
45/* define this to indicate your device's keypad */
46#define HAVE_TOUCHSCREEN
47#define HAVE_BUTTON_DATA
48
49/* define this if you have RTC RAM available for settings */
50//#define HAVE_RTC_RAM
51
52/* The number of bytes reserved for loadable codecs */
53#define CODEC_SIZE 0x100000
54
55/* The number of bytes reserved for loadable plugins */
56#define PLUGIN_BUFFER_SIZE 0x80000
57
58#define AB_REPEAT_ENABLE
59
60/* Define this if you do software codec */
61#define CONFIG_CODEC SWCODEC
62
63/* Work around debug macro expansion of strncmp in scratchbox */
64#define _HAVE_STRING_ARCH_strncmp
65
66#define HAVE_MULTIMEDIA_KEYS
67#define HAVE_SCROLLWHEEL
68#define CONFIG_KEYPAD SDL_PAD
69
70/* Use SDL audio/pcm in a SDL app build */
71#define HAVE_SDL
72#define HAVE_SDL_AUDIO
73
74#define HAVE_SW_TONE_CONTROLS
75
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 */
80
81/* Define this to the CPU frequency */
82/*
83#define CPU_FREQ 48000000
84*/
85
86/* Offset ( in the firmware file's header ) to the file CRC */
87#define FIRMWARE_OFFSET_FILE_CRC 0
88
89/* Offset ( in the firmware file's header ) to the real data */
90#define FIRMWARE_OFFSET_FILE_DATA 8
91
92#define CONFIG_LCD LCD_COWOND2
93
94/* Define this if a programmable hotkey is mapped */
95//#define HAVE_HOTKEY
96
97#define BOOTDIR "/.rockbox"