Commit Graph
100 Commits
Author SHA1 Message Date
joeycastillo 9a0979fa55 restore custom signal tunes to Second Movement 2024-09-29 12:36:26 -04:00
joeycastillo e4db48281d lol, GCLK3 is 1024 Hz in gossamer 2024-09-29 12:27:20 -04:00
joeycastillo bb0211eb01 remove CLOCK_FACE_24H_ONLY option, will lead to too many edge cases 2024-09-29 11:38:47 -04:00
joeycastillo 998968cf3f clock face: fix reversion to 24H display in low energy mode 2024-09-29 11:30:47 -04:00
joeycastillo 38f68fd165 clock SLCD frame counters from external crystal for more accurate tick/tock animation 2024-09-29 11:25:49 -04:00
joeycastillo 2ac3a1db2f fix sleep mode animation 2024-09-29 11:14:26 -04:00
joeycastillo 0e35afcbb2 improve time zone selection, show offset on odd ticks 2024-09-29 11:00:03 -04:00
joeycastillo fb5a2d9ba4 update tinyusb 2024-09-29 10:59:14 -04:00
joeycastillo e88359d1d5 refactor: watch faces no longer need a pointer to settings! 2024-09-29 10:18:11 -04:00
joeycastillo 3bd8f8d51f store settings in function call, remove last uses of settings in callbacks 2024-09-29 10:18:11 -04:00
joeycastillo b3ed4df0a1 bring in clock face, add 024h mode, refactor out last raw access of settings->bit 2024-09-29 10:18:11 -04:00
joeycastillo 07d6a05e33 refactor time zone index to function calls 2024-09-29 10:18:11 -04:00
joeycastillo f315744cc3 refactor remaining uses of movement_timezone_offsets to movement_get_current_timezone_offset 2024-09-29 10:18:11 -04:00
joeycastillo 677872434d bring in beats face using new time zone function 2024-09-29 10:18:11 -04:00
joeycastillo 1c2f1bad5d refactor LED dwell time to function call 2024-09-29 10:18:11 -04:00
joeycastillo 379a795ad3 refactor LE and TO intervals to function calls 2024-09-29 08:53:39 -04:00
joeycastillo 4deeb2b9be Revert "movement: add option to always snap back to first watch face" to remove to_always setting
This reverts commit 77d3e5640f.
2024-09-29 08:46:58 -04:00
joeycastillo 401125fe40 Revert "ensure accelerometer test face always stays active" to remove to_always setting
This reverts commit c5400e437f.
2024-09-29 08:39:52 -04:00
joeycastillo e2b01d4018 refactor movement's LED color to a function call 2024-09-29 08:31:23 -04:00
joeycastillo 71922f8e51 refactor movement's alarm_enabled bit to a function call 2024-09-29 08:16:53 -04:00
joeycastillo 0bec3c22c4 refactor movement's unit preference to a function call 2024-09-29 08:09:11 -04:00
joeycastillo c5e5bc1200 refactor movement's 24h mode to a function call 2024-09-29 08:02:20 -04:00
joeycastillo 63e0981693 wareki face: remove debug code 2024-09-29 07:55:47 -04:00
joeycastillo e5e4d457e3 always set time zone to UTC 2024-09-29 07:51:16 -04:00
joeycastillo 9bedee8e54 consistently use _t convention 2024-09-29 07:45:24 -04:00
joeycastillo 01f1008e16 refactor movement's button preference into a function call 2024-09-28 21:57:21 -04:00
joeycastillo fec225ec8b countdown: have timeout exit setting mode 2024-09-28 21:39:19 -04:00
joeycastillo b740ce8ada countdown: use long press ALARM to enter settings 2024-09-28 21:33:05 -04:00
joeycastillo 4804b0bb38 migrate countdown to Second Movement 2024-09-28 17:43:10 -04:00
joeycastillo 38189ad452 clear seconds in LE mode 2024-09-24 00:12:25 -04:00
joeycastillo de8ad7ee02 bump utz commit 2024-09-24 00:03:53 -04:00
joeycastillo 52578e5413 integrate utz, use DST-aware time zones instead of bare offsets 2024-09-23 23:27:10 -04:00
joeycastillo f03a414ca8 use signed integers for UTC offset 2024-09-23 23:24:17 -04:00
joeycastillo 5dc6f2e4f6 add utz submodule 2024-09-23 09:26:44 -04:00
joeycastillo 60a19f3cf0 bring in world clock 2024-09-23 09:26:44 -04:00
joeycastillo 0a6ef3d82a 24H only is handled by disabling changing the setting 2024-09-23 08:53:57 -04:00
joeycastillo 1357634d9d fix flickering LED in preferences screen 2024-09-23 00:02:31 -04:00
joeycastillo ac1f1eb7ef better LED colors at low brightness 2024-09-22 23:50:14 -04:00
joeycastillo 9276655db8 support RGB LED backlight 2024-09-22 22:48:45 -04:00
joeycastillo 8253572b6d bump gossamer commit 2024-09-22 22:41:35 -04:00
joeycastillo 687f1d9f60 new preferences face with support for RGB LED 2024-09-22 22:26:59 -04:00
joeycastillo 608d6e2e9d move away from backup registers 2024-09-22 21:52:25 -04:00
joeycastillo 8009ad0537 no need for this to be a function 2024-09-22 21:51:11 -04:00
joeycastillo fa8f15b85e remove duplication of movement defaults 2024-09-22 21:50:33 -04:00
joeycastillo 52918eb10e remove old movement_config.h 2024-09-22 18:27:40 -04:00
joeycastillo e29134bf9f bring in filesysten and shell, rename LFS globals for clarity 2024-09-22 15:34:51 -04:00
joeycastillo e1fa85faf7 fix typo 2024-09-22 15:04:34 -04:00
joeycastillo e8cedeac6c rename enum, rearrange watch_tcc.h 2024-09-22 14:26:49 -04:00
joeycastillo 688cf7d87e set year to 2024 at boot 2024-09-22 14:24:43 -04:00
joeycastillo 14e87d2909 fix for minutes not updating after refactor 2024-09-22 14:22:33 -04:00
joeycastillo c1eac53c63 don't time out first watch face 2024-09-22 13:57:16 -04:00
joeycastillo 2e738db673 add buzzer volume control 2024-09-22 13:34:46 -04:00
joeycastillo 6e0d9270b5 bump gossamer commit 2024-09-22 10:46:31 -04:00
joeycastillo 9274f532d2 improve API for text display 2024-09-19 08:42:07 -04:00
joeycastillo 8bbcacd747 remove watch_display_string from set_time face 2024-09-18 23:48:58 -04:00
joeycastillo 24d2b39bf6 silence warning 2024-09-18 23:47:52 -04:00
joeycastillo 6abcc77db1 remove unused variable 2024-09-18 23:46:50 -04:00
joeycastillo 41ea9e8fc5 Revert "Support leading zero representation for 24h clock"
This reverts commit f633b7634b.
2024-09-18 23:34:02 -04:00
joeycastillo 69cf0a9789 remove deprecated watch_display_string 2024-09-18 23:21:36 -04:00
joeycastillo 95b6480e5c restore USB CDC functionality to Movement 2024-09-18 21:44:09 -04:00
joeycastillo dbf31b4e28 new name for irq handlers 2024-09-18 21:28:55 -04:00
joeycastillo dccad01e8f first build of Second Movement with two watch faces 2024-09-18 18:22:33 -04:00
joeycastillo 24598ec280 restore buzzer sequence functionality 2024-09-18 18:21:35 -04:00
joeycastillo 66f7a8802e remove dependency on Atmel HRI in storage module 2024-09-18 17:44:14 -04:00
joeycastillo d0ca6a025a bring in deep sleep / external wake functions 2024-09-18 17:37:20 -04:00
joeycastillo c02c89c880 clean up location of buzzer functions, notes 2024-09-18 17:25:41 -04:00
joeycastillo 422cea8ff6 simpler USB CDC with gossamer / yield (no need for TC0/TC1) 2024-09-18 17:14:06 -04:00
joeycastillo da11c14684 use gossamer GPIO calls here 2024-09-18 17:13:11 -04:00
joeycastillo 2bbd78a99d remove ASF calls for TRNG 2024-09-18 17:09:20 -04:00
joeycastillo 7ee3eeac49 clean up location of some private functions 2024-09-18 17:05:10 -04:00
joeycastillo 38b4efe42d bump gossamer commit 2024-09-18 16:53:27 -04:00
joeycastillo 6706452353 port ADC functions to gossamer 2024-09-18 16:10:12 -04:00
joeycastillo 9e32cbc523 port SLCD to gossamer, add new string display options 2024-09-18 16:04:55 -04:00
joeycastillo ac88e2de8c port external interrupts to gossamer framework 2024-09-18 15:29:31 -04:00
joeycastillo f5435d468d use #pragma once 2024-09-18 15:12:58 -04:00
joeycastillo 29d6ce42f1 bring in RTC functionality 2024-09-18 15:06:38 -04:00
joeycastillo 0585a1d0d8 consolidate buzzer and LED into TCC file 2024-09-18 14:53:46 -04:00
joeycastillo 29f020e207 port buzzer and LED functions to gossamer framework 2024-09-18 14:47:53 -04:00
joeycastillo 5ba64844e2 port GPIO functions to new framework 2024-09-18 14:33:07 -04:00
joeycastillo c02132a68f bump submodules 2024-09-18 14:22:16 -04:00
joeycastillo 02f7469400 remove ASF code, config 2024-09-18 13:56:49 -04:00
joeycastillo 9f73677883 let's begin 2024-09-18 13:47:35 -04:00
joeycastillo 0a82d16d4e remove watch_app 2024-09-18 13:19:52 -04:00
joeycastillo 4f3fa45cbf remove old rules, build rules 2024-09-18 13:14:00 -04:00
joeycastillo 9784128ca4 update Doxygen for Second Movement 2024-09-18 13:04:43 -04:00
joeycastillo aaa3b55c67 rename test app to app.c for clarity 2024-09-18 12:52:43 -04:00
joeycastillo 70637cae75 disable simulator build 2024-09-18 09:50:00 -04:00
joeycastillo b9c9ec071a point build action to new target 2024-09-18 09:40:18 -04:00
joeycastillo f7cf2a6c4d minimal blinky sketch 2024-09-18 08:56:47 -04:00
joeycastillo 063fe96ef2 add gossamer submodule 2024-09-18 08:08:45 -04:00
joeycastillo 629e58d13b fork Sensor-Watch to second-movement; remove non-Movement related files 2024-09-18 08:07:06 -04:00
joeycastillo c2103d9eaa silence warnings in butterfly_game_face 2024-09-17 22:27:43 -04:00
joeycastillo 88338dc0ba silence warnings in wareki_face 2024-09-17 22:19:22 -04:00
joeycastillo 3634460a02 silence warning in beeps_face 2024-09-17 20:46:00 -04:00
Jose CastilloandGitHub fc2f9c5130 add accelerometer interrupt counter (#452) 2024-09-17 20:38:09 -04:00
joeycastillo 5ec3dca9e4 documentation fix 2024-07-10 06:56:49 -04:00
joeycastillo ac5fb40730 remove dead code 2024-07-10 06:49:56 -04:00
Jose CastilloandGitHub d98d14d236 Add support for Sensor Watch Pro (#412)
* Sensor Watch Pro board definition

* Disable hot-plugging on SWCLK

* Add rainbow test

* Move interrupt mapping to board config

* New color definition for Pro boards in makefile
2024-07-06 11:07:02 -04:00
joeycastillo 89a2af92ef silence warnings 2024-07-06 08:52:41 -04:00
joeycastillo cd44cb74a2 fix alternate firmware script 2024-01-10 09:38:33 -05:00