FS#8961 - Anti-Aliased Fonts.
[kugel-rb.git] / firmware / export / config-ondiosp.h
blobba26713612a9bdace47cd7de67576c53176da0d6
1 /* define this if you have a bitmap LCD display */
2 #define HAVE_LCD_BITMAP
4 #define MODEL_NAME "Ondio SP"
6 /* define this if you can flip your LCD */
7 #define HAVE_LCD_FLIP
9 /* define this if you can invert the colours on your LCD */
10 #define HAVE_LCD_INVERT
12 /* define this if you would like tagcache to build on this target */
13 #define HAVE_TAGCACHE
15 /* LCD dimensions */
16 #define LCD_WIDTH 112
17 #define LCD_HEIGHT 64
18 #define LCD_DEPTH 1
20 #define LCD_PIXEL_ASPECT_WIDTH 4
21 #define LCD_PIXEL_ASPECT_HEIGHT 5
23 #define LCD_PIXELFORMAT VERTICAL_PACKING
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
31 /* define this if you have an Ondio style 6-key keyboard */
32 #define CONFIG_KEYPAD ONDIO_PAD
34 #define AB_REPEAT_ENABLE 1
35 #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
37 /* define this if you have access to the pitchscreen */
38 #define HAVE_PITCHSCREEN
40 /* Define this if you have a software controlled poweroff */
41 #define HAVE_SW_POWEROFF
43 /* The number of bytes reserved for loadable plugins */
44 #define PLUGIN_BUFFER_SIZE 0x8000
46 /* Define this if you have a MAS3539F */
47 #define CONFIG_CODEC MAS3539F
49 /* define this if you have a flash memory storage */
50 #define HAVE_FLASH_STORAGE
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 */
58 /* define this if the unit should not shut down on low battery. */
59 #define NO_LOW_BATTERY_SHUTDOWN
61 /* define this if the unit can be powered or charged via USB */
62 #define HAVE_USB_POWER
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 */
69 #ifndef SIMULATOR
71 /* Define this if you have a SH7034 */
72 #define CONFIG_CPU SH7034
74 /* Define this to the CPU frequency */
75 #define CPU_FREQ 12000000
77 /* Offset ( in the firmware file's header ) to the file length */
78 #define FIRMWARE_OFFSET_FILE_LENGTH 20
80 /* Offset ( in the firmware file's header ) to the file CRC */
81 #define FIRMWARE_OFFSET_FILE_CRC 6
83 /* Offset ( in the firmware file's header ) to the real data */
84 #define FIRMWARE_OFFSET_FILE_DATA 24
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 */
90 /* Define this if the display is mounted upside down */
91 #define HAVE_DISPLAY_FLIPPED
93 /* Define this for different I2C pinout */
94 #define CONFIG_I2C I2C_ONDIO
96 /* Define this for different ADC channel assignment */
97 #define HAVE_ONDIO_ADC
99 /* Define this for MMC support instead of ATA harddisk */
100 #define CONFIG_STORAGE STORAGE_MMC
102 /* Define this to support mounting FAT16 partitions */
103 #define HAVE_FAT16SUPPORT
105 /* Define this if the MAS SIBI line can be controlled via PB8 */
106 #define HAVE_MAS_SIBI_CONTROL
108 /* define this if more than one device/partition can be used */
109 #define HAVE_MULTIDRIVE
110 #define NUM_DRIVES 2
112 /* define this if media can be exchanged on the fly */
113 #define HAVE_HOTSWAP
115 /* Virtual LED (icon) */
116 #define CONFIG_LED LED_VIRTUAL
118 #define CONFIG_LCD LCD_SSD1815
120 #define BOOTFILE_EXT "ajz"
121 #define BOOTFILE "ajbrec." BOOTFILE_EXT
122 #define BOOTDIR "/"
124 #endif /* SIMULATOR */
126 #define HAVE_LCD_CONTRAST
128 #define MIN_CONTRAST_SETTING 5
129 #define MAX_CONTRAST_SETTING 63