forked from len0rd/rockbox
RTC: Add stub support RTC alarms on hosted targets
No targets are enabled, but the hosted Hiby-based targets could have this feature enabled if they weren't so buggy: * No generic way to determine wakeup reason under Linux * No generic way to be asynchronously notified if the alarm is triggered when we're already awake * Shutting down may clobber RTC wakeup (driver/etc dependent) * Rocker's kernel's RTC driver has some 24h clock and timezone-related issues. So, the infrastructure is arguably useful, but the only applicable hardware I have is pathologically brain-dead. Change-Id: Ie1aa38e72b831c8a0695ff684f260e514eef9710
This commit is contained in:
parent
6984a7ce15
commit
2ad6c3438e
3 changed files with 7 additions and 1 deletions
|
@ -67,7 +67,7 @@
|
|||
#define CONFIG_RTC APPLICATION
|
||||
|
||||
/* Define if the device can wake from an RTC alarm */
|
||||
#define HAVE_RTC_ALARM
|
||||
//#define HAVE_RTC_ALARM
|
||||
|
||||
/* The number of bytes reserved for loadable codecs */
|
||||
#define CODEC_SIZE 0x80000
|
||||
|
|
|
@ -63,6 +63,9 @@
|
|||
/* define this if you have a real-time clock */
|
||||
#define CONFIG_RTC APPLICATION
|
||||
|
||||
/* Define if the device can wake from an RTC alarm */
|
||||
//#define HAVE_RTC_ALARM
|
||||
|
||||
/* The number of bytes reserved for loadable codecs */
|
||||
#define CODEC_SIZE 0x80000
|
||||
|
||||
|
|
|
@ -63,6 +63,9 @@
|
|||
/* define this if you have a real-time clock */
|
||||
#define CONFIG_RTC APPLICATION
|
||||
|
||||
/* Define if the device can wake from an RTC alarm */
|
||||
//#define HAVE_RTC_ALARM
|
||||
|
||||
/* The number of bytes reserved for loadable codecs */
|
||||
#define CODEC_SIZE 0x80000
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue