TARGET_TREE is not needed anymore
[maemo-rb.git] / firmware / export / config / nokian8xx.h
blob50f2971238a5bd3961b80b3b698a416bbd2e19b8
1 /*
2 * This config file is for Rockbox as an application on the Nokia N8xx
3 */
5 /* We don't run on hardware directly */
6 #define CONFIG_PLATFORM (PLATFORM_HOSTED|PLATFORM_MAEMO4)
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
32 /* define this if you have access to the pitchscreen */
33 #define HAVE_PITCHSCREEN
35 /* define this if you would like tagcache to build on this target */
36 #define HAVE_TAGCACHE
38 /* LCD dimensions */
39 #define LCD_WIDTH 800
40 #define LCD_HEIGHT 480
41 #define LCD_DEPTH 16
42 #define LCD_PIXELFORMAT 565
44 /* define this to indicate your device's keypad */
45 #define HAVE_TOUCHSCREEN
46 #define HAVE_BUTTON_DATA
48 /* define this if you have RTC RAM available for settings */
49 //#define HAVE_RTC_RAM
51 /* define this if you have a real-time clock */
52 #define CONFIG_RTC APPLICATION
54 /* The number of bytes reserved for loadable codecs */
55 #define CODEC_SIZE 0x100000
57 /* The number of bytes reserved for loadable plugins */
58 #define PLUGIN_BUFFER_SIZE 0x80000
60 #define AB_REPEAT_ENABLE
62 /* Define this if you do software codec */
63 #define CONFIG_CODEC SWCODEC
65 /* Work around debug macro expansion of strncmp in scratchbox */
66 #define _HAVE_STRING_ARCH_strncmp
68 #define HAVE_MULTIMEDIA_KEYS
69 #define HAVE_SCROLLWHEEL
70 #define CONFIG_KEYPAD SDL_PAD
72 /* Use SDL audio/pcm in a SDL app build */
73 #define HAVE_SDL
74 #define HAVE_SDL_AUDIO
76 #define HAVE_SW_TONE_CONTROLS
78 /* can provide both remaining percentage and time information */
79 #define CONFIG_BATTERY_MEASURE (PERCENTAGE_MEASURE|TIME_MEASURE)
80 #define NO_LOW_BATTERY_SHUTDOWN
82 /* Define this to the CPU frequency */
84 #define CPU_FREQ 48000000
87 /* Offset ( in the firmware file's header ) to the file CRC */
88 #define FIRMWARE_OFFSET_FILE_CRC 0
90 /* Offset ( in the firmware file's header ) to the real data */
91 #define FIRMWARE_OFFSET_FILE_DATA 8
93 #define CONFIG_LCD LCD_COWOND2
95 /* Define this if a programmable hotkey is mapped */
96 #define HAVE_HOTKEY
98 #define BOOTDIR "/.rockbox"