summaryrefslogtreecommitdiff
path: root/firmware/export/config-logikdax.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-10-28 11:08:10 +0000
committerDave Chapman <dave@dchapman.com>2007-10-28 11:08:10 +0000
commit28f6ae49ec1b1d3464add2941eb015bab56f8016 (patch)
tree6d4cddba129663340cf2f30212a516acdd16a4eb /firmware/export/config-logikdax.h
parentd3e101bd1184e5c1f474ff0978f65ac7e8e2dbfb (diff)
downloadrockbox-28f6ae49ec1b1d3464add2941eb015bab56f8016.tar.gz
rockbox-28f6ae49ec1b1d3464add2941eb015bab56f8016.zip
Initial work on a port to the Logik DAX 1GB MP3/DAB player. The bootloader build compiles and runs (but only displays some debugging info), and the LCD and ADC drivers are working. Two different bootloader builds are possible: 1) The default build is just a test application for uploading to the device via tcctool; 2) Adding -DTCCBOOT to EXTRA_DEFINES in the build directory Makefile will compile the bootloader so that it can be appended to the end of the original firmware and installed on the device, dual-booting. This commit also includes some work by Hein-Pieter van Braam on a port to the iAudio 7, but that doesn't build yet. A large part of these ports will be generic to all TCC77x devices - see the TelechipsInfo wiki page for some other devices with this CPU. NOTE: Compiling these builds requires an arm-elf-gcc with armv5 support - the current version of rockboxdev.sh compiles such a gcc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15339 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-logikdax.h')
-rw-r--r--firmware/export/config-logikdax.h107
1 files changed, 107 insertions, 0 deletions
diff --git a/firmware/export/config-logikdax.h b/firmware/export/config-logikdax.h
new file mode 100644
index 0000000000..384dac4e11
--- /dev/null
+++ b/firmware/export/config-logikdax.h
@@ -0,0 +1,107 @@
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 23
8
9/* define this if you have recording possibility */
10//#define HAVE_RECORDING
11
12/* Define bitmask of input sources - recordable bitmask can be defined
13 explicitly if different */
14//#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
15
16/* define this if you have a bitmap LCD display */
17#define HAVE_LCD_BITMAP
18
19/* define this if you can flip your LCD */
20#define HAVE_LCD_FLIP
21
22/* define this if you can invert the colours on your LCD */
23#define HAVE_LCD_INVERT
24
25/* define this if you have access to the quickscreen */
26#define HAVE_QUICKSCREEN
27/* define this if you have access to the pitchscreen */
28#define HAVE_PITCHSCREEN
29
30/* define this if you would like tagcache to build on this target */
31#define HAVE_TAGCACHE
32
33/* define this if you have a flash memory storage */
34#define HAVE_FLASH_STORAGE
35
36/* LCD dimensions */
37#define LCD_WIDTH 128
38#define LCD_HEIGHT 64
39#define LCD_DEPTH 1
40
41#define LCD_PIXELFORMAT VERTICAL_PACKING
42
43/* define this to indicate your device's keypad */
44#define CONFIG_KEYPAD LOGIK_DAX_PAD
45
46/* define this if you have a real-time clock */
47#define CONFIG_RTC RTC_TCC77X
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 plugins */
53#define PLUGIN_BUFFER_SIZE 0x8000
54
55#define AB_REPEAT_ENABLE 1
56
57/* Define this if you do software codec */
58#define CONFIG_CODEC SWCODEC
59
60/* Define this for LCD backlight available */
61#define HAVE_BACKLIGHT
62
63#define CONFIG_I2C I2C_TCC77X
64
65#define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */
66#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
67#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
68#define BATTERY_CAPACITY_INC 50 /* capacity increment */
69#define BATTERY_TYPES_COUNT 1 /* only one type */
70
71/* define this if the unit should not shut down on low battery. */
72#define NO_LOW_BATTERY_SHUTDOWN
73
74#ifndef SIMULATOR
75
76/* Define this if you have a TCC773L */
77#define CONFIG_CPU TCC773L
78
79/* Define this if you have ATA power-off control */
80#define HAVE_ATA_POWER_OFF
81
82/* Define this to the CPU frequency */
83#define CPU_FREQ 120000000
84
85/* Offset ( in the firmware file's header ) to the file length */
86#define FIRMWARE_OFFSET_FILE_LENGTH 0
87
88/* Offset ( in the firmware file's header ) to the file CRC */
89#define FIRMWARE_OFFSET_FILE_CRC 4
90
91/* Offset ( in the firmware file's header ) to the real data */
92#define FIRMWARE_OFFSET_FILE_DATA 6
93
94/* The start address index for ROM builds */
95/* #define ROM_START 0x11010 for behind original Archos */
96#define ROM_START 0x7010 /* for behind BootBox */
97
98/* Software controlled LED */
99#define CONFIG_LED LED_VIRTUAL
100
101#define CONFIG_LCD LCD_SSD1815
102
103#define BOOTFILE_EXT "logik"
104#define BOOTFILE "rockbox." BOOTFILE_EXT
105#define BOOTDIR "/"
106
107#endif /* SIMULATOR */