Commit graph

712 commits

Author SHA1 Message Date
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
Joey Castillo 3a9dd0df08 unify on 32-bit signed lengths 2022-05-09 21:33:45 -04:00
Joey Castillo 8455bfc9a5 filesystem: only throw errors for negative error codes 2022-05-09 13:17:51 -04:00
Joey Castillo e71a70d231 add file browser to movement, remove old app 2022-05-09 13:05:37 -04:00
Joey Castillo 22b1ac0283 simulator: add USB serial input field 2022-05-09 13:00:15 -04:00
Joey Castillo 21ee056e26 first pass at filesystem in movement 2022-05-09 12:14:42 -04:00
Joey Castillo 91b436237a fix warning re: buffer overrun 2022-05-09 12:03:24 -04:00
Joey Castillo 32c6974c0f usb serial: clear whole length of buffer 2022-05-09 10:59:15 -04:00
Joey Castillo 03b616da62 prevent buf from escaping into global namespace 2022-05-09 10:57:16 -04:00
Joey Castillo 0c87114ee1 simulator: fix _read function signature 2022-05-09 10:55:28 -04:00
Joey Castillo a54220d95a add littlefs filesystem browser app 2022-05-08 20:19:44 -04:00
Joey Castillo 661e2b6a73 add ability to read from USB serial 2022-05-08 20:19:20 -04:00