Colour targets: Revert an optimisation from almost 18 months ago that actually turned...
[Rockbox.git] / firmware / export / config-ondiofm.h
blob18c0ad7debb321de1a58599ccd66eb29276777b9
1 /* define this if you have recording possibility */
2 #define HAVE_RECORDING
4 /* Define bitmask of input sources - recordable bitmask can be defined
5 explicitly if different */
6 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
8 /* define this if you have a bitmap LCD display */
9 #define HAVE_LCD_BITMAP
11 /* define this if you can flip your LCD */
12 #define HAVE_LCD_FLIP
14 /* define this if you can invert the colours on your LCD */
15 #define HAVE_LCD_INVERT
17 /* define this if you would like tagcache to build on this target */
18 #define HAVE_TAGCACHE
20 /* LCD dimensions */
21 #define LCD_WIDTH 112
22 #define LCD_HEIGHT 64
23 #define LCD_DEPTH 1
25 #define LCD_PIXELFORMAT VERTICAL_PACKING
27 /* define this if you have an Ondio style 6-key keyboard */
28 #define CONFIG_KEYPAD ONDIO_PAD
30 /* define this if you have access to the pitchscreen */
31 #define HAVE_PITCHSCREEN
33 /* Define this if you have a software controlled poweroff */
34 #define HAVE_SW_POWEROFF
36 /* The number of bytes reserved for loadable plugins */
37 #define PLUGIN_BUFFER_SIZE 0x8000
39 /* Define this if you have an FM Radio */
40 #define CONFIG_TUNER (S1A0903X01 | TEA5767) /* to be decided at runtime */
41 #define CONFIG_TUNER_XTAL 13000000
43 /* Define this if you have a MAS3587F */
44 #define CONFIG_CODEC MAS3587F
46 /* Enable this if you have done the backlight mod */
47 //#define HAVE_BACKLIGHT
49 /* define this if you have a flash memory storage */
50 #define HAVE_FLASH_STORAGE
52 /* define this if more than one device/partition can be used */
53 #define HAVE_MULTIVOLUME
55 #define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
56 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
57 #define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
58 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
59 #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
61 /* define this if the unit should not shut down on low battery. */
62 #define NO_LOW_BATTERY_SHUTDOWN
64 /* define this if the unit can be powered or charged via USB */
65 #define HAVE_USB_POWER
67 #ifndef SIMULATOR
69 /* Define this if you have a SH7034 */
70 #define CONFIG_CPU SH7034
72 /* Define this to the CPU frequency */
73 #define CPU_FREQ 12000000
75 /* Define this for different I2C pinout */
76 #define CONFIG_I2C I2C_ONDIO
78 /* Offset ( in the firmware file's header ) to the file length */
79 #define FIRMWARE_OFFSET_FILE_LENGTH 20
81 /* Offset ( in the firmware file's header ) to the file CRC */
82 #define FIRMWARE_OFFSET_FILE_CRC 6
84 /* Offset ( in the firmware file's header ) to the real data */
85 #define FIRMWARE_OFFSET_FILE_DATA 24
87 /* Define this if the tuner is switched on by software */
88 #define HAVE_TUNER_PWR_CTRL
90 /* The start address index for ROM builds */
91 /* #define ROM_START 0x16010 for behind original Archos */
92 #define ROM_START 0x7010 /* for behind BootBox */
94 /* Define this if the display is mounted upside down */
95 #define HAVE_DISPLAY_FLIPPED
97 /* Define this for different I2C pinout */
98 #define HAVE_ONDIO_I2C
100 /* Define this for different ADC channel assignment */
101 #define HAVE_ONDIO_ADC
103 /* Define this for MMC support instead of ATA harddisk */
104 #define HAVE_MMC
106 /* Define this to support mounting FAT16 partitions */
107 #define HAVE_FAT16SUPPORT
109 /* Define this if the MAS SIBI line can be controlled via PB8 */
110 #define HAVE_MAS_SIBI_CONTROL
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