summaryrefslogtreecommitdiff
path: root/firmware/export/config-ondiofm.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2009-12-07 09:17:48 +0000
committerBjörn Stenberg <bjorn@haxx.se>2009-12-07 09:17:48 +0000
commit36a81eb9b98ac7b1dff0d6658dba0255dd579f5f (patch)
tree81b81008c4cb69c276329ecd50200887c4da4838 /firmware/export/config-ondiofm.h
parent66fa5b578904f7df61293d6ce5c08966b5db13db (diff)
downloadrockbox-36a81eb9b98ac7b1dff0d6658dba0255dd579f5f.tar.gz
rockbox-36a81eb9b98ac7b1dff0d6658dba0255dd579f5f.zip
Reverted r23881 mistakenly committed to branch.v3.4
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23882 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ondiofm.h')
-rw-r--r--firmware/export/config-ondiofm.h143
1 files changed, 143 insertions, 0 deletions
diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h
new file mode 100644
index 0000000000..7a2b30dbf1
--- /dev/null
+++ b/firmware/export/config-ondiofm.h
@@ -0,0 +1,143 @@
1/* define this if you have recording possibility */
2#define HAVE_RECORDING
3
4#define MODEL_NAME "Ondio FM"
5
6/* Define bitmask of input sources - recordable bitmask can be defined
7 explicitly if different */
8#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
9
10/* define this if you have a bitmap LCD display */
11#define HAVE_LCD_BITMAP
12
13/* define this if you can flip your LCD */
14#define HAVE_LCD_FLIP
15
16/* define this if you can invert the colours on your LCD */
17#define HAVE_LCD_INVERT
18
19/* define this if you would like tagcache to build on this target */
20#define HAVE_TAGCACHE
21
22/* LCD dimensions */
23#define LCD_WIDTH 112
24#define LCD_HEIGHT 64
25#define LCD_DEPTH 1
26
27#define LCD_PIXEL_ASPECT_WIDTH 4
28#define LCD_PIXEL_ASPECT_HEIGHT 5
29
30#define LCD_PIXELFORMAT VERTICAL_PACKING
31
32/* Display colours, for screenshots and sim (0xRRGGBB) */
33#define LCD_DARKCOLOR 0x000000
34#define LCD_BRIGHTCOLOR 0x5a915a
35#define LCD_BL_DARKCOLOR 0x000000
36#define LCD_BL_BRIGHTCOLOR 0x82b4fa
37
38/* define this if you have an Ondio style 6-key keyboard */
39#define CONFIG_KEYPAD ONDIO_PAD
40
41#define AB_REPEAT_ENABLE 1
42#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
43
44/* define this if you have access to the pitchscreen */
45#define HAVE_PITCHSCREEN
46
47/* Define this if you have a software controlled poweroff */
48#define HAVE_SW_POWEROFF
49
50/* The number of bytes reserved for loadable plugins */
51#define PLUGIN_BUFFER_SIZE 0x8000
52
53#ifndef BOOTLOADER
54/* Define this if you have an FM Radio */
55#define CONFIG_TUNER (S1A0903X01 | TEA5767) /* to be decided at runtime */
56#define CONFIG_TUNER_XTAL 13000000
57#endif
58
59/* Define this if you have a MAS3587F */
60#define CONFIG_CODEC MAS3587F
61
62/* define this if you have a flash memory storage */
63#define HAVE_FLASH_STORAGE
64
65#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
66#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
67#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
68#define BATTERY_CAPACITY_INC 50 /* capacity increment */
69#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
70
71/* define this if the unit should not shut down on low battery. */
72#define NO_LOW_BATTERY_SHUTDOWN
73
74/* define this if the unit can be powered or charged via USB */
75#define HAVE_USB_POWER
76
77/* define current usage levels */
78#define CURRENT_NORMAL 95 /* average, nearly proportional to 1/U */
79#define CURRENT_USB 1 /* host powered in USB mode; avoid zero-div */
80#define CURRENT_BACKLIGHT 0 /* no backlight */
81
82#ifndef SIMULATOR
83
84/* Define this if you have a SH7034 */
85#define CONFIG_CPU SH7034
86
87/* Define this to the CPU frequency */
88#define CPU_FREQ 12000000
89
90/* Define this for different I2C pinout */
91#define CONFIG_I2C I2C_ONDIO
92
93/* Offset ( in the firmware file's header ) to the file length */
94#define FIRMWARE_OFFSET_FILE_LENGTH 20
95
96/* Offset ( in the firmware file's header ) to the file CRC */
97#define FIRMWARE_OFFSET_FILE_CRC 6
98
99/* Offset ( in the firmware file's header ) to the real data */
100#define FIRMWARE_OFFSET_FILE_DATA 24
101
102/* Define this if the tuner is switched on by software */
103#define HAVE_TUNER_PWR_CTRL
104
105/* The start address index for ROM builds */
106/* #define ROM_START 0x16010 for behind original Archos */
107#define ROM_START 0x7010 /* for behind BootBox */
108
109/* Define this if the display is mounted upside down */
110#define HAVE_DISPLAY_FLIPPED
111
112/* Define this for different ADC channel assignment */
113#define HAVE_ONDIO_ADC
114
115/* Define this for MMC support instead of ATA harddisk */
116#define CONFIG_STORAGE STORAGE_MMC
117
118/* Define this to support mounting FAT16 partitions */
119#define HAVE_FAT16SUPPORT
120
121/* Define this if the MAS SIBI line can be controlled via PB8 */
122#define HAVE_MAS_SIBI_CONTROL
123
124/* define this if more than one device/partition can be used */
125#define HAVE_MULTIDRIVE
126#define NUM_DRIVES 2
127
128/* define this if media can be exchanged on the fly */
129#define HAVE_HOTSWAP
130
131#define CONFIG_LCD LCD_SSD1815
132
133#define BOOTFILE_EXT "ajz"
134#define BOOTFILE "ajbrec." BOOTFILE_EXT
135#define BOOTDIR "/"
136
137#endif /* SIMULATOR */
138
139#define HAVE_LCD_CONTRAST
140
141#define MIN_CONTRAST_SETTING 5
142#define MAX_CONTRAST_SETTING 63
143