summaryrefslogtreecommitdiff
path: root/firmware/export/config/archosondiosp.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/archosondiosp.h')
-rw-r--r--firmware/export/config/archosondiosp.h123
1 files changed, 123 insertions, 0 deletions
diff --git a/firmware/export/config/archosondiosp.h b/firmware/export/config/archosondiosp.h
new file mode 100644
index 0000000000..452b47b78e
--- /dev/null
+++ b/firmware/export/config/archosondiosp.h
@@ -0,0 +1,123 @@
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/* Define this if you have a SH7034 */
70#define CONFIG_CPU SH7034
71
72/* Define this to the CPU frequency */
73#define CPU_FREQ 12000000
74
75/* Offset ( in the firmware file's header ) to the file length */
76#define FIRMWARE_OFFSET_FILE_LENGTH 20
77
78/* Offset ( in the firmware file's header ) to the file CRC */
79#define FIRMWARE_OFFSET_FILE_CRC 6
80
81/* Offset ( in the firmware file's header ) to the real data */
82#define FIRMWARE_OFFSET_FILE_DATA 24
83
84/* The start address index for ROM builds */
85/* #define ROM_START 0x12010 for behind original Archos */
86#define ROM_START 0x7010 /* for behind BootBox */
87
88/* Define this if the display is mounted upside down */
89#define HAVE_DISPLAY_FLIPPED
90
91/* Define this for different I2C pinout */
92#define CONFIG_I2C I2C_ONDIO
93
94/* Define this for different ADC channel assignment */
95#define HAVE_ONDIO_ADC
96
97/* Define this for MMC support instead of ATA harddisk */
98#define CONFIG_STORAGE STORAGE_MMC
99
100/* Define this to support mounting FAT16 partitions */
101#define HAVE_FAT16SUPPORT
102
103/* Define this if the MAS SIBI line can be controlled via PB8 */
104#define HAVE_MAS_SIBI_CONTROL
105
106/* define this if more than one device/partition can be used */
107#define HAVE_MULTIDRIVE
108#define NUM_DRIVES 2
109
110/* define this if media can be exchanged on the fly */
111#define HAVE_HOTSWAP
112
113#define CONFIG_LCD LCD_SSD1815
114
115#define BOOTFILE_EXT "ajz"
116#define BOOTFILE "ajbrec." BOOTFILE_EXT
117#define BOOTDIR "/"
118
119#define HAVE_LCD_CONTRAST
120
121#define MIN_CONTRAST_SETTING 5
122#define MAX_CONTRAST_SETTING 63
123