merge 19488 back from the 3.1 branch
[kugel-rb.git] / firmware / export / config-ondiofm.h
blob634433fcdbc7dd48b546377846a3392036c1a524
1 /* define this if you have recording possibility */
2 #define HAVE_RECORDING
4 #define MODEL_NAME "Ondio FM"
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)
10 /* define this if you have a bitmap LCD display */
11 #define HAVE_LCD_BITMAP
13 /* define this if you can flip your LCD */
14 #define HAVE_LCD_FLIP
16 /* define this if you can invert the colours on your LCD */
17 #define HAVE_LCD_INVERT
19 /* define this if you would like tagcache to build on this target */
20 #define HAVE_TAGCACHE
22 /* LCD dimensions */
23 #define LCD_WIDTH 112
24 #define LCD_HEIGHT 64
25 #define LCD_DEPTH 1
27 #define LCD_PIXELFORMAT VERTICAL_PACKING
29 /* define this if you have an Ondio style 6-key keyboard */
30 #define CONFIG_KEYPAD ONDIO_PAD
32 #define AB_REPEAT_ENABLE 1
33 #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
35 /* define this if you have access to the pitchscreen */
36 #define HAVE_PITCHSCREEN
38 /* Define this if you have a software controlled poweroff */
39 #define HAVE_SW_POWEROFF
41 /* The number of bytes reserved for loadable plugins */
42 #define PLUGIN_BUFFER_SIZE 0x8000
44 /* Define this if you have an FM Radio */
45 #define CONFIG_TUNER (S1A0903X01 | TEA5767) /* to be decided at runtime */
46 #define CONFIG_TUNER_XTAL 13000000
48 /* Define this if you have a MAS3587F */
49 #define CONFIG_CODEC MAS3587F
51 /* Enable this if you have done the backlight mod */
52 //#define HAVE_BACKLIGHT
54 /* define this if you have a flash memory storage */
55 #define HAVE_FLASH_STORAGE
57 /* define this if more than one device/partition can be used */
58 #define HAVE_MULTIVOLUME
60 #define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
61 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
62 #define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
63 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
64 #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
66 /* define this if the unit should not shut down on low battery. */
67 #define NO_LOW_BATTERY_SHUTDOWN
69 /* define this if the unit can be powered or charged via USB */
70 #define HAVE_USB_POWER
72 #ifndef SIMULATOR
74 /* Define this if you have a SH7034 */
75 #define CONFIG_CPU SH7034
77 /* Define this to the CPU frequency */
78 #define CPU_FREQ 12000000
80 /* Define this for different I2C pinout */
81 #define CONFIG_I2C I2C_ONDIO
83 /* Offset ( in the firmware file's header ) to the file length */
84 #define FIRMWARE_OFFSET_FILE_LENGTH 20
86 /* Offset ( in the firmware file's header ) to the file CRC */
87 #define FIRMWARE_OFFSET_FILE_CRC 6
89 /* Offset ( in the firmware file's header ) to the real data */
90 #define FIRMWARE_OFFSET_FILE_DATA 24
92 /* Define this if the tuner is switched on by software */
93 #define HAVE_TUNER_PWR_CTRL
95 /* The start address index for ROM builds */
96 /* #define ROM_START 0x16010 for behind original Archos */
97 #define ROM_START 0x7010 /* for behind BootBox */
99 /* Define this if the display is mounted upside down */
100 #define HAVE_DISPLAY_FLIPPED
102 /* Define this for different I2C pinout */
103 #define HAVE_ONDIO_I2C
105 /* Define this for different ADC channel assignment */
106 #define HAVE_ONDIO_ADC
108 /* Define this for MMC support instead of ATA harddisk */
109 #define CONFIG_STORAGE STORAGE_MMC
111 /* Define this to support mounting FAT16 partitions */
112 #define HAVE_FAT16SUPPORT
114 /* Define this if the MAS SIBI line can be controlled via PB8 */
115 #define HAVE_MAS_SIBI_CONTROL
117 /* define this if media can be exchanged on the fly */
118 #define HAVE_HOTSWAP
120 /* Virtual LED (icon) */
121 #define CONFIG_LED LED_VIRTUAL
123 #define CONFIG_LCD LCD_SSD1815
125 #define BOOTFILE_EXT "ajz"
126 #define BOOTFILE "ajbrec." BOOTFILE_EXT
127 #define BOOTDIR "/"
129 #endif /* SIMULATOR */
131 #define HAVE_LCD_CONTRAST
133 #define MIN_CONTRAST_SETTING 5
134 #define MAX_CONTRAST_SETTING 63