Minor quickscreen and pitchscreen fixes
[kugel-rb.git] / firmware / export / config-fmrecorder.h
blobda281bd033b0dbb55691ea24195bfcf538fb15cf
1 /* define this if you use an ATA controller */
2 #define CONFIG_STORAGE STORAGE_ATA
4 #define MODEL_NAME "Archos FM Recorder"
6 /* define this if you have recording possibility */
7 #define HAVE_RECORDING
9 /* Define bitmask of input sources - recordable bitmask can be defined
10 explicitly if different */
11 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
13 /* define this if you have a bitmap LCD display */
14 #define HAVE_LCD_BITMAP
16 /* define this if you can flip your LCD */
17 #define HAVE_LCD_FLIP
19 /* define this if you can invert the colours on your LCD */
20 #define HAVE_LCD_INVERT
22 /* define this if you have access to the quickscreen */
23 #define HAVE_QUICKSCREEN
24 /* define this if you have access to the pitchscreen */
25 #define HAVE_PITCHSCREEN
26 /* define this if you have the button bar */
27 #define HAVE_BUTTONBAR
29 /* define this if you would like tagcache to build on this target */
30 #define HAVE_TAGCACHE
32 /* LCD dimensions */
33 #define LCD_WIDTH 112
34 #define LCD_HEIGHT 64
35 #define LCD_DEPTH 1
37 #define LCD_PIXEL_ASPECT_WIDTH 4
38 #define LCD_PIXEL_ASPECT_HEIGHT 5
40 #define LCD_PIXELFORMAT VERTICAL_PACKING
42 /* define this if you have a Recorder style 10-key keyboard */
43 #define CONFIG_KEYPAD RECORDER_PAD
45 /* define this if you have a real-time clock */
46 #define CONFIG_RTC RTC_M41ST84W
48 /* FM recorders can wake up from RTC alarm */
49 #define HAVE_RTC_ALARM
51 /* define this if you have RTC RAM available for settings */
52 #define HAVE_RTC_RAM
54 /* Define this if you have a software controlled poweroff */
55 #define HAVE_SW_POWEROFF
57 /* The number of bytes reserved for loadable plugins */
58 #define PLUGIN_BUFFER_SIZE 0x8000
60 #ifndef BOOTLOADER
61 /* Define this if you have an FM Radio */
62 #define CONFIG_TUNER S1A0903X01
63 #endif
65 #define AB_REPEAT_ENABLE 1
67 /* Define this if you have a MAS3587F */
68 #define CONFIG_CODEC MAS3587F
70 /* Define this for LCD backlight available */
71 #define HAVE_BACKLIGHT
73 /* define this if you have a disk storage, i.e. something
74 that needs spinups and can cause skips when shaked */
75 #define HAVE_DISK_STORAGE
77 #define CONFIG_I2C I2C_PLAYREC
79 #define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */
80 #define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */
81 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
82 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
83 #define BATTERY_TYPES_COUNT 1 /* only one type */
85 /* Hardware controlled charging with monitoring */
86 #define CONFIG_CHARGING CHARGING_MONITOR
88 /* define this if the unit can be powered or charged via USB */
89 #define HAVE_USB_POWER
91 #ifndef SIMULATOR
93 /* Define this if you have a SH7034 */
94 #define CONFIG_CPU SH7034
96 /* Define this if you have a FM Recorder key system */
97 #define HAVE_FMADC
99 /* Define this if battery voltage can only be measured with ATA powered */
100 #define NEED_ATA_POWER_BATT_MEASURE
102 /* Define this to the CPU frequency */
103 #define CPU_FREQ 11059200
105 /* Offset ( in the firmware file's header ) to the file length */
106 #define FIRMWARE_OFFSET_FILE_LENGTH 20
108 /* Offset ( in the firmware file's header ) to the file CRC */
109 #define FIRMWARE_OFFSET_FILE_CRC 6
111 /* Offset ( in the firmware file's header ) to the real data */
112 #define FIRMWARE_OFFSET_FILE_DATA 24
114 /* The start address index for ROM builds */
115 /* #define ROM_START 0x14010 for behind original Archos */
116 #define ROM_START 0x7010 /* for behind BootBox */
118 /* Software controlled LED */
119 #define CONFIG_LED LED_REAL
121 #define CONFIG_LCD LCD_SSD1815
123 #define BOOTFILE_EXT "ajz"
124 #define BOOTFILE "ajbrec." BOOTFILE_EXT
125 #define BOOTDIR "/"
127 #endif /* SIMULATOR */
129 #define HAVE_LCD_CONTRAST
131 #define MIN_CONTRAST_SETTING 5
132 #define MAX_CONTRAST_SETTING 63