Add DM320 I²C driver, although not (yet) enabled in the sources.
[Rockbox.git] / firmware / export / config-fmrecorder.h
blobfd5b0e16bdb3d744eb8f8d3860f71774ece078a5
1 /* define this if you use an ATA controller */
2 #define HAVE_ATA
4 /* define this if you have recording possibility */
5 #define HAVE_RECORDING
7 /* Define bitmask of input sources - recordable bitmask can be defined
8 explicitly if different */
9 #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
11 /* define this if you have a bitmap LCD display */
12 #define HAVE_LCD_BITMAP
14 /* define this if you can flip your LCD */
15 #define HAVE_LCD_FLIP
17 /* define this if you can invert the colours on your LCD */
18 #define HAVE_LCD_INVERT
20 /* define this if you have access to the quickscreen */
21 #define HAVE_QUICKSCREEN
22 /* define this if you have access to the pitchscreen */
23 #define HAVE_PITCHSCREEN
25 /* define this if you would like tagcache to build on this target */
26 #define HAVE_TAGCACHE
28 /* LCD dimensions */
29 #define LCD_WIDTH 112
30 #define LCD_HEIGHT 64
31 #define LCD_DEPTH 1
33 #define LCD_PIXELFORMAT VERTICAL_PACKING
35 /* define this if you have a Recorder style 10-key keyboard */
36 #define CONFIG_KEYPAD RECORDER_PAD
38 /* define this if you have a real-time clock */
39 #define CONFIG_RTC RTC_M41ST84W
41 /* FM recorders can wake up from RTC alarm */
42 #define HAVE_RTC_ALARM
44 /* define this if you have RTC RAM available for settings */
45 #define HAVE_RTC_RAM
47 /* Define this if you have a software controlled poweroff */
48 #define HAVE_SW_POWEROFF
50 /* The number of bytes reserved for loadable plugins */
51 #define PLUGIN_BUFFER_SIZE 0x8000
53 /* Define this if you have an FM Radio */
54 #define CONFIG_TUNER S1A0903X01
56 #define AB_REPEAT_ENABLE 1
58 /* Define this if you have a MAS3587F */
59 #define CONFIG_CODEC MAS3587F
61 /* Define this for LCD backlight available */
62 #define HAVE_BACKLIGHT
64 #define CONFIG_I2C I2C_PLAYREC
66 #define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */
67 #define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */
68 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
69 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
70 #define BATTERY_TYPES_COUNT 1 /* only one type */
72 /* Hardware controlled charging with monitoring */
73 #define CONFIG_CHARGING CHARGING_MONITOR
75 /* define this if the unit can be powered or charged via USB */
76 #define HAVE_USB_POWER
78 #ifndef SIMULATOR
80 /* Define this if you have a SH7034 */
81 #define CONFIG_CPU SH7034
83 /* Define this if you have a FM Recorder key system */
84 #define HAVE_FMADC
86 /* Define this if battery voltage can only be measured with ATA powered */
87 #define NEED_ATA_POWER_BATT_MEASURE
89 /* Define this to the CPU frequency */
90 #define CPU_FREQ 11059200
92 /* Offset ( in the firmware file's header ) to the file length */
93 #define FIRMWARE_OFFSET_FILE_LENGTH 20
95 /* Offset ( in the firmware file's header ) to the file CRC */
96 #define FIRMWARE_OFFSET_FILE_CRC 6
98 /* Offset ( in the firmware file's header ) to the real data */
99 #define FIRMWARE_OFFSET_FILE_DATA 24
101 /* The start address index for ROM builds */
102 /* #define ROM_START 0x14010 for behind original Archos */
103 #define ROM_START 0x7010 /* for behind BootBox */
105 /* Software controlled LED */
106 #define CONFIG_LED LED_REAL
108 #define CONFIG_LCD LCD_SSD1815
110 #define BOOTFILE_EXT "ajz"
111 #define BOOTFILE "ajbrec." BOOTFILE_EXT
112 #define BOOTDIR "/"
114 #endif /* SIMULATOR */
116 #define HAVE_LCD_CONTRAST
118 #define MIN_CONTRAST_SETTING 5
119 #define MAX_CONTRAST_SETTING 63