summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-clip.h12
-rw-r--r--firmware/export/usb.h1
2 files changed, 10 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
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index 08ae27999a..4275fa9c6a 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -63,6 +63,7 @@ enum {
#define USBPOWER_BTN_IGNORE BUTTON_POWER
#elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \
(CONFIG_KEYPAD == SANSA_C200_PAD) || \
+ (CONFIG_KEYPAD == SANSA_CLIP_PAD) || \
(CONFIG_KEYPAD == PHILIPS_SA9200_PAD)
#define USBPOWER_BUTTON BUTTON_SELECT
#define USBPOWER_BTN_IGNORE BUTTON_POWER