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