diff options
Diffstat (limited to 'firmware/export/config')
-rw-r--r-- | firmware/export/config/sansaclipplus.h | 15 | ||||
-rw-r--r-- | firmware/export/config/sansaclipv2.h | 14 | ||||
-rw-r--r-- | firmware/export/config/sansafuzev2.h | 10 |
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 @@ | |||
16 | #define HAVE_HOTSWAP | 16 | #define HAVE_HOTSWAP |
17 | #endif | 17 | #endif |
18 | 18 | ||
19 | 19 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | |
20 | #if 0 /* disabled since there is no driver (yet) */ | ||
21 | |||
22 | #define HW_SAMPR_CAPS (SAMPR_CAP_44) | ||
23 | 20 | ||
24 | /* define this if you have recording possibility */ | 21 | /* define this if you have recording possibility */ |
25 | #define HAVE_RECORDING | 22 | #define HAVE_RECORDING |
26 | 23 | ||
27 | #define REC_SAMPR_CAPS (SAMPR_CAP_22) | 24 | #define REC_SAMPR_CAPS SAMPR_CAP_ALL |
28 | #define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */ | ||
29 | #define REC_SAMPR_DEFAULT SAMPR_22 | ||
30 | |||
31 | #endif | ||
32 | 25 | ||
33 | /* Define bitmask of input sources - recordable bitmask can be defined | 26 | /* Define bitmask of input sources - recordable bitmask can be defined |
34 | explicitly if different */ | 27 | explicitly if different */ |
@@ -104,9 +97,9 @@ | |||
104 | /* There is no hardware tone control */ | 97 | /* There is no hardware tone control */ |
105 | #define HAVE_SW_TONE_CONTROLS | 98 | #define HAVE_SW_TONE_CONTROLS |
106 | 99 | ||
107 | /* We're working on the assumption that the AS3525 has something | 100 | /* AS3514 or newer */ |
108 | similar to the AS3514 for audio codec etc */ | ||
109 | #define HAVE_AS3514 | 101 | #define HAVE_AS3514 |
102 | #define HAVE_AS3543 | ||
110 | 103 | ||
111 | /* define this if you have a real-time clock */ | 104 | /* define this if you have a real-time clock */ |
112 | #ifndef BOOTLOADER | 105 | #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 @@ | |||
9 | #define FIRMWARE_OFFSET_FILE_DATA 8 | 9 | #define FIRMWARE_OFFSET_FILE_DATA 8 |
10 | #define FIRMWARE_OFFSET_FILE_CRC 0 | 10 | #define FIRMWARE_OFFSET_FILE_CRC 0 |
11 | 11 | ||
12 | #if 0 /* disabled since there is no driver (yet) */ | 12 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL |
13 | |||
14 | #define HW_SAMPR_CAPS (SAMPR_CAP_44) | ||
15 | 13 | ||
16 | /* define this if you have recording possibility */ | 14 | /* define this if you have recording possibility */ |
17 | #define HAVE_RECORDING | 15 | #define HAVE_RECORDING |
18 | 16 | ||
19 | #define REC_SAMPR_CAPS (SAMPR_CAP_22) | 17 | #define REC_SAMPR_CAPS SAMPR_CAP_ALL |
20 | #define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */ | ||
21 | #define REC_SAMPR_DEFAULT SAMPR_22 | ||
22 | |||
23 | #endif | ||
24 | 18 | ||
25 | /* Define bitmask of input sources - recordable bitmask can be defined | 19 | /* Define bitmask of input sources - recordable bitmask can be defined |
26 | explicitly if different */ | 20 | explicitly if different */ |
@@ -99,9 +93,9 @@ | |||
99 | /* There is no hardware tone control */ | 93 | /* There is no hardware tone control */ |
100 | #define HAVE_SW_TONE_CONTROLS | 94 | #define HAVE_SW_TONE_CONTROLS |
101 | 95 | ||
102 | /* We're working on the assumption that the AS3525 has something | 96 | /* AS3514 or newer */ |
103 | similar to the AS3514 for audio codec etc */ | ||
104 | #define HAVE_AS3514 | 97 | #define HAVE_AS3514 |
98 | #define HAVE_AS3543 | ||
105 | 99 | ||
106 | /* define this if you have a real-time clock */ | 100 | /* define this if you have a real-time clock */ |
107 | #ifndef BOOTLOADER | 101 | #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 @@ | |||
1 | /* | 1 | /* |
2 | * This config file is for the Sandisk Sansa Fuze | 2 | * This config file is for the Sandisk Sansa Fuze v2 |
3 | */ | 3 | */ |
4 | #define TARGET_TREE /* this target is using the target tree system */ | 4 | #define TARGET_TREE /* this target is using the target tree system */ |
5 | 5 | ||
@@ -10,9 +10,9 @@ | |||
10 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL | 10 | #define HW_SAMPR_CAPS SAMPR_CAP_ALL |
11 | 11 | ||
12 | /* define this if you have recording possibility */ | 12 | /* define this if you have recording possibility */ |
13 | //#define HAVE_RECORDING | 13 | #define HAVE_RECORDING |
14 | 14 | ||
15 | //#define REC_SAMPR_CAPS SAMPR_CAP_ALL | 15 | #define REC_SAMPR_CAPS SAMPR_CAP_ALL |
16 | 16 | ||
17 | /* Default recording levels */ | 17 | /* Default recording levels */ |
18 | #define DEFAULT_REC_MIC_GAIN 23 | 18 | #define DEFAULT_REC_MIC_GAIN 23 |
@@ -89,9 +89,9 @@ | |||
89 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ | 89 | #define LCD_PIXELFORMAT RGB565 /* rgb565 */ |
90 | 90 | ||
91 | 91 | ||
92 | /* We're working on the assumption that the AS3525 has something | 92 | /* AS3514 or newer */ |
93 | similar to the AS3514 for audio codec etc */ | ||
94 | #define HAVE_AS3514 | 93 | #define HAVE_AS3514 |
94 | #define HAVE_AS3543 | ||
95 | 95 | ||
96 | /* Define this if you have a software controlled poweroff */ | 96 | /* Define this if you have a software controlled poweroff */ |
97 | #define HAVE_SW_POWEROFF | 97 | #define HAVE_SW_POWEROFF |