summaryrefslogtreecommitdiff
path: root/firmware/export/config/logikdax.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/logikdax.h')
-rw-r--r--firmware/export/config/logikdax.h150
1 files changed, 150 insertions, 0 deletions
diff --git a/firmware/export/config/logikdax.h b/firmware/export/config/logikdax.h
new file mode 100644
index 0000000000..8cfbbd8bd8
--- /dev/null
+++ b/firmware/export/config/logikdax.h
@@ -0,0 +1,150 @@
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 */
5
6/* For Rolo and boot loader */
7#define MODEL_NUMBER 33
8
9#define MODEL_NAME "Logik DAX MP3/DAB"
10
11/* define this if you have recording possibility */
12//#define HAVE_RECORDING
13
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)
17
18#if 0 /* Enable for USB driver test */
19#define HAVE_USBSTACK
20#define USB_VENDOR_ID 0x13d1
21#define USB_PRODUCT_ID 0x1002
22#endif
23
24
25/* define this if you have a bitmap LCD display */
26#define HAVE_LCD_BITMAP
27
28/* define this if you can flip your LCD */
29#define HAVE_LCD_FLIP
30
31/* define this if you can invert the colours on your LCD */
32#define HAVE_LCD_INVERT
33
34/* define this if you have access to the quickscreen */
35#define HAVE_QUICKSCREEN
36/* define this if you have access to the pitchscreen */
37#define HAVE_PITCHSCREEN
38
39/* define this if you would like tagcache to build on this target */
40#define HAVE_TAGCACHE
41
42#define HAVE_FAT16SUPPORT
43
44/* define this if you have a flash memory storage */
45#define HAVE_FLASH_STORAGE
46
47#define CONFIG_STORAGE STORAGE_NAND
48
49#define CONFIG_NAND NAND_TCC
50
51/* LCD dimensions */
52#define LCD_WIDTH 128
53#define LCD_HEIGHT 64
54#define LCD_DEPTH 1
55
56#define LCD_PIXELFORMAT VERTICAL_PACKING
57
58/* Display colours, for screenshots and sim (0xRRGGBB) */
59#define LCD_DARKCOLOR 0x000000
60#define LCD_BRIGHTCOLOR 0x5a915a
61#define LCD_BL_DARKCOLOR 0x000000
62#define LCD_BL_BRIGHTCOLOR 0x82b4fa
63
64/* define this to indicate your device's keypad */
65#define CONFIG_KEYPAD LOGIK_DAX_PAD
66
67/* define this if you have a real-time clock */
68#define CONFIG_RTC RTC_TCC77X
69
70/* define this if you have RTC RAM available for settings */
71//#define HAVE_RTC_RAM
72
73/* Define this if you have a software controlled poweroff */
74#define HAVE_SW_POWEROFF
75
76/* The number of bytes reserved for loadable codecs */
77#define CODEC_SIZE 0x38000
78
79/* The number of bytes reserved for loadable plugins */
80#define PLUGIN_BUFFER_SIZE 0x10000
81
82#define AB_REPEAT_ENABLE 1
83
84/* Define this if you do software codec */
85#define CONFIG_CODEC SWCODEC
86
87/* The DAX uses built-in WM8731 codec */
88#define HAVE_WM8731
89/* Codec is slave on serial bus */
90#define CODEC_SLAVE
91
92/* Define this for LCD backlight available */
93#define HAVE_BACKLIGHT
94
95#define CONFIG_I2C I2C_TCC77X
96
97#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
98#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
99#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
100#define BATTERY_CAPACITY_INC 50 /* capacity increment */
101#define BATTERY_TYPES_COUNT 1 /* only one type */
102
103/* define this if the unit should not shut down on low battery. */
104#define NO_LOW_BATTERY_SHUTDOWN
105
106#ifndef SIMULATOR
107
108/* Define this if you have a TCC773L */
109#define CONFIG_CPU TCC773L
110
111/* Define this if you have ATA power-off control */
112#define HAVE_ATA_POWER_OFF
113
114#define HAVE_FAT16SUPPORT
115
116/* Define this to the CPU frequency */
117#define CPU_FREQ 120000000
118
119/* Offset ( in the firmware file's header ) to the file length */
120#define FIRMWARE_OFFSET_FILE_LENGTH 0
121
122/* Offset ( in the firmware file's header ) to the file CRC */
123#define FIRMWARE_OFFSET_FILE_CRC 4
124
125/* Offset ( in the firmware file's header ) to the real data */
126#define FIRMWARE_OFFSET_FILE_DATA 6
127
128/* The start address index for ROM builds */
129/* #define ROM_START 0x11010 for behind original Archos */
130#define ROM_START 0x7010 /* for behind BootBox */
131
132#define CONFIG_LCD LCD_SSD1815
133
134#define BOOTFILE_EXT "logik"
135#define BOOTFILE "rockbox." BOOTFILE_EXT
136#define BOOTDIR "/"
137
138#define IBSS_ATTR_VOICE_STACK
139#define ICODE_ATTR_TREMOR_NOT_MDCT
140#define ICODE_ATTR_TREMOR_MDCT
141#define ICODE_ATTR_FLAC
142#define IBSS_ATTR_FLAC_DECODED0
143#define ICONST_ATTR_MPA_HUFFMAN
144#define IBSS_ATTR_MPC_SAMPLE_BUF
145#define ICODE_ATTR_ALAC
146#define IBSS_ATTR_SHORTEN_DECODED0
147
148#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
149
150#endif /* SIMULATOR */