2 * This config file is for the Sansa C100 series
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 */
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 */
39 /* define this if you have a flash memory storage */
40 #define HAVE_FLASH_STORAGE
42 #define CONFIG_STORAGE STORAGE_NAND
44 #define CONFIG_NAND NAND_TCC
49 #define LCD_DEPTH 16 /* 65536 colours */
50 #define LCD_PIXELFORMAT RGB565 /*rgb565*/
52 /*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
54 /* define this to indicate your device's keypad */
55 #define CONFIG_KEYPAD SANSA_C100_PAD
57 /* define this if you have a real-time clock */
58 #define CONFIG_RTC RTC_TCC77X
60 /* define this if you have RTC RAM available for settings */
61 //#define HAVE_RTC_RAM
63 /* Define this if you have a software controlled poweroff */
64 #define HAVE_SW_POWEROFF
66 /* The number of bytes reserved for loadable plugins */
67 #define PLUGIN_BUFFER_SIZE 0x8000
69 #define AB_REPEAT_ENABLE 1
71 /* Define this if you do software codec */
72 #define CONFIG_CODEC SWCODEC
74 /* Define this if you have the TLV320 audio codec */
77 /* TLV320 has no tone controls, so we use the software ones */
78 #define HAVE_SW_TONE_CONTROLS
80 /* Define this for LCD backlight available */
81 #define HAVE_BACKLIGHT
83 #define CONFIG_I2C I2C_TCC77X
85 #define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
86 #define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
87 #define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
88 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
89 #define BATTERY_TYPES_COUNT 1 /* only one type */
91 /* define this if the unit should not shut down on low battery. */
92 #define NO_LOW_BATTERY_SHUTDOWN
96 /* Define this if you have a TCC770 */
97 #define CONFIG_CPU TCC770
99 /* Define this if you have ATA power-off control */
100 #define HAVE_ATA_POWER_OFF
102 /* Define this to the CPU frequency */
103 #define CPU_FREQ 120000000
105 /* Offset ( in the firmware file's header ) to the file length */
106 #define FIRMWARE_OFFSET_FILE_LENGTH 0
108 /* Offset ( in the firmware file's header ) to the file CRC */
109 #define FIRMWARE_OFFSET_FILE_CRC 4
111 /* Offset ( in the firmware file's header ) to the real data */
112 #define FIRMWARE_OFFSET_FILE_DATA 6
114 /* The start address index for ROM builds */
115 /* #define ROM_START 0x11010 for behind original Archos */
116 #define ROM_START 0x7010 /* for behind BootBox */
118 /* Software controlled LED */
119 #define CONFIG_LED LED_VIRTUAL
121 #define CONFIG_LCD LCD_S6B33B2 /* Not sure about this... same as C200? - MarcGuay */
123 #define BOOTFILE_EXT "c100"
124 #define BOOTFILE "rockbox." BOOTFILE_EXT
127 #endif /* SIMULATOR */