Commit graph

573 commits

Author SHA1 Message Date
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
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
George Hahn c40d75b876 Make submodule and directory rules order-only prerequisites on objects
This instructs make to run the tinyusb and directory rules before
building any objects. Docs: [1].

After this change, `make clean` started running
the tinyusb submodule rule before cleaning. This appears to have been
caused by one of the `build/*.d` files overlapping with the `tinyusb`
name, triggering that rule. I didn't trace this all the way down to a
root cause, but switching the include to something less broad solved the
issue. Roughly guided by [2].

1: https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html

2: http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/
2022-05-19 00:33:31 -06:00
George Hahn 1f6f11eb60
Add Devcontainer as an easy dev environment option (#65) 2022-05-18 11:17:51 -04:00
Spencer Bywater 96aaa47c8e
Probability watch face (#69)
* Initial work on probability watch face

* Complete probability watch face

* Restore default movement_config

* PR feedback: PR watch face title, use arc4random, clean up warnings

* Use rand instead of arc4random when building on emulator

* Accidentally overwrote movement_config
2022-05-18 11:11:34 -04:00
Joey Castillo ed526355f6 fix spaces / tabs 2022-05-10 09:50:44 -04:00
George Hahn 190dca0a77 fixup: restore deleted line 2022-05-10 00:42:43 -06:00
George Hahn 0ab63691f2 Move parallel flag into makefile with crossplatform support 2022-05-10 00:37:37 -06:00
George Hahn 0269681ac3 Perform OS detection in makefile 2022-05-10 00:37:02 -06:00
George Hahn 9d8ef5c2e8 Parallelize builds 2022-05-10 00:16:20 -06:00