Commit graph

581 commits

Author SHA1 Message Date
joeycastillo 425dd77508
Merge pull request #110 from wryun/fix-makefile-parallelism-linux
Fix Linux Makefile parallelism
2022-10-29 17:49:12 -05:00
James Haggerty d994ce8b48
Make countdown face reset to 0 (#90)
* Make countdown face reset to 0

It was annoying to have countdowns less than DEFAULT_MINUTES.
Admittedly, this does make DEFAULT_MINUTES fairly useless, since
we only ever see it the first time...

* Undo accidental change to movement_config.h
2022-10-29 17:01:05 -05:00
TheOnePerson cb69a2c181
Add an Alarm face to movement (#96)
* Add movement_play_alarm_beeps() to movement.c and make alarm sounds customizable. Add alarm indicator to simple watch face.

* Add alarm face

* alarm_face: fix problem with disabling alarms for 00:00.

* Fix typos in comments and get rid of of unused variable warning

* remove unnecessary constant

* simple_clock_face: fix disappearing chime indicator after face switch, enable alarm indicator updates in app loop (for one-time alarms).
movement: handle situations where watch is in sleep mode and chimes fire off at the same time as alarms properly.

* alarm_face: tweak process of displaying things on the lcd. Add extra long and extra short alarms. Increase number of alarm slots to 16.

* alarm face: fix alarms playing one beeping round more than set.

* alarm face: add proper quick cycling of hour and minute setting

* alarm-face: correct am/pm indication and some minor tweaks. Reset movement_config.h to current main branch. simple-watch-face: Remove unnecessary check and swap indicators (alarm / hourly chime)

* alarm-face: reverse commit parts from another branch (accidentially commited logic depending on movement firmware auto firing the long press event)

Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
2022-10-25 21:57:53 -05:00
James Haggerty 07f439c598 Fix Linux Makefile parallelism
Makefile != bourne shell, I think.

At least on my systems, this was causing a raw -j, which meant
that make had no restriction on its parallelism
(i.e. tried to build everything at once).
2022-10-25 09:24:54 +11:00
joeycastillo 894d3615e9
Merge pull request #103 from wryun/long-press-home-to-settings
Long press of mode on home screen goes to settings
2022-10-23 15:07:35 -05:00
joeycastillo 5c1e717034 make this an if/then to please emscripten 2022-10-23 15:05:28 -05:00
joeycastillo 46ac8defdc disable settings hiding by default 2022-10-23 14:59:57 -05:00
joeycastillo f8f0ce479d
Merge pull request #105 from niclashoyer/fix_schedule
Fix scheduled tasks scheduling another task
2022-10-22 13:22:46 -05:00
joeycastillo b56c60868e allow watch faces to schedule tasks from background 2022-10-22 13:16:46 -05:00
Niclas Hoyer 86f34b3653 fix scheduled tasks scheduling another task 2022-10-21 01:10:12 +02:00
David Singleton dfb928b9d6
Adds a rate meter watchface (#101) 2022-10-18 23:30:05 -05:00
James Haggerty b51f7b6f36 Long press of mode on home screen goes to settings
This also changes the default rotation so you don't see the settings
screens.
2022-10-19 10:30:59 +11:00
joeycastillo 5bd0aafc24
Merge pull request #94 from wryun/long-press-home-default
Long press mode button to return to first watch face + fix lag when watch face changes
2022-10-15 08:52:34 -05:00
joeycastillo 1bb656db91 use watch_face_changed property 2022-10-12 00:20:11 -05:00
joeycastillo f89cecc56a document return value of watch_face_loop 2022-10-11 23:53:02 -05:00
joeycastillo 957f97ffad no need to set this (set in movement_move_to_face) 2022-10-11 23:40:19 -05:00
joeycastillo 4de51740fb don't sleep on watch face change 2022-10-11 23:14:59 -05:00
joeycastillo 4d860f482e
Merge pull request #93 from wryun/make-starter-proj-work-in-simulator
Make starter project work in simulator
2022-10-11 22:14:13 -05:00
joeycastillo f79741a85f add delay_ms function for simulator 2022-10-11 22:11:58 -05:00
joeycastillo b399f4ca45 only include watch_main_loop.h in simulator builds 2022-10-11 22:06:02 -05:00
James Haggerty 79ff361f06 Make long press mode go back to face 0 instead of next face 2022-10-12 13:35:08 +11:00
James Haggerty be1f3d3631 Make starter project work in simulator
Use the higher abstraction level sleeping.
2022-10-12 11:59:43 +11:00
joeycastillo e36b305379
Merge pull request #87 from wryun/readme-movement
Mention movement in the README (and link to website)
2022-10-11 19:47:40 -05:00
James Haggerty 96e575a5d5 Mention movement in the README (and link to website)
I know this is mostly going to be in the website, but I was initially
confused about how to get things going, and it seemed worth
having some simple 'getting started' here.
2022-10-11 21:19:55 +11:00
Joey Castillo 95f2f25ee6 implement stubs to make simulator build happy 2022-10-09 22:58:42 -05:00
Joey Castillo 48160e8a47 restore default watch faces (oops) 2022-10-09 22:54:36 -05:00
Joey Castillo 5bb058f585 add watch face for frequency correction and measurement 2022-10-09 22:50:31 -05:00
joeycastillo 33dec21cf1
Merge pull request #86 from michaelgruenewald/patch-1
Fix changed files detection in Make
2022-10-08 19:56:26 -05:00
Michael Gruenewald 10d4166986 Disable all built-in Make rules 2022-10-08 22:23:30 +02:00
Michael Gruenewald 1138d4d80c Enable dependency files for the emscripten build 2022-10-08 13:52:00 +02:00
Michael Grünewald 866b5a47d6
Fix DEPFILES 2022-10-06 23:09:59 +02:00
Joey Castillo e6784339e0 add script for bulk flashing boards 2022-09-16 22:54:36 -05:00
Wesley Ellis e2ab6cef6d
Merge pull request #84 from jackbondpreston/main
add support for multiple TOTP keys
2022-09-04 12:56:42 -04:00
Jack Bond-Preston 8b3c02ace5
add support for multiple TOTP keys 2022-08-29 01:28:19 +01:00
Joey Castillo 7fc4395298 add watch_reset_to_bootloader function (resolves #81) 2022-08-14 15:23:32 -05:00
joeycastillo e790a02578
Merge pull request #80 from joeycastillo/lfs
Movement: add a lil file system with lfs
2022-08-03 11:56:52 -06:00
Joey Castillo bcd3b66684 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into lfs 2022-08-02 08:17:26 -06:00
joeycastillo 6d87f5a626
Merge pull request #79 from jackbondpreston/main
movement: fix movement_request_wake() prototype
2022-07-25 12:06:05 -04:00
joshber f120d66a98
Wake Face (#77)
Co-authored-by: Josh Berson <low.note0488@fastmail.com>
2022-07-25 11:57:12 -04:00
Jack Bond-Preston b07b548681 movement: fix movement_request_wake() prototype
This function has `void` args, currently it can throw a compiler warning
2022-07-25 15:17:02 +01:00
Joey Castillo b234db74fe movement: wake programmatically from background and play alarm 2022-07-17 00:23:38 -05:00
joeycastillo 8d7748b1ad
Merge pull request #78 from tahnok/fix-python3-uf2
Replace python with python3 for calling uf2conv
2022-07-14 21:34:53 -05:00
Wesley Ellis 6f96e848c2 Replace python with python3 for calling uf2conv
Instead of calling python use python3.

On a default debian 11 install there is no python binary, only python3.
Given that the uf2conv script is written for python 3 I think this is a
safe change to make
2022-07-14 14:42:32 -04:00
Joey Castillo 87da5f15ea new tests 2022-07-05 22:53:44 -05:00
Joey Castillo 3c5114ba4c WIP new tests 2022-07-05 22:53:44 -05:00
Joey Castillo 5b650b9efe reduce flicker of LED by default 2022-07-04 11:23:09 -05:00
Joey Castillo 4fb022edb6 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch 2022-06-11 10:46:25 -04:00
George Hahn a4fc6204ce
Parallelize alternate fw builds (#66) 2022-05-29 22:30:02 -04:00
Joey Castillo 040267fe3d Merge branch 'parallelize-builds' of https://github.com/GeorgeHahn/Sensor-Watch 2022-05-22 19:46:43 -04:00
Spencer Bywater 6ed757af2b
Adjust probability watch face timeout/LE behavior (#72)
Display SLEEP instead of timing out
2022-05-22 19:42:37 -04:00