Prepare new maemo release
[maemo-rb.git] / firmware / export / config / nokian900.h
blob9c1c1a4dff50757be8a1f38e6457de90071dcb78
1 /*
2 * This config file is for Rockbox as an application on the Nokia N900
3 */
5 /* We don't run on hardware directly */
6 #define CONFIG_PLATFORM (PLATFORM_HOSTED|PLATFORM_MAEMO5)
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
33 /* define this if you would like tagcache to build on this target */
34 #define HAVE_TAGCACHE
36 /* LCD dimensions */
37 #define LCD_WIDTH 800
38 #define LCD_HEIGHT 480
39 #define LCD_DEPTH 16
40 #define LCD_PIXELFORMAT RGB565
42 /* define this to indicate your device's keypad */
43 #define HAVE_TOUCHSCREEN
44 #define HAVE_BUTTON_DATA
46 /* define this if you have RTC RAM available for settings */
47 //#define HAVE_RTC_RAM
49 /* define this if you have a real-time clock */
50 #define CONFIG_RTC APPLICATION
52 /* The number of bytes reserved for loadable codecs */
53 #define CODEC_SIZE 0x100000
55 /* The number of bytes reserved for loadable plugins */
56 #define PLUGIN_BUFFER_SIZE 0x80000
58 #define AB_REPEAT_ENABLE
60 /* Define this if you do software codec */
61 #define CONFIG_CODEC SWCODEC
63 /* Work around debug macro expansion of strncmp in scratchbox */
64 #define _HAVE_STRING_ARCH_strncmp
66 #define HAVE_MULTIMEDIA_KEYS
67 #define HAVE_SCROLLWHEEL
68 #define CONFIG_KEYPAD SDL_PAD
70 /* Use SDL audio/pcm in a SDL app build */
71 #define HAVE_SDL
72 #define HAVE_SDL_AUDIO
74 #define HAVE_SW_TONE_CONTROLS
76 /* can provide both remaining percentage and time information */
77 #define CONFIG_BATTERY_MEASURE (PERCENTAGE_MEASURE|TIME_MEASURE)
78 #define NO_LOW_BATTERY_SHUTDOWN
80 #define CPU_FREQ 48000000
83 /* Offset ( in the firmware file's header ) to the file CRC */
84 #define FIRMWARE_OFFSET_FILE_CRC 0
86 /* Offset ( in the firmware file's header ) to the real data */
87 #define FIRMWARE_OFFSET_FILE_DATA 8
89 #define CONFIG_LCD LCD_COWOND2
91 /* Define this if a programmable hotkey is mapped */
92 #define HAVE_HOTKEY
94 #define BOOTDIR "/.rockbox"