diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2019-01-31 11:05:13 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-11 18:02:26 +0200 |
commit | 6984a7ce1535422891ce4de57070cc55a486d352 (patch) | |
tree | 1f585e50cac0dd3ef4b713c2156d6c501b82f7bf /firmware/export | |
parent | 02d347bc6f6e37ead72986436a6fffdeafeec484 (diff) | |
download | rockbox-6984a7ce1535422891ce4de57070cc55a486d352.tar.gz rockbox-6984a7ce1535422891ce4de57070cc55a486d352.zip |
RTC: Add support RTC alarms on hosted targets
Only AGPTeck Rocker is enabled for now, and it doesn't work properly:
* 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)
And finally:
* AGPTek kernel's RTC driver has some 24h clock and
some timezone-related issues.
So, the infrastructure is arguably useful, but the only applicable
hardware I have is pathologically brain-dead.
Change-Id: Iac6a26a9b6e4efec5d0b3030b87f456eb23fc01d
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config/agptekrocker.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/config/agptekrocker.h b/firmware/export/config/agptekrocker.h index 372287f4b5..6b012730c0 100644 --- a/firmware/export/config/agptekrocker.h +++ b/firmware/export/config/agptekrocker.h | |||
@@ -66,6 +66,9 @@ | |||
66 | /* define this if you have a real-time clock */ | 66 | /* define this if you have a real-time clock */ |
67 | #define CONFIG_RTC APPLICATION | 67 | #define CONFIG_RTC APPLICATION |
68 | 68 | ||
69 | /* Define if the device can wake from an RTC alarm */ | ||
70 | #define HAVE_RTC_ALARM | ||
71 | |||
69 | /* The number of bytes reserved for loadable codecs */ | 72 | /* The number of bytes reserved for loadable codecs */ |
70 | #define CODEC_SIZE 0x80000 | 73 | #define CODEC_SIZE 0x80000 |
71 | 74 | ||