diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2019-01-31 11:05:13 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-11 12:07:47 -0400 |
commit | 2ad6c3438e53ddaa80c0aa43e995376495ce1a77 (patch) | |
tree | 59ad8ef0c9425a4088a0808a475af888a69bdc6b /firmware/export/config/xduoox3ii.h | |
parent | 6984a7ce1535422891ce4de57070cc55a486d352 (diff) | |
download | rockbox-2ad6c3438e53ddaa80c0aa43e995376495ce1a77.tar.gz rockbox-2ad6c3438e53ddaa80c0aa43e995376495ce1a77.zip |
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
Diffstat (limited to 'firmware/export/config/xduoox3ii.h')
-rw-r--r-- | firmware/export/config/xduoox3ii.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/config/xduoox3ii.h b/firmware/export/config/xduoox3ii.h index af63c4f97b..886d91dc0f 100644 --- a/firmware/export/config/xduoox3ii.h +++ b/firmware/export/config/xduoox3ii.h | |||
@@ -63,6 +63,9 @@ | |||
63 | /* define this if you have a real-time clock */ | 63 | /* define this if you have a real-time clock */ |
64 | #define CONFIG_RTC APPLICATION | 64 | #define CONFIG_RTC APPLICATION |
65 | 65 | ||
66 | /* Define if the device can wake from an RTC alarm */ | ||
67 | //#define HAVE_RTC_ALARM | ||
68 | |||
66 | /* The number of bytes reserved for loadable codecs */ | 69 | /* The number of bytes reserved for loadable codecs */ |
67 | #define CODEC_SIZE 0x80000 | 70 | #define CODEC_SIZE 0x80000 |
68 | 71 | ||