Alternate fix for the bug fixed by FS#9163, the selection in the playlist viewer...
[kugel-rb.git] / firmware / export / config-c100.h
blob5bf0fc83a6c1f67ccb470bb8654f9bcec262f2d8
1 /*
2 * This config file is for the Sansa C100 series
3 */
4 #define TARGET_TREE /* this target is using the target tree system */
6 #define MODEL_NAME "Sandisk Sansa c100 series"
8 /* For Rolo and boot loader */
9 #define MODEL_NUMBER 30
11 /* define this if you have recording possibility */
12 //#define HAVE_RECORDING
14 /* Define bitmask of input sources - recordable bitmask can be defined
15 explicitly if different */
16 //#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
18 /* define this if you have a bitmap LCD display */
19 #define HAVE_LCD_BITMAP
21 /* define this if you have a colour LCD */
22 #define HAVE_LCD_COLOR
24 /* define this if you can flip your LCD */
25 #define HAVE_LCD_FLIP
27 /* define this if you can invert the colours on your LCD */
28 #define HAVE_LCD_INVERT
30 /* define this if you have access to the quickscreen */
31 #define HAVE_QUICKSCREEN
33 /* define this if you have access to the pitchscreen */
34 #define HAVE_PITCHSCREEN
36 /* define this if you would like tagcache to build on this target */
37 #define HAVE_TAGCACHE
39 /* define this if you have a flash memory storage */
40 #define HAVE_FLASH_STORAGE
42 /* LCD dimensions */
43 #define LCD_WIDTH 128
44 #define LCD_HEIGHT 64
45 #define LCD_DEPTH 16 /* 65536 colours */
46 #define LCD_PIXELFORMAT RGB565 /*rgb565*/
48 /*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
50 /* define this to indicate your device's keypad */
51 #define CONFIG_KEYPAD SANSA_C100_PAD
53 /* define this if you have a real-time clock */
54 #define CONFIG_RTC RTC_TCC77X
56 /* define this if you have RTC RAM available for settings */
57 //#define HAVE_RTC_RAM
59 /* Define this if you have a software controlled poweroff */
60 #define HAVE_SW_POWEROFF
62 /* The number of bytes reserved for loadable plugins */
63 #define PLUGIN_BUFFER_SIZE 0x8000
65 #define AB_REPEAT_ENABLE 1
67 /* Define this if you do software codec */
68 #define CONFIG_CODEC SWCODEC
70 /* Define this if you have the TLV320 audio codec */
71 #define HAVE_TLV320
73 /* TLV320 has no tone controls, so we use the software ones */
74 #define HAVE_SW_TONE_CONTROLS
76 /* Define this for LCD backlight available */
77 #define HAVE_BACKLIGHT
79 #define CONFIG_I2C I2C_TCC77X
81 #define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
82 #define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
83 #define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
84 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
85 #define BATTERY_TYPES_COUNT 1 /* only one type */
87 /* define this if the unit should not shut down on low battery. */
88 #define NO_LOW_BATTERY_SHUTDOWN
90 #ifndef SIMULATOR
92 /* Define this if you have a TCC770 */
93 #define CONFIG_CPU TCC770
95 /* Define this if you have ATA power-off control */
96 #define HAVE_ATA_POWER_OFF
98 /* Define this to the CPU frequency */
99 #define CPU_FREQ 120000000
101 /* Offset ( in the firmware file's header ) to the file length */
102 #define FIRMWARE_OFFSET_FILE_LENGTH 0
104 /* Offset ( in the firmware file's header ) to the file CRC */
105 #define FIRMWARE_OFFSET_FILE_CRC 4
107 /* Offset ( in the firmware file's header ) to the real data */
108 #define FIRMWARE_OFFSET_FILE_DATA 6
110 /* The start address index for ROM builds */
111 /* #define ROM_START 0x11010 for behind original Archos */
112 #define ROM_START 0x7010 /* for behind BootBox */
114 /* Software controlled LED */
115 #define CONFIG_LED LED_VIRTUAL
117 #define CONFIG_LCD LCD_S6B33B2 /* Not sure about this... same as C200? - MarcGuay */
119 #define BOOTFILE_EXT "c100"
120 #define BOOTFILE "rockbox." BOOTFILE_EXT
121 #define BOOTDIR "/"
123 #endif /* SIMULATOR */