Commit Graph

1859 Commits

Author SHA1 Message Date
James Haggerty 78eb0c0c97 Fix command line in simulator
In the original movement, the 'usb enabled' check was overridden
to true for the simulator such that shell_task() would always
be executed. In the new 'dummy' device in gossamer used by the
simulator, this usb check returns false.

Seemed like a slightly cleaner thing to do was to call
shell_task() regardless rather than to incorrectly
pretend that USB was connected.
2025-07-28 09:23:54 -04:00
Joey Castillo 39d605204f mark movement_state as volatile 2025-07-27 12:39:31 -04:00
Joey Castillo 8c456c9b62 ke decimal time: silence warnings 2025-07-27 11:54:48 -04:00
Joey Castillo 991a4a1dc5 add delay before sampling VBUS_DET 2025-07-27 11:30:49 -04:00
voloved 40d04b1158 Merge branch 'main' into wordle_port 2025-07-09 07:55:05 -04:00
David Volovskiy 7c4a498a96 Removed from watch_faces 2025-07-09 07:52:42 -04:00
David Volovskiy befa570a9a Updated print logic for second movement 2025-07-09 07:48:59 -04:00
Joey Castillo 866cbb11bf add local decimal time (Kè) face 2025-07-08 17:54:43 -04:00
David Volovskiy 0711622210 Add delays before registering btns, don't repeat words, cleaned up enum names 2025-07-08 07:51:36 -04:00
David Volovskiy 4d2e4172a2 Moved Wordle from legacy to main folder 2025-07-08 07:44:06 -04:00
Eirik Stanghelle Morland efeba609db Build in CI using a build matrix (#41) 2025-07-07 19:24:03 -04:00
Eirik Stanghelle Morland 50dec7f82a Ensure git directory is marked as safe 2025-07-07 19:16:52 -04:00
Ruben Nic 3b7603a0ed Fix simulator url in README (#40) 2025-07-07 19:16:19 -04:00
Daniel Bergman 4d45fcde30 Tally face: fix build warnings (#43)
Clamp tally index values in print_tally function to ensure they remain within defined limits, silencing compiler warnings
2025-07-07 19:14:07 -04:00
Joey Castillo cff96a4036 revert gossamer commit that (sometimes!) broke simulator builds 2025-07-07 18:55:45 -04:00
Daniel Bergman a74cfd547a Fix compiler warnings by casting centibeats to unsigned int in beats_face.c. Also make precedence explicit in ms calculation. 2025-07-06 16:15:14 -04:00
voloved 4e710066b9 Tally face port (#38)
* Moved tally face over

* Bugfix on  tally_face_should_move_back

* changed watch_display_text logic

* Negative numbers don't appear small

* remove tally face from movement_config.h
2025-07-06 15:33:56 -04:00
Daniel Bergman a729f04f13 Update README to contain git and make information (#37)
* Grab parts of the main sensor-watch README, and update with second-movement git and build info

* add BOARD and DISPLAY to emmake instructions

---------

Co-authored-by: Joey Castillo <joeycastillo@utexas.edu>
2025-07-06 15:28:17 -04:00
Joey Castillo e2a94577e0 bump gossamer commit 2025-07-06 15:22:04 -04:00
Joey Castillo 07bb4e33e0 bump gossamer commit 2025-07-06 15:08:12 -04:00
Joey Castillo 58ec374ffd Merge pull request #36 from neutralinsomniac/remove_close_enough_face_from_default_faces
looks like close_enough face was accidentally committed to the default set of enabled watch faces
2025-07-06 14:52:50 -04:00
Jeremy O'Brien 23fe33abaa looks like close_enough face was accidentally committed to the default set of enabled watch faces 2025-07-06 14:36:59 -04:00
Joey Castillo 410d32f2d0 silence warnings 2025-07-06 12:40:06 -04:00
Joey Castillo 87448e6e44 remove tarot_face from legacy (is now in second movement) 2025-07-06 12:12:01 -04:00
Daniel Bergman 73e62bbc18 New watchface: ish face (#21) 2025-07-06 12:00:56 -04:00
Daniel Bergman bdc6f98daa Port Breathing face to second movement, also add LED notification. General fixes. (#34) 2025-07-06 11:58:16 -04:00
JKomskis b4da0defbe Port probability face to second movement (#30)
* Move out of legacy folder, add to build

* Ported probability face display functions
Added tap support

* Fix animation for custom LCD
2025-07-06 11:55:50 -04:00
Ruben Nic 55f8eaa257 Port close enough clock face to second-movement (#31)
* Port over close enough clock face

* Clean up the code and comments
2025-07-06 11:52:43 -04:00
Jeremy O'Brien d0f78aaa91 port tarot face to second movement (#28) 2025-07-06 11:48:56 -04:00
PrimmR 2e5e094bb3 Update Kitchen Conversions Face for Second Movement (#24)
* Basic second movement support

* Switch alarm and light button functionality
2025-07-06 11:47:12 -04:00
PrimmR 5864af1c56 Update Periodic Table Face for Second Movement (#23)
* Basic Second Movement support

* Basic support for custom LCD

* Full support for custom LCD

* Fix long press when face in first slot

* Rename to periodic_table_face

* Update header description
2025-07-06 11:45:26 -04:00
Johan Oskarsson ece29d776c Add a Squash scoring face (#18) 2025-07-06 11:43:50 -04:00
Jeremy O'Brien fa84c27ee6 add .envrc/flake.nix for setting up automatic build environment under NixOS (#17) 2025-07-06 11:39:02 -04:00
Joey Castillo ced820b60d chirpy: fix typo (resolves #8) 2025-07-06 11:34:06 -04:00
PrimmR b5a457cd19 Fix text buffer overflow in sunrise_sunset_face (#22) 2025-07-06 11:31:45 -04:00
Joey Castillo 976fd3248b move git hash to end of settings 2025-07-06 11:27:23 -04:00
Joey Castillo 406e5a7f2b settings: title git hash 'build' for clarity 2025-07-06 11:26:09 -04:00
voloved 154bd54510 Set time on make (#35)
* Time can get set from makefile

* Added setting make time into simulator

* Added  Hash in settings

* Added default location

* Cuts the Githash to 6 characters in the settings in case the makefile didn't do that already

* bump gossamer commit

* remove automatic timezone setting

* automatic time set: rename MAKEFILE_ to BUILD_ to match gossamer

* Revert "Added default location"

This reverts commit c24f69450fd40472c4f6cebb790a56c3f0d69cb6.

* silence warning

* watch_get_init_date_time: explicitly initialize all fields to 0

---------

Co-authored-by: Joey Castillo <joeycastillo@utexas.edu>
2025-07-06 10:56:27 -04:00
Joey Castillo 7a6f7147ae Makefile: update comment for clarity 2025-07-04 11:04:13 -04:00
Joey Castillo f64f1f4b2f tweak Makefile checks, no need for BOARD or DISPLAY to make install 2025-07-04 11:00:01 -04:00
Wesley Ellis 8eaa9262ad Merge pull request #29 from EmilienCourt/main
bring totp_face into Second Movement
2025-07-04 07:22:43 -04:00
Wesley Ellis 519d51d301 Merge pull request #32 from berdan/beats-face-refactor
Refactor: beats_face use movement_get_utc_date_time(), simplify clock2beats()
2025-07-04 07:01:52 -04:00
Joey Castillo 37a8a92f58 bugfix: maintain accelerometer background sampling rate after wake from sleep 2025-07-03 17:14:08 -04:00
Joey Castillo 49c31317c8 Merge pull request #25 from berdan/latlong-fix-sunrise_sunset_face
Fix longitude corruption bug in sunrise/sunset face
2025-06-30 19:41:38 -04:00
Ruben Nic 99b02ee0b5 Add support for custom display in the simulator (#26)
* Initial custom display SVG and display selection

* clean up SVG and add data-com and data-seg

* Fix signal's data-com and data-seg

* Revert "Fix signal's data-com and data-seg"

This reverts commit 82f8dc6a91973fb3b9e25e8e073a26d8996977ae.

* Update indicators mapping for custom display

* Align #ifs to the left
2025-06-30 19:34:16 -04:00
Joey Castillo 3ade4f766b Merge pull request #20 from berdan/better_makefile
Update Makefile to conditionally require BOARD and DISPLAY only for non-clean targets
2025-06-30 19:25:28 -04:00
Joey Castillo 9d71e43e9c Merge pull request #27 from berdan/emscripten-to-gossamer
Move emscripten targets to gossamer's rules.mk
2025-06-30 19:17:56 -04:00
Joey Castillo 0d5108cbc3 bump gossamer commit 2025-06-30 19:16:14 -04:00
Daniel Bergman fff73a8806 Update beats face to use UTC+1. Simplify clock2beats function. 2025-06-30 21:39:21 +02:00
EmilienCourt 67a1bfd661 bring totp_face into Second Movement 2025-06-29 19:25:42 +02:00