When setting a cache path also enable the cache implicitly.
[Rockbox.git] / firmware / export / config-ondiosp.h
blob41ee1e068e6c95d8b599217d9a968b145a714a4b
1 /* define this if you have a bitmap LCD display */
2 #define HAVE_LCD_BITMAP
4 /* define this if you can flip your LCD */
5 #define HAVE_LCD_FLIP
7 /* define this if you can invert the colours on your LCD */
8 #define HAVE_LCD_INVERT
10 /* define this if you would like tagcache to build on this target */
11 #define HAVE_TAGCACHE
13 /* LCD dimensions */
14 #define LCD_WIDTH 112
15 #define LCD_HEIGHT 64
16 #define LCD_DEPTH 1
18 #define LCD_PIXELFORMAT VERTICAL_PACKING
20 /* define this if you have an Ondio style 6-key keyboard */
21 #define CONFIG_KEYPAD ONDIO_PAD
23 /* define this if you have access to the pitchscreen */
24 #define HAVE_PITCHSCREEN
26 /* Define this if you have a software controlled poweroff */
27 #define HAVE_SW_POWEROFF
29 /* The number of bytes reserved for loadable plugins */
30 #define PLUGIN_BUFFER_SIZE 0x8000
32 /* Define this if you have a MAS3539F */
33 #define CONFIG_CODEC MAS3539F
35 /* Enable this if you have done the backlight mod */
36 //#define HAVE_BACKLIGHT
38 /* define this if you have a flash memory storage */
39 #define HAVE_FLASH_STORAGE
41 /* define this if more than one device/partition can be used */
42 #define HAVE_MULTIVOLUME
44 #define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
45 #define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
46 #define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
47 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
48 #define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
50 /* define this if the unit should not shut down on low battery. */
51 #define NO_LOW_BATTERY_SHUTDOWN
53 /* define this if the unit can be powered or charged via USB */
54 #define HAVE_USB_POWER
56 #ifndef SIMULATOR
58 /* Define this if you have a SH7034 */
59 #define CONFIG_CPU SH7034
61 /* Define this to the CPU frequency */
62 #define CPU_FREQ 12000000
64 /* Offset ( in the firmware file's header ) to the file length */
65 #define FIRMWARE_OFFSET_FILE_LENGTH 20
67 /* Offset ( in the firmware file's header ) to the file CRC */
68 #define FIRMWARE_OFFSET_FILE_CRC 6
70 /* Offset ( in the firmware file's header ) to the real data */
71 #define FIRMWARE_OFFSET_FILE_DATA 24
73 /* The start address index for ROM builds */
74 /* #define ROM_START 0x12010 for behind original Archos */
75 #define ROM_START 0x7010 /* for behind BootBox */
77 /* Define this if the display is mounted upside down */
78 #define HAVE_DISPLAY_FLIPPED
80 /* Define this for different I2C pinout */
81 #define CONFIG_I2C I2C_ONDIO
83 /* Define this for different ADC channel assignment */
84 #define HAVE_ONDIO_ADC
86 /* Define this for MMC support instead of ATA harddisk */
87 #define HAVE_MMC
89 /* Define this to support mounting FAT16 partitions */
90 #define HAVE_FAT16SUPPORT
92 /* Define this if the MAS SIBI line can be controlled via PB8 */
93 #define HAVE_MAS_SIBI_CONTROL
95 /* define this if media can be exchanged on the fly */
96 #define HAVE_HOTSWAP
98 /* Virtual LED (icon) */
99 #define CONFIG_LED LED_VIRTUAL
101 #define CONFIG_LCD LCD_SSD1815
103 #define BOOTFILE_EXT "ajz"
104 #define BOOTFILE "ajbrec." BOOTFILE_EXT
105 #define BOOTDIR "/"
107 #endif /* SIMULATOR */
109 #define HAVE_LCD_CONTRAST
111 #define MIN_CONTRAST_SETTING 5
112 #define MAX_CONTRAST_SETTING 63