summaryrefslogtreecommitdiffstats
path: root/firmware/export/config-clip.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-clip.h')
-rw-r--r--firmware/export/config-clip.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/firmware/export/config-clip.h b/firmware/export/config-clip.h
index cfeaea770c..9bc4a14bf5 100644
--- a/firmware/export/config-clip.h
+++ b/firmware/export/config-clip.h
@@ -6,7 +6,7 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 40
#define MODEL_NAME "Sandisk Sansa Clip"
-#define FIRMWARE_OFFSET_FILE_DATA 0
+#define FIRMWARE_OFFSET_FILE_DATA 8
#define FIRMWARE_OFFSET_FILE_CRC 0
#define HW_SAMPR_CAPS (SAMPR_CAP_44)
@@ -84,7 +84,11 @@
#define CODEC_SIZE 0x100000
/* The number of bytes reserved for loadable plugins */
+#if 0 /* The plugin buffer doesn't fit in the 2MB memory */
#define PLUGIN_BUFFER_SIZE 0x80000
+#else
+#define PLUGIN_BUFFER_SIZE 0
+#endif
#define AB_REPEAT_ENABLE 1
@@ -137,8 +141,8 @@
#define CONFIG_LCD LCD_SSD1303
#ifndef BOOTLOADER
-#define HAVE_MULTIVOLUME
-#define HAVE_HOTSWAP
+
+#if 0 /* disabled since there is no USB driver */
/* USB On-the-go */
#define CONFIG_USBOTG USBOTG_ARC
@@ -149,6 +153,8 @@
#define USB_PRODUCT_ID 0x7433
#endif /* BOOTLOADER */
+#endif
+
/* Virtual LED (icon) */
#define CONFIG_LED LED_VIRTUAL