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 bootloader */
9 #define MODEL_NUMBER 30
11 /* define hardware samples rate caps mask */
12 #define HW_SAMPR_CAPS (/*SAMPR_CAP_88 | */SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
14 /* define this if you have a bitmap LCD display */
15 #define HAVE_LCD_BITMAP
17 /* define this if you have a colour LCD */
18 #define HAVE_LCD_COLOR
20 /* define this if you can flip your LCD */
21 /*#define HAVE_LCD_FLIP*/
23 /* define this if you can invert the colours on your LCD */
24 /*#define HAVE_LCD_INVERT*/
26 /* define this if you have access to the quickscreen */
27 #define HAVE_QUICKSCREEN
29 /* define this if you have access to the pitchscreen */
30 #define HAVE_PITCHSCREEN
32 /* define this if you would like tagcache to build on this target */
35 /* define this if you have a flash memory storage */
36 #define HAVE_FLASH_STORAGE
39 #define CONFIG_STORAGE STORAGE_NAND
40 #define CONFIG_NAND NAND_TCC
42 /* c100's with direct-to-NAND access are FAT16 */
43 #define HAVE_FAT16SUPPORT
48 #define LCD_DEPTH 16 /* 65536 colours */
49 #define LCD_PIXELFORMAT RGB565 /*rgb565*/
51 /*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
53 /* define this to indicate your device's keypad */
54 #define CONFIG_KEYPAD SANSA_C100_PAD
56 /* define this if you have a real-time clock */
57 #define CONFIG_RTC RTC_TCC77X
59 /* define this if you have RTC RAM available for settings */
60 //#define HAVE_RTC_RAM
62 /* Define this if you have a software controlled poweroff */
63 #define HAVE_SW_POWEROFF
65 /* The number of bytes reserved for loadable codecs */
66 #define CODEC_SIZE 0x50000
68 /* The number of bytes reserved for loadable plugins */
69 #define PLUGIN_BUFFER_SIZE 0x50000
71 #define AB_REPEAT_ENABLE 1
73 /* Define this if you do software codec */
74 #define CONFIG_CODEC SWCODEC
76 /* Define this if you have the TLV320 audio codec */
79 /*#define CONFIG_TUNER TEA5767*/
81 /* TLV320 has no tone controls, so we use the software ones */
82 #define HAVE_SW_TONE_CONTROLS
84 /* Define this for LCD backlight available */
85 #define HAVE_BACKLIGHT
87 #define CONFIG_I2C I2C_TCC77X
89 #define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
90 #define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
91 #define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
92 #define BATTERY_CAPACITY_INC 50 /* capacity increment */
93 #define BATTERY_TYPES_COUNT 1 /* only one type */
95 /* define this if the unit should not shut down on low battery. */
96 #define NO_LOW_BATTERY_SHUTDOWN
100 /* Define this if you have a TCC770 */
101 #define CONFIG_CPU TCC770
103 /* Define this if you have ATA power-off control */
104 #define HAVE_ATA_POWER_OFF
106 /* Define this to the CPU frequency */
107 #define CPU_FREQ 120000000
109 /* Offset ( in the firmware file's header ) to the file CRC */
110 #define FIRMWARE_OFFSET_FILE_CRC 0
112 /* Offset ( in the firmware file's header ) to the real data */
113 #define FIRMWARE_OFFSET_FILE_DATA 8
115 /* The start address index for ROM builds */
116 /* #define ROM_START 0x11010 for behind original Archos */
117 #define ROM_START 0x7010 /* for behind BootBox */
119 /* Software controlled LED */
120 #define CONFIG_LED LED_VIRTUAL
122 #define CONFIG_LCD LCD_S6B33B2
124 #define BOOTFILE_EXT "c100"
125 #define BOOTFILE "rockbox." BOOTFILE_EXT
126 #define BOOTDIR "/.rockbox"
132 #define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
134 #endif /* SIMULATOR */