summaryrefslogtreecommitdiff
path: root/firmware/export/config-lyre_proto1.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-lyre_proto1.h')
-rw-r--r--firmware/export/config-lyre_proto1.h100
1 files changed, 100 insertions, 0 deletions
diff --git a/firmware/export/config-lyre_proto1.h b/firmware/export/config-lyre_proto1.h
new file mode 100644
index 0000000000..58a9350bb9
--- /dev/null
+++ b/firmware/export/config-lyre_proto1.h
@@ -0,0 +1,100 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 *
10 * Copyright (C) 2009 by Jorge Pinto
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/*
23 * This config file is for the Lyre prototype 1.
24 */
25#define TARGET_TREE /* this target is using the target tree system */
26
27#define CONFIG_SDRAM_START 0x20000000
28
29/* For Rolo and boot loader */
30#define MODEL_NUMBER 130
31
32/* define this if the flash memory uses the
33 * SecureDigital Memory Card protocol */
34#define CONFIG_STORAGE STORAGE_SD
35#define HAVE_FLASH_STORAGE
36
37/* define this if you have a bitmap LCD display */
38#define HAVE_LCD_BITMAP
39
40/* define this if you have a colour LCD */
41#define HAVE_LCD_COLOR
42
43#define CONFIG_LCD LCD_LYRE_PROTO1
44
45/* LCD dimensions */
46#define LCD_WIDTH 128
47#define LCD_HEIGHT 128
48/* The LCD used is just rgb444, 64 colours. We do a bit conversion on LCD
49 * drivers. */
50#define LCD_DEPTH 16 /* 65536 colours */
51#define LCD_PIXELFORMAT RGB565 /* rgb565 */
52
53#define HAVE_ALBUMART
54
55#define CONFIG_KEYPAD LYRE_PROTO1_PAD
56
57/* Define this if you do software codec */
58#define CONFIG_CODEC SWCODEC
59
60/* The number of bytes reserved for loadable codecs */
61#define CODEC_SIZE 0x100000
62
63/* The number of bytes reserved for loadable plugins */
64#define PLUGIN_BUFFER_SIZE 0x100000
65
66/* Lyre prototype 1 do not use I2C, just SPI */
67#define CONFIG_I2C I2C_NONE
68
69/* Define this if you have the TLV320 audio codec -> controlled by the DSP */
70#define HAVE_TLV320
71
72/* TLV320 has no tone controls, so we use the software ones */
73#define HAVE_SW_TONE_CONTROLS
74
75#define BATTERY_CAPACITY_DEFAULT 1100 /* default battery capacity */
76#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
77#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
78#define BATTERY_CAPACITY_INC 100 /* capacity increment */
79#define BATTERY_TYPES_COUNT 1 /* only one type */
80
81#ifndef SIMULATOR
82
83#define CONFIG_CPU AT91SAM9260
84
85/* Define this to the CPU frequency */
86#define CPU_FREQ 198656000
87#define MCK_FREQ 99328000
88#define SLOW_CLOCK 32768
89
90/* Offset ( in the firmware file's header ) to the file CRC */
91#define FIRMWARE_OFFSET_FILE_CRC 0
92
93/* Offset ( in the firmware file's header ) to the real data */
94#define FIRMWARE_OFFSET_FILE_DATA 8
95
96#define BOOTFILE_EXT "lyre_proto1"
97#define BOOTFILE "rockbox." BOOTFILE_EXT
98#define BOOTDIR "/.rockbox"
99
100#endif