Commit graph

757 commits

Author SHA1 Message Date
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
Joey Castillo 838102a7e9 bump library version 2022-05-06 17:12:51 -04:00
Joey Castillo d4ebe64af0 add support for a small filesystem on the watch 2022-05-06 17:12:14 -04:00
Joey Castillo 21026c8eb7 add room for flash filesystem in linker script 2022-05-06 15:17:57 -04:00
Joey Castillo 3ee5749d89 add littlefs module 2022-05-05 08:12:16 -05:00
Joey Castillo cd40573535 Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into motion-express 2022-05-02 18:39:45 -05:00