connect progress signal directly to the logger.
[Rockbox.git] / firmware / export / config-c100.h
blob91e21d0f3bbb2d415cffb41a7960c23be6ea5c8c
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 /* For Rolo and boot loader */
7 #define MODEL_NUMBER 30
9 /* define this if you have recording possibility */
10 //#define HAVE_RECORDING
12 /* Define bitmask of input sources - recordable bitmask can be defined
13 explicitly if different */
14 //#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN | SRC_CAP_SPDIF)
16 /* define this if you have a bitmap LCD display */
17 #define HAVE_LCD_BITMAP
19 /* define this if you have a colour LCD */
20 #define HAVE_LCD_COLOR
22 /* define this if you can flip your LCD */
23 #define HAVE_LCD_FLIP
25 /* define this if you can invert the colours on your LCD */
26 #define HAVE_LCD_INVERT
28 /* define this if you have access to the quickscreen */
29 #define HAVE_QUICKSCREEN
31 /* define this if you have access to the pitchscreen */
32 #define HAVE_PITCHSCREEN
34 /* define this if you would like tagcache to build on this target */
35 #define HAVE_TAGCACHE
37 /* define this if you have a flash memory storage */
38 #define HAVE_FLASH_STORAGE
40 /* LCD dimensions */
41 #define LCD_WIDTH 128
42 #define LCD_HEIGHT 64
43 #define LCD_DEPTH 16 /* 65536 colours */
44 #define LCD_PIXELFORMAT RGB565 /*rgb565*/
46 /*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
48 /* define this to indicate your device's keypad */
49 #define CONFIG_KEYPAD SANSA_C100_PAD
51 /* define this if you have a real-time clock */
52 #define CONFIG_RTC RTC_TCC77X
54 /* define this if you have RTC RAM available for settings */
55 //#define HAVE_RTC_RAM
57 /* Define this if you have a software controlled poweroff */
58 #define HAVE_SW_POWEROFF
60 /* The number of bytes reserved for loadable plugins */
61 #define PLUGIN_BUFFER_SIZE 0x8000
63 #define AB_REPEAT_ENABLE 1
65 /* Define this if you do software codec */
66 #define CONFIG_CODEC SWCODEC
68 /* Define this if you have the TLV320 audio codec */
69 #define HAVE_TLV320
71 /* TLV320 has no tone controls, so we use the software ones */
72 #define HAVE_SW_TONE_CONTROLS
74 /* Define this for LCD backlight available */
75 #define HAVE_BACKLIGHT
77 #define CONFIG_I2C I2C_TCC77X
79 #define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
80 #define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
81 #define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
82 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
83 #define BATTERY_TYPES_COUNT 1 /* only one type */
85 /* define this if the unit should not shut down on low battery. */
86 #define NO_LOW_BATTERY_SHUTDOWN
88 #ifndef SIMULATOR
90 /* Define this if you have a TCC770 */
91 #define CONFIG_CPU TCC770
93 /* Define this if you have ATA power-off control */
94 #define HAVE_ATA_POWER_OFF
96 /* Define this to the CPU frequency */
97 #define CPU_FREQ 120000000
99 /* Offset ( in the firmware file's header ) to the file length */
100 #define FIRMWARE_OFFSET_FILE_LENGTH 0
102 /* Offset ( in the firmware file's header ) to the file CRC */
103 #define FIRMWARE_OFFSET_FILE_CRC 4
105 /* Offset ( in the firmware file's header ) to the real data */
106 #define FIRMWARE_OFFSET_FILE_DATA 6
108 /* The start address index for ROM builds */
109 /* #define ROM_START 0x11010 for behind original Archos */
110 #define ROM_START 0x7010 /* for behind BootBox */
112 /* Software controlled LED */
113 #define CONFIG_LED LED_VIRTUAL
115 #define CONFIG_LCD LCD_S6B33B2 /* Not sure about this... same as C200? - MarcGuay */
117 #define BOOTFILE_EXT "c100"
118 #define BOOTFILE "rockbox." BOOTFILE_EXT
119 #define BOOTDIR "/"
121 #endif /* SIMULATOR */