add Logik DAX USB ids
[kugel-rb.git] / firmware / export / config-logikdax.h
blobf9ee4b94a01f119d405333edcd45ddcde4511e0d
1 /*
2 * This config file is for the Logik DAX MP3/DAB
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 /* For Rolo and boot loader */
7 #define MODEL_NUMBER 33
9 #define MODEL_NAME "Logik DAX MP3/DAB"
11 /* define this if you have recording possibility */
12 //#define HAVE_RECORDING
14 /* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */
16 //#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
18 #if 0 /* Enable for USB driver test */
19 #define HAVE_USBSTACK
20 #define USE_HIGH_SPEED
21 #define USB_VENDOR_ID 0x13d1
22 #define USB_PRODUCT_ID 0x1002
23 #endif
26 /* define this if you have a bitmap LCD display */
27 #define HAVE_LCD_BITMAP
29 /* define this if you can flip your LCD */
30 #define HAVE_LCD_FLIP
32 /* define this if you can invert the colours on your LCD */
33 #define HAVE_LCD_INVERT
35 /* define this if you have access to the quickscreen */
36 #define HAVE_QUICKSCREEN
37 /* define this if you have access to the pitchscreen */
38 #define HAVE_PITCHSCREEN
40 /* define this if you would like tagcache to build on this target */
41 #define HAVE_TAGCACHE
43 #define HAVE_FAT16SUPPORT
45 /* define this if you have a flash memory storage */
46 #define HAVE_FLASH_STORAGE
48 /* LCD dimensions */
49 #define LCD_WIDTH 128
50 #define LCD_HEIGHT 64
51 #define LCD_DEPTH 1
53 #define LCD_PIXELFORMAT VERTICAL_PACKING
55 /* define this to indicate your device's keypad */
56 #define CONFIG_KEYPAD LOGIK_DAX_PAD
58 /* define this if you have a real-time clock */
59 #define CONFIG_RTC RTC_TCC77X
61 /* define this if you have RTC RAM available for settings */
62 //#define HAVE_RTC_RAM
64 /* Define this if you have a software controlled poweroff */
65 #define HAVE_SW_POWEROFF
67 /* The number of bytes reserved for loadable codecs */
68 #define CODEC_SIZE 0x38000
70 /* The number of bytes reserved for loadable plugins */
71 #define PLUGIN_BUFFER_SIZE 0x10000
73 #define AB_REPEAT_ENABLE 1
75 /* Define this if you do software codec */
76 #define CONFIG_CODEC SWCODEC
78 /* The DAX uses built-in WM8731 codec */
79 #define HAVE_WM8731
80 /* Codec is slave on serial bus */
81 #define CODEC_SLAVE
83 /* Define this for LCD backlight available */
84 #define HAVE_BACKLIGHT
86 #define CONFIG_I2C I2C_TCC77X
88 #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
89 #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
90 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
91 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
92 #define BATTERY_TYPES_COUNT 1 /* only one type */
94 /* define this if the unit should not shut down on low battery. */
95 #define NO_LOW_BATTERY_SHUTDOWN
97 #ifndef SIMULATOR
99 /* Define this if you have a TCC773L */
100 #define CONFIG_CPU TCC773L
102 /* Define this if you have ATA power-off control */
103 #define HAVE_ATA_POWER_OFF
105 #define HAVE_FAT16SUPPORT
107 /* Define this to the CPU frequency */
108 #define CPU_FREQ 120000000
110 /* Offset ( in the firmware file's header ) to the file length */
111 #define FIRMWARE_OFFSET_FILE_LENGTH 0
113 /* Offset ( in the firmware file's header ) to the file CRC */
114 #define FIRMWARE_OFFSET_FILE_CRC 4
116 /* Offset ( in the firmware file's header ) to the real data */
117 #define FIRMWARE_OFFSET_FILE_DATA 6
119 /* The start address index for ROM builds */
120 /* #define ROM_START 0x11010 for behind original Archos */
121 #define ROM_START 0x7010 /* for behind BootBox */
123 /* Software controlled LED */
124 #define CONFIG_LED LED_VIRTUAL
126 #define CONFIG_LCD LCD_SSD1815
128 #define BOOTFILE_EXT "logik"
129 #define BOOTFILE "rockbox." BOOTFILE_EXT
130 #define BOOTDIR "/"
132 #define IBSS_ATTR_VOICE_STACK
133 #define ICODE_ATTR_TREMOR_NOT_MDCT
134 #define ICODE_ATTR_TREMOR_MDCT
135 #define ICODE_ATTR_FLAC
136 #define IBSS_ATTR_FLAC_DECODED0
137 #define ICONST_ATTR_MPA_HUFFMAN
138 #define IBSS_ATTR_MPC_SAMPLE_BUF
139 #define ICODE_ATTR_ALAC
140 #define IBSS_ATTR_SHORTEN_DECODED0
142 #endif /* SIMULATOR */