Don't set CONFIG_CPU for __PCTOOL__, to avoid wrong asm
[maemo-rb.git] / firmware / export / config / archosondiofm.h
blob1a1115f3187b9a0d36756de519c717ddab06a723
1 /* define this if you have recording possibility */
2 #define HAVE_RECORDING
4 #define MODEL_NAME "Ondio FM"
6 #define ONDIO_SERIES
8 /* Define bitmask of input sources - recordable bitmask can be defined
9 explicitly if different */
10 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
12 /* define this if you have a bitmap LCD display */
13 #define HAVE_LCD_BITMAP
15 /* define this if you can flip your LCD */
16 #define HAVE_LCD_FLIP
18 /* define this if you can invert the colours on your LCD */
19 #define HAVE_LCD_INVERT
21 /* define this if you would like tagcache to build on this target */
22 #define HAVE_TAGCACHE
24 /* LCD dimensions */
25 #define LCD_WIDTH 112
26 #define LCD_HEIGHT 64
27 #define LCD_DEPTH 1
29 #define LCD_PIXEL_ASPECT_WIDTH 4
30 #define LCD_PIXEL_ASPECT_HEIGHT 5
32 #define LCD_PIXELFORMAT VERTICAL_PACKING
34 /* Display colours, for screenshots and sim (0xRRGGBB) */
35 #define LCD_DARKCOLOR 0x000000
36 #define LCD_BRIGHTCOLOR 0x5a915a
37 #define LCD_BL_DARKCOLOR 0x000000
38 #define LCD_BL_BRIGHTCOLOR 0x82b4fa
40 /* define this if you have an Ondio style 6-key keyboard */
41 #define CONFIG_KEYPAD ONDIO_PAD
43 /* Define this to enable morse code input */
44 #define HAVE_MORSE_INPUT
46 #define AB_REPEAT_ENABLE
47 #define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE
49 /* define this if you have access to the pitchscreen */
50 #define HAVE_PITCHSCREEN
52 /* Define this if you have a software controlled poweroff */
53 #define HAVE_SW_POWEROFF
55 /* The number of bytes reserved for loadable plugins */
56 #define PLUGIN_BUFFER_SIZE 0x8000
58 #ifndef BOOTLOADER
59 /* Define this if you have an FM Radio */
60 #define CONFIG_TUNER (S1A0903X01 | TEA5767) /* to be decided at runtime */
61 #define CONFIG_TUNER_XTAL 13000000
62 #endif
64 /* Define this if you have a MAS3587F */
65 #define CONFIG_CODEC MAS3587F
67 /* define this if you have a flash memory storage */
68 #define HAVE_FLASH_STORAGE
70 #define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
71 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
72 #define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
73 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
74 #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
76 #define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
78 /* define this if the unit should not shut down on low battery. */
79 #define NO_LOW_BATTERY_SHUTDOWN
81 /* define this if the unit can be powered or charged via USB */
82 #define HAVE_USB_POWER
84 /* define current usage levels */
85 #define CURRENT_NORMAL 95 /* average, nearly proportional to 1/U */
86 #define CURRENT_USB 1 /* host powered in USB mode; avoid zero-div */
87 #define CURRENT_BACKLIGHT 0 /* no backlight */
89 /* Define this if you have a SH7034 */
90 #define CONFIG_CPU SH7034
92 /* Define this to the CPU frequency */
93 #define CPU_FREQ 12000000
95 /* Define this for different I2C pinout */
96 #define CONFIG_I2C I2C_ONDIO
98 /* Offset ( in the firmware file's header ) to the file length */
99 #define FIRMWARE_OFFSET_FILE_LENGTH 20
101 /* Offset ( in the firmware file's header ) to the file CRC */
102 #define FIRMWARE_OFFSET_FILE_CRC 6
104 /* Offset ( in the firmware file's header ) to the real data */
105 #define FIRMWARE_OFFSET_FILE_DATA 24
107 /* Define this if the tuner is switched on by software */
108 #define HAVE_TUNER_PWR_CTRL
110 /* The start address index for ROM builds */
111 /* #define ROM_START 0x16010 for behind original Archos */
112 #define ROM_START 0x7010 /* for behind BootBox */
114 /* Define this if the display is mounted upside down */
115 #define HAVE_DISPLAY_FLIPPED
117 /* Define this for different ADC channel assignment */
118 #define HAVE_ONDIO_ADC
120 /* Define this for MMC support instead of ATA harddisk */
121 #define CONFIG_STORAGE STORAGE_MMC
123 /* Define this to support mounting FAT16 partitions */
124 #define HAVE_FAT16SUPPORT
126 /* Define this if the MAS SIBI line can be controlled via PB8 */
127 #define HAVE_MAS_SIBI_CONTROL
129 /* define this if more than one device/partition can be used */
130 #define HAVE_MULTIDRIVE
131 #define NUM_DRIVES 2
133 /* define this if media can be exchanged on the fly */
134 #define HAVE_HOTSWAP
136 #define CONFIG_LCD LCD_SSD1815
138 #define BOOTFILE_EXT "ajz"
139 #define BOOTFILE "ajbrec." BOOTFILE_EXT
140 #define BOOTDIR "/"
142 #define HAVE_LCD_CONTRAST
144 #define MIN_CONTRAST_SETTING 5
145 #define MAX_CONTRAST_SETTING 63
147 /* Define this if a programmable hotkey is mapped */
148 //#define HAVE_HOTKEY