summaryrefslogtreecommitdiff
path: root/firmware/export/config/sansac100.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config/sansac100.h')
-rw-r--r--firmware/export/config/sansac100.h130
1 files changed, 0 insertions, 130 deletions
diff --git a/firmware/export/config/sansac100.h b/firmware/export/config/sansac100.h
deleted file mode 100644
index c2956eed12..0000000000
--- a/firmware/export/config/sansac100.h
+++ /dev/null
@@ -1,130 +0,0 @@
1/*
2 * This config file is for the Sansa C100 series
3 */
4
5#define MODEL_NAME "Sandisk Sansa c100 series"
6
7/* For Rolo and bootloader */
8#define MODEL_NUMBER 30
9
10/* define hardware samples rate caps mask */
11#define HW_SAMPR_CAPS (/*SAMPR_CAP_88 | */SAMPR_CAP_44/* | SAMPR_CAP_22 | SAMPR_CAP_11*/)
12
13
14
15
16/* define this if you have a colour LCD */
17#define HAVE_LCD_COLOR
18
19/* define this if you can flip your LCD */
20/*#define HAVE_LCD_FLIP*/
21
22/* define this if you can invert the colours on your LCD */
23/*#define HAVE_LCD_INVERT*/
24
25/* define this if you have access to the quickscreen */
26#define HAVE_QUICKSCREEN
27
28/* define this if you would like tagcache to build on this target */
29#define HAVE_TAGCACHE
30
31/* define this if you have a flash memory storage */
32#define HAVE_FLASH_STORAGE
33
34/* Only v1 */
35#define CONFIG_STORAGE STORAGE_NAND
36#define CONFIG_NAND NAND_TCC
37
38/* c100's with direct-to-NAND access are FAT16 */
39#define HAVE_FAT16SUPPORT
40
41/* LCD dimensions */
42#define LCD_WIDTH 128
43#define LCD_HEIGHT 64
44/* sqrt(128^2 + 64^2) / 1.7 = 84.2 */
45#define LCD_DPI 84
46#define LCD_DEPTH 16 /* 65536 colours */
47#define LCD_PIXELFORMAT RGB565 /*rgb565*/
48
49/*#define LCD_PIXELFORMAT VERTICAL_PACKING*/
50
51/* define this to indicate your device's keypad */
52#define CONFIG_KEYPAD SANSA_C100_PAD
53
54/* define this if you have a real-time clock */
55#define CONFIG_RTC RTC_TCC77X
56
57/* define this if you have RTC RAM available for settings */
58//#define HAVE_RTC_RAM
59
60/* Define this if you have a software controlled poweroff */
61#define HAVE_SW_POWEROFF
62
63/* The number of bytes reserved for loadable codecs */
64#define CODEC_SIZE 0x50000
65
66/* The number of bytes reserved for loadable plugins */
67#define PLUGIN_BUFFER_SIZE 0x50000
68
69#define AB_REPEAT_ENABLE
70
71
72
73
74/* Define this if you have the TLV320 audio codec */
75#define HAVE_TLV320
76
77/*#define CONFIG_TUNER TEA5767*/
78
79/* TLV320 has no tone controls, so we use the software ones */
80#define HAVE_SW_TONE_CONTROLS
81
82/* Define this for LCD backlight available */
83#define HAVE_BACKLIGHT
84
85#define CONFIG_I2C I2C_TCC77X
86
87#define BATTERY_CAPACITY_DEFAULT 540 /* default battery capacity */
88#define BATTERY_CAPACITY_MIN 540 /* min. capacity selectable */
89#define BATTERY_CAPACITY_MAX 540 /* max. capacity selectable */
90#define BATTERY_CAPACITY_INC 50 /* capacity increment */
91#define BATTERY_TYPES_COUNT 1 /* only one type */
92
93#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
94
95/* define this if the unit should not shut down on low battery. */
96#define NO_LOW_BATTERY_SHUTDOWN
97
98/* Define this if you have a TCC770 */
99#define CONFIG_CPU TCC770
100
101/* Define this if you have ATA power-off control */
102#define HAVE_ATA_POWER_OFF
103
104/* Define this to the CPU frequency */
105#define CPU_FREQ 120000000
106
107/* Offset ( in the firmware file's header ) to the file CRC */
108#define FIRMWARE_OFFSET_FILE_CRC 0
109
110/* Offset ( in the firmware file's header ) to the real data */
111#define FIRMWARE_OFFSET_FILE_DATA 8
112
113/* The start address index for ROM builds */
114/* #define ROM_START 0x11010 for behind original Archos */
115#define ROM_START 0x7010 /* for behind BootBox */
116
117#define CONFIG_LCD LCD_S6B33B2
118
119#define BOOTFILE_EXT "c100"
120#define BOOTFILE "rockbox." BOOTFILE_EXT
121#define BOOTDIR "/.rockbox"
122
123#ifdef BOOTLOADER
124#define TCCBOOT
125#endif
126
127#define IRAM_LCDFRAMEBUFFER IBSS_ATTR /* put the lcd frame buffer in IRAM */
128
129/* Define this if a programmable hotkey is mapped */
130#define HAVE_HOTKEY