jakkra / ZSWatch

ZSWatch - the Open Source Zephyrâ„¢ based Smartwatch, including both HW and FW.
https://forms.gle/G48Sm5zDe9aCaYtT9
GNU General Public License v3.0
2.38k stars 207 forks source link

Add alarm API #189

Closed Kampi closed 1 month ago

Kampi commented 11 months ago

Add a way to create alarms. Zephyr's RTC emul is not good. Need to implement something ourselves. Want to be able to do: Call this function at 23:59:59 for example.

Kampi commented 6 months ago

Can be done with https://github.com/jakkra/ZSWatch-HW/issues/44

jakkra commented 1 month ago

Done in https://github.com/jakkra/ZSWatch/pull/355 We now have zsw_alarm_add and zsw_alarm_add_timer that handles the requirements in this issue.