summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/sansaclipplus.h15
-rw-r--r--firmware/export/config/sansaclipv2.h14
-rw-r--r--firmware/export/config/sansafuzev2.h10
3 files changed, 13 insertions, 26 deletions
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h
index 310df3a115..462c0a76e8 100644
--- a/firmware/export/config/sansaclipplus.h
+++ b/firmware/export/config/sansaclipplus.h
@@ -16,19 +16,12 @@
#define HAVE_HOTSWAP
#endif
-
-#if 0 /* disabled since there is no driver (yet) */
-
-#define HW_SAMPR_CAPS (SAMPR_CAP_44)
+#define HW_SAMPR_CAPS SAMPR_CAP_ALL
/* define this if you have recording possibility */
#define HAVE_RECORDING
-#define REC_SAMPR_CAPS (SAMPR_CAP_22)
-#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
-#define REC_SAMPR_DEFAULT SAMPR_22
-
-#endif
+#define REC_SAMPR_CAPS SAMPR_CAP_ALL
/* Define bitmask of input sources - recordable bitmask can be defined
explicitly if different */
@@ -104,9 +97,9 @@
/* There is no hardware tone control */
#define HAVE_SW_TONE_CONTROLS
-/* We're working on the assumption that the AS3525 has something
- similar to the AS3514 for audio codec etc */
+/* AS3514 or newer */
#define HAVE_AS3514
+#define HAVE_AS3543
/* define this if you have a real-time clock */
#ifndef BOOTLOADER
diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h
index d9f3cf2142..20196dc72f 100644
--- a/firmware/export/config/sansaclipv2.h
+++ b/firmware/export/config/sansaclipv2.h
@@ -9,18 +9,12 @@
#define FIRMWARE_OFFSET_FILE_DATA 8
#define FIRMWARE_OFFSET_FILE_CRC 0
-#if 0 /* disabled since there is no driver (yet) */
-
-#define HW_SAMPR_CAPS (SAMPR_CAP_44)
+#define HW_SAMPR_CAPS SAMPR_CAP_ALL
/* define this if you have recording possibility */
#define HAVE_RECORDING
-#define REC_SAMPR_CAPS (SAMPR_CAP_22)
-#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
-#define REC_SAMPR_DEFAULT SAMPR_22
-
-#endif
+#define REC_SAMPR_CAPS SAMPR_CAP_ALL
/* Define bitmask of input sources - recordable bitmask can be defined
explicitly if different */
@@ -99,9 +93,9 @@
/* There is no hardware tone control */
#define HAVE_SW_TONE_CONTROLS
-/* We're working on the assumption that the AS3525 has something
- similar to the AS3514 for audio codec etc */
+/* AS3514 or newer */
#define HAVE_AS3514
+#define HAVE_AS3543
/* define this if you have a real-time clock */
#ifndef BOOTLOADER
diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h
index b42a0d1bb8..ddf42d9563 100644
--- a/firmware/export/config/sansafuzev2.h
+++ b/firmware/export/config/sansafuzev2.h
@@ -1,5 +1,5 @@
/*
- * This config file is for the Sandisk Sansa Fuze
+ * This config file is for the Sandisk Sansa Fuze v2
*/
#define TARGET_TREE /* this target is using the target tree system */
@@ -10,9 +10,9 @@
#define HW_SAMPR_CAPS SAMPR_CAP_ALL
/* define this if you have recording possibility */
-//#define HAVE_RECORDING
+#define HAVE_RECORDING
-//#define REC_SAMPR_CAPS SAMPR_CAP_ALL
+#define REC_SAMPR_CAPS SAMPR_CAP_ALL
/* Default recording levels */
#define DEFAULT_REC_MIC_GAIN 23
@@ -89,9 +89,9 @@
#define LCD_PIXELFORMAT RGB565 /* rgb565 */
-/* We're working on the assumption that the AS3525 has something
- similar to the AS3514 for audio codec etc */
+/* AS3514 or newer */
#define HAVE_AS3514
+#define HAVE_AS3543
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF