Add a note about Rockbox not running on Sansas v2 (FS#8477 by Marc Guay).
[Rockbox.git] / firmware / export / config-fmrecorder.h
blob170bd2704141676a4d452b5b2f38651dcfc1e9df
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 | SRC_CAP_SPDIF)
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 have access to the quickscreen */
18 #define HAVE_QUICKSCREEN
19 /* define this if you have access to the pitchscreen */
20 #define HAVE_PITCHSCREEN
22 /* define this if you would like tagcache to build on this target */
23 #define HAVE_TAGCACHE
25 /* LCD dimensions */
26 #define LCD_WIDTH 112
27 #define LCD_HEIGHT 64
28 #define LCD_DEPTH 1
30 #define LCD_PIXELFORMAT VERTICAL_PACKING
32 /* define this if you have a Recorder style 10-key keyboard */
33 #define CONFIG_KEYPAD RECORDER_PAD
35 /* define this if you have a real-time clock */
36 #define CONFIG_RTC RTC_M41ST84W
38 /* FM recorders can wake up from RTC alarm */
39 #define HAVE_RTC_ALARM
41 /* define this if you have RTC RAM available for settings */
42 #define HAVE_RTC_RAM
44 /* Define this if you have a software controlled poweroff */
45 #define HAVE_SW_POWEROFF
47 /* The number of bytes reserved for loadable plugins */
48 #define PLUGIN_BUFFER_SIZE 0x8000
50 /* Define this if you have an FM Radio */
51 #define CONFIG_TUNER S1A0903X01
53 #define AB_REPEAT_ENABLE 1
55 /* Define this if you have a MAS3587F */
56 #define CONFIG_CODEC MAS3587F
58 /* Define this for LCD backlight available */
59 #define HAVE_BACKLIGHT
61 #define CONFIG_I2C I2C_PLAYREC
63 #define BATTERY_CAPACITY_DEFAULT 2200 /* default battery capacity */
64 #define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */
65 #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
66 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
67 #define BATTERY_TYPES_COUNT 1 /* only one type */
69 /* Hardware controlled charging with monitoring */
70 #define CONFIG_CHARGING CHARGING_MONITOR
72 /* define this if the unit can be powered or charged via USB */
73 #define HAVE_USB_POWER
75 #ifndef SIMULATOR
77 /* Define this if you have a SH7034 */
78 #define CONFIG_CPU SH7034
80 /* Define this if you have a FM Recorder key system */
81 #define HAVE_FMADC
83 /* Define this if battery voltage can only be measured with ATA powered */
84 #define NEED_ATA_POWER_BATT_MEASURE
86 /* Define this to the CPU frequency */
87 #define CPU_FREQ 11059200
89 /* Offset ( in the firmware file's header ) to the file length */
90 #define FIRMWARE_OFFSET_FILE_LENGTH 20
92 /* Offset ( in the firmware file's header ) to the file CRC */
93 #define FIRMWARE_OFFSET_FILE_CRC 6
95 /* Offset ( in the firmware file's header ) to the real data */
96 #define FIRMWARE_OFFSET_FILE_DATA 24
98 /* The start address index for ROM builds */
99 /* #define ROM_START 0x14010 for behind original Archos */
100 #define ROM_START 0x7010 /* for behind BootBox */
102 /* Software controlled LED */
103 #define CONFIG_LED LED_REAL
105 #define CONFIG_LCD LCD_SSD1815
107 #define BOOTFILE_EXT "ajz"
108 #define BOOTFILE "ajbrec." BOOTFILE_EXT
109 #define BOOTDIR "/"
111 #endif /* SIMULATOR */
113 #define HAVE_LCD_CONTRAST
115 #define MIN_CONTRAST_SETTING 5
116 #define MAX_CONTRAST_SETTING 63