summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/as3514.h4
-rw-r--r--firmware/export/config/sansaclipplus.h5
-rw-r--r--firmware/export/config/sansaclipv2.h5
-rw-r--r--firmware/export/config/sansafuzev2.h6
4 files changed, 17 insertions, 3 deletions
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h
index e9eda62ee3..31253724a7 100644
--- a/firmware/export/as3514.h
+++ b/firmware/export/as3514.h
@@ -96,6 +96,10 @@ extern void audiohw_set_lineout_vol(int vol_l, int vol_r);
96#define AS3514_SUPERVISOR 0x24 96#define AS3514_SUPERVISOR 0x24
97#endif 97#endif
98 98
99#ifdef HAVE_AS3543
100#define AS3543_WAKEUP 0x22
101#endif
102
99/* AS3543 has 2 IRQ_ENRD registers at 0x23 and 0x24, but we don't use them 103/* AS3543 has 2 IRQ_ENRD registers at 0x23 and 0x24, but we don't use them
100 * We call the real IRQ_ENRD2 register, IRQ_ENRD0, to stay compatible with 104 * We call the real IRQ_ENRD2 register, IRQ_ENRD0, to stay compatible with
101 * as3514, because the bits we use are the same 105 * as3514, because the bits we use are the same
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h
index ab4408afe5..9382b22cbd 100644
--- a/firmware/export/config/sansaclipplus.h
+++ b/firmware/export/config/sansaclipplus.h
@@ -101,9 +101,12 @@
101#define HAVE_AS3514 101#define HAVE_AS3514
102#define HAVE_AS3543 102#define HAVE_AS3543
103 103
104/* define this if you have a real-time clock */
105#ifndef BOOTLOADER 104#ifndef BOOTLOADER
105/* define this if you have a real-time clock */
106#define CONFIG_RTC RTC_AS3514 106#define CONFIG_RTC RTC_AS3514
107
108/* Define if the device can wake from an RTC alarm */
109#define HAVE_RTC_ALARM
107#endif 110#endif
108 111
109/* Define this if you have a software controlled poweroff */ 112/* Define this if you have a software controlled poweroff */
diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h
index 262ed36167..3ae09b7003 100644
--- a/firmware/export/config/sansaclipv2.h
+++ b/firmware/export/config/sansaclipv2.h
@@ -97,9 +97,12 @@
97#define HAVE_AS3514 97#define HAVE_AS3514
98#define HAVE_AS3543 98#define HAVE_AS3543
99 99
100/* define this if you have a real-time clock */
101#ifndef BOOTLOADER 100#ifndef BOOTLOADER
101/* define this if you have a real-time clock */
102#define CONFIG_RTC RTC_AS3514 102#define CONFIG_RTC RTC_AS3514
103
104/* Define if the device can wake from an RTC alarm */
105#define HAVE_RTC_ALARM
103#endif 106#endif
104 107
105/* Define this if you have a software controlled poweroff */ 108/* Define this if you have a software controlled poweroff */
diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h
index a21eb34f94..8b13217dce 100644
--- a/firmware/export/config/sansafuzev2.h
+++ b/firmware/export/config/sansafuzev2.h
@@ -61,10 +61,14 @@
61/* define this if you can invert the colours on your LCD */ 61/* define this if you can invert the colours on your LCD */
62//#define HAVE_LCD_INVERT 62//#define HAVE_LCD_INVERT
63 63
64 64#ifndef BOOTLOADER
65/* define this if you have a real-time clock */ 65/* define this if you have a real-time clock */
66#define CONFIG_RTC RTC_AS3514 66#define CONFIG_RTC RTC_AS3514
67 67
68/* Define if the device can wake from an RTC alarm */
69#define HAVE_RTC_ALARM
70#endif
71
68/* There is no hardware tone control */ 72/* There is no hardware tone control */
69#define HAVE_SW_TONE_CONTROLS 73#define HAVE_SW_TONE_CONTROLS
70 74