]> git.earman.xyz Git - sensor-watch.git/log
sensor-watch.git
23 months agoAdded documentation for Wordle face
David Volovskiy [Sat, 17 Aug 2024 06:13:26 +0000 (02:13 -0400)]
Added documentation for Wordle face

23 months agoAnother fix on the word_check
David Volovskiy [Thu, 15 Aug 2024 22:12:54 +0000 (18:12 -0400)]
Another fix on the word_check

23 months agoDon't allow readding already guessed items
David Volovskiy [Thu, 15 Aug 2024 21:40:04 +0000 (17:40 -0400)]
Don't allow readding already guessed items

23 months agoFace compares the values correctly now and does a dict lookup first
David Volovskiy [Thu, 15 Aug 2024 21:02:14 +0000 (17:02 -0400)]
Face compares the values correctly now and does a dict lookup first

23 months agoSwapped button mapping and removed fast iteration
David Volovskiy [Thu, 15 Aug 2024 12:59:22 +0000 (08:59 -0400)]
Swapped button mapping and removed fast iteration

23 months agoAdded fast cycle
David Volovskiy [Thu, 15 Aug 2024 12:56:49 +0000 (08:56 -0400)]
Added fast cycle

23 months agoday streak and further wordle dev
David Volovskiy [Thu, 15 Aug 2024 12:17:10 +0000 (08:17 -0400)]
day streak and further wordle dev

23 months agoChanged dict to a smaller and simpler one
David Volovskiy [Thu, 15 Aug 2024 03:31:00 +0000 (23:31 -0400)]
Changed dict to a smaller and simpler one

23 months agoContinued Wordle dev
David Volovskiy [Thu, 15 Aug 2024 03:13:34 +0000 (23:13 -0400)]
Continued Wordle dev

23 months agoStart of Wordle
David Volovskiy [Thu, 15 Aug 2024 02:13:23 +0000 (22:13 -0400)]
Start of Wordle

23 months agoMerge branch 'next'
Matheus Afonso Martins Moreira [Tue, 3 Sep 2024 04:03:08 +0000 (01:03 -0300)]
Merge branch 'next'

This merge adds numerous individually small fixes and improvements
which amount to a sizeable set of features.

 - New hourly chime tunes added
 - Old hourly chime tunes improved
 - Display of characters on the stock LCD improved
 - Documentation improved
 - Simulator improved
 - Leap year handling improved
 - Months and their days sanity checked and fixed
 - More compile time configurable defaults added
 - Excessively exact time checks relaxed
 - Clock face indicators matched to original watch
 - Hardware interface issue fixed

The most significant new feature however is software debouncing.
The sensor watch now properly handles hardware switch bouncing,
making the button inputs much more precise at the cost of a small amount
of latency, greatly improving usability. Any watch faces which require
holding down buttons as part of their user interface, the pulsometer
for example, should see huge improvements in their usability.

 * 9c093f9 Merge PR #387 - configurable default birthdate/location
 * 879c48c Merge PR #417 - improve 24h only mode
 * db4097b Merge PR #426 - add temperature input to simulator
 * dea0566 Merge PR #428 - fix issues in sunrise/sunset
 * c8ca0d3 Merge PR #431 - fix wrong number of days in month
 * 95ca374 Merge PR #433 - fix clock face indicators
 * 663cd72 Merge PR #434 - fix leap years
 * a715265 Merge PR #437 - debouncing logic
 * c741332 Merge PR #439 - fix scheduled task misses
 * 657ff72 Merge PR #440 - fix countdown face issues
 * c8a87d3 Merge PR #441 - update documentation
 * dd04443 Merge PR #443 - improved t and y character display
 * 42dc151 Merge PR #447 - improve kim possible chime
 * fa0cdef Merge PR #450 - sync after enabling RTC
 * a67076f Merge PR #458 - add layla tune
 * 23c422b Merge PR #459 - add power rangers tune
 * a2e5417 Merge PR #461 - improve t/y special case docs

Tested-on-hardware-by: Alex Maestas <git@se30.xyz>
Tested-on-hardware-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Tested-on-hardware-by: Wesley Ellis <tahnok@gmail.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/460

23 months agoMerge PR #458 - add layla tune
Matheus Afonso Martins Moreira [Tue, 3 Sep 2024 03:49:20 +0000 (00:49 -0300)]
Merge PR #458 - add layla tune

Awesome lick from Eric Clapton - Layla.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/458

23 months agoMerge PR #459 - add power rangers tune
Matheus Afonso Martins Moreira [Tue, 3 Sep 2024 03:42:33 +0000 (00:42 -0300)]
Merge PR #459 - add power rangers tune

The power lies on their side.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/459

23 months agoMerge PR #461 - improve t/y special case docs
Matheus Afonso Martins Moreira [Tue, 3 Sep 2024 03:28:25 +0000 (00:28 -0300)]
Merge PR #461 - improve t/y special case docs

Fix a typo and make the documentation clearer.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/461

23 months agoadd power rangers tune
Metehan [Sun, 1 Sep 2024 23:11:27 +0000 (02:11 +0300)]
add power rangers tune

23 months agoupdate layla tune
Metehan [Sun, 1 Sep 2024 21:03:21 +0000 (00:03 +0300)]
update layla tune

23 months agoadd layla tune
Metehan [Sat, 31 Aug 2024 23:33:05 +0000 (02:33 +0300)]
add layla tune

23 months agoMerge PR #450 - sync after enabling RTC
Matheus Afonso Martins Moreira [Fri, 30 Aug 2024 19:20:41 +0000 (16:20 -0300)]
Merge PR #450 - sync after enabling RTC

According to the data sheet, writing to a Control A register's ENABLE
bit will trigger write synchronization and set SYNCBUSY's ENABLE bit
which will be automatically cleared by the hardware once the write
operation is complete.

It is necessary to wait until SYNCBUSY's ENABLE bit is clear.
Reading synchronized registers before that returns previous values.
Writing synchronized registers before that drops the write and generates
an error value in another register.

The data sheet recommends polling the ENABLE bit in this situation.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/450
References: SAM L22 Family Data Sheet §§ 14.3.2, 14.3.3, 14.3.4, 14.3.5

23 months agoMerge PR #417 - improve 24h only mode
Matheus Afonso Martins Moreira [Thu, 29 Aug 2024 02:17:59 +0000 (23:17 -0300)]
Merge PR #417 - improve 24h only mode

Enhances 24 hour only mode by setting defaults properly
and skipping past the 12/24 hour settings page in the
preferences watch face.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/417

23 months agoMerge PR #426 - add temperature input to simulator
Matheus Afonso Martins Moreira [Thu, 29 Aug 2024 02:08:36 +0000 (23:08 -0300)]
Merge PR #426 - add temperature input to simulator

This patch enhances the Sensor Watch simulator with a temperature input
allowing users to simulate and test the temperature sensor.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/426

23 months agoMerge PR #428 - fix issues in sunrise/sunset
Matheus Afonso Martins Moreira [Thu, 29 Aug 2024 02:01:48 +0000 (23:01 -0300)]
Merge PR #428 - fix issues in sunrise/sunset

Takes zero into account, allowing the sunrise/sunset watch face
to work with no presets defined.

Also resolves a warning during compilation of the sunrise/sunset face.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/428

23 months agoMerge PR #434 - fix leap years
Matheus Afonso Martins Moreira [Thu, 29 Aug 2024 01:46:49 +0000 (22:46 -0300)]
Merge PR #434 - fix leap years

Improves handling of months in the Sensor Watch
by computing whether the given year is a leap year.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/434

23 months agoMerge PR #431 - fix wrong number of days in month
Matheus Afonso Martins Moreira [Thu, 29 Aug 2024 01:55:43 +0000 (22:55 -0300)]
Merge PR #431 - fix wrong number of days in month

July has 31 days and but was set to 30 days in the Sensor Watch.
This patch fixes the discrepancy.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/431

23 months agoMerge PR #433 - fix clock face indicators
Matheus Afonso Martins Moreira [Thu, 29 Aug 2024 01:39:12 +0000 (22:39 -0300)]
Merge PR #433 - fix clock face indicators

I misinterpreted the documentation and swapped the alarm and time signal
indicators in the clock face. This patch brings it back in sync with
the original watch's behavior as described in the manual.

Reported-by: 814d3 (GitHub)
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/433
References: https://github.com/joeycastillo/Sensor-Watch/pull/380
References: https://github.com/joeycastillo/Sensor-Watch/issues/132

23 months agoMerge PR #440 - fix countdown face issues
Matheus Afonso Martins Moreira [Thu, 29 Aug 2024 01:31:47 +0000 (22:31 -0300)]
Merge PR #440 - fix countdown face issues

Avoid potential underflow when evaluating x - y with y > x.
Evaluate it only when y <= x instead.

Avoid clearing indicators in background task
since another watch face is likely active.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/440

23 months agoMerge PR #447 - improve kim possible chime
Matheus Afonso Martins Moreira [Thu, 29 Aug 2024 01:20:10 +0000 (22:20 -0300)]
Merge PR #447 - improve kim possible chime

The current one is slightly off compared to the original tune.

Original: https://www.youtube.com/watch?v=_3nfrGdVcv0
Before: https://onlinesequencer.net/4159215
After: https://onlinesequencer.net/4160385

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/447

23 months agoMerge PR #437 - debouncing logic
Matheus Afonso Martins Moreira [Wed, 28 Aug 2024 13:30:44 +0000 (10:30 -0300)]
Merge PR #437 - debouncing logic

Mechanical switches exhibit temporary voltage fluctuations
when electrical contact is made, which manifest as "bouncing"
between the logical high and low states. Sampling the switch's
state during this period of stability produces invalid results.

The switch must be debounced by ignoring the generated interrupts
until the switch's state has stabilized. This is implemented by delaying
the input events until an empirically determined time has elapsed.
As such this pull request introduces customizable high resolution timers
for debouncing button down and up events.

This software debouncing unfortunately increases the sensor watch's
input latency. This is an acceptable tradeoff due to better usability:
watch faces which require holding down buttons such as the pulsometer
should work much more reliably after this patch.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
Tested-on-hardware-by: Krzysztof Gałka <@kshysztof@Discord>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/437
References: https://en.wikipedia.org/wiki/Switch#Contact_bounce

23 months agoMerge PR #387 - configurable default birthdate/location
Matheus Moreira [Mon, 26 Aug 2024 12:24:12 +0000 (09:24 -0300)]
Merge PR #387 - configurable default birthdate/location

Adds the ability to configure at compilation time
the movement's default birth date and location.

Tested-by: madhogs <madhogs@protonmail.com>
Tested-by: Niehztog <niehztog@gmail.com>
Tested-on-hardware-by: madhogs <madhogs@protonmail.com>
Tested-on-hardware-by: Niehztog <niehztog@gmail.com>
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/387

23 months agoMerge PR #439 - fix scheduled task misses
Matheus Moreira [Mon, 26 Aug 2024 12:14:29 +0000 (09:14 -0300)]
Merge PR #439 - fix scheduled task misses

The movement was checking for scheduled tasks
by comparing for equality their scheduled times to
the current time. However, it is possible that the time
has moved past the scheduled time by the time the
function executes, leading to scheduled tasks not
being executed and therefore to missed deadlines.

Changing it to `<=` fixes the problem by taking that
possibility into account.

Helped-by: Wesley Ellis <tahnok@gmail.com>
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/439

23 months agoMerge PR #441 - update documentation
Matheus Moreira [Mon, 26 Aug 2024 12:03:37 +0000 (09:03 -0300)]
Merge PR #441 - update documentation

The TOTP watch face has gained a new declarative API
for defining secrets directly in the source code but the
documentation still describes the old interfaces.
This pull request brings the documentation up to date
with currect practice.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/441

23 months agoMerge PR #443 - improved t and y character display
Matheus Moreira [Mon, 26 Aug 2024 11:54:32 +0000 (08:54 -0300)]
Merge PR #443 - improved t and y character display

The t and y characters were not being displayed optimally
in certain positions. This commit improves it substantially
by internally remapping those characters to better looking
characters when displaying on those positions.

Tested-by: David Volovskiy <devolov@gmail.com>
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/443
References: https://hchargois.github.io/sensor-watch-playground/

23 months agowait for RTC SYNCBUSY in watch_register_extwake_callback
Joseph Bryant [Fri, 30 Aug 2024 06:23:28 +0000 (07:23 +0100)]
wait for RTC SYNCBUSY in watch_register_extwake_callback

23 months agostyle: remove extra whitespace
metehan-arslan [Wed, 28 Aug 2024 20:40:32 +0000 (20:40 +0000)]
style: remove extra whitespace

23 months agoUpdate SIGNAL_TUNE_KIM_POSSIBLE notes
metehan-arslan [Tue, 27 Aug 2024 10:56:36 +0000 (13:56 +0300)]
Update SIGNAL_TUNE_KIM_POSSIBLE notes

23 months agoComment change
David Volovskiy [Tue, 27 Aug 2024 01:40:56 +0000 (21:40 -0400)]
Comment change

23 months agoMerge PR #442 - update devcontainer image
Matheus Moreira [Mon, 26 Aug 2024 12:41:08 +0000 (09:41 -0300)]
Merge PR #442 - update devcontainer image

The devcontainer image stopped working
because the requested Ubuntu image
was too outdated. This pull request
brings it up to date and it should remain
functional until 2029. It also enables
use of the emulator by installing the
needed dependencies.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/442

23 months agoAdditional code review change
David Volovskiy [Sat, 24 Aug 2024 02:25:02 +0000 (22:25 -0400)]
Additional code review change

23 months agoCode review edits
David Volovskiy [Fri, 23 Aug 2024 21:35:16 +0000 (17:35 -0400)]
Code review edits

23 months agoMade the T and Y characters look more unique on the 4 and 6 position
David Volovskiy [Fri, 23 Aug 2024 00:46:47 +0000 (20:46 -0400)]
Made the T and Y characters look more unique on the 4 and 6 position

23 months agoUpdate Devcontainer Dockerfile
Nicholas Rodrigues Lordello [Thu, 22 Aug 2024 12:54:41 +0000 (14:54 +0200)]
Update Devcontainer Dockerfile

This PR updates the .devcontainer Dockerfile which was no longer
working. Attempting to build an image from the Dockerfile would result
in an error:

```
E: The repository 'http://archive.ubuntu.com/ubuntu kinetic Release' does not have a Release file.
```

AFAIU, this is because the 22.04 release is no longer supported. I
changed the base image to the current LTS release, which should remain
supported until 2029.

In addition, the Dockerfile is also modified to install `emscripten` APT
package. While this is not the recommented installation method from the
Emscripten docs, it is much more convenient and works enough to build
the simulator using the resulting Docker image.

23 months agoUpdate TOTP Face Documentation
Nicholas Rodrigues Lordello [Thu, 22 Aug 2024 12:53:17 +0000 (14:53 +0200)]
Update TOTP Face Documentation

The TOTP face header file documentation contained outdated instructions
for configuring the complication with TOTP credentials. This PR updates
the documentation to match what is expected in `totp_face.c`.

23 months agodon't change the bell indicator from within background task
Joseph Bryant [Sun, 18 Aug 2024 21:03:05 +0000 (22:03 +0100)]
don't change the bell indicator from within background task

23 months agoavoid delta overflow in countdown draw
Joseph Bryant [Sun, 18 Aug 2024 20:50:41 +0000 (21:50 +0100)]
avoid delta overflow in countdown draw

23 months agomake sure we don't miss our scheduled tasks
Joseph Bryant [Sun, 18 Aug 2024 19:09:06 +0000 (20:09 +0100)]
make sure we don't miss our scheduled tasks

23 months agoStops Running cb_fast_tick when the watch debounce timer is defined as 0
David Volovskiy [Sat, 17 Aug 2024 06:52:30 +0000 (02:52 -0400)]
Stops Running cb_fast_tick when the watch debounce timer is defined as 0

23 months agoSet the debounce tick variables to 0 to make the face work the same as stock.
David Volovskiy [Sat, 17 Aug 2024 06:45:22 +0000 (02:45 -0400)]
Set the debounce tick variables to 0 to make the face work the same as stock.

2 years agoChanged debounce to ignore button presses after a press down or up rathe rthan dact...
David Volovskiy [Sun, 11 Aug 2024 15:00:08 +0000 (11:00 -0400)]
Changed debounce to ignore button presses after a press down or up rathe rthan dact after a set amount of time due to an issue of delay_ms allowing a shoft-bricking

2 years agoMade the days_in_month its own function
David Volovskiy [Sat, 10 Aug 2024 11:40:52 +0000 (07:40 -0400)]
Made the days_in_month its own function

2 years agoSwapped the bell and alarm icon on the clock face to match Casio's doc
David Volovskiy [Sat, 10 Aug 2024 10:38:46 +0000 (06:38 -0400)]
Swapped the bell and alarm icon on the clock face to match Casio's doc

2 years agofix: july has 31 days
Struan [Thu, 8 Aug 2024 04:24:57 +0000 (22:24 -0600)]
fix: july has 31 days

2 years agoMerge pull request #429 from theAlexes/theAlexes/format-command
atax1a [Wed, 7 Aug 2024 04:51:12 +0000 (04:51 +0000)]
Merge pull request #429 from theAlexes/theAlexes/format-command

add a format command

2 years agoexplain usage in format command when arg isn't YES
Alex Maestas [Mon, 5 Aug 2024 23:11:54 +0000 (23:11 +0000)]
explain usage in format command when arg isn't YES

2 years agoin filesystem_init, handle the error code correctly
Alex Maestas [Mon, 5 Aug 2024 23:09:24 +0000 (23:09 +0000)]
in filesystem_init, handle the error code correctly

2 years agoadd a format command
Alex Maestas [Mon, 5 Aug 2024 23:06:18 +0000 (23:06 +0000)]
add a format command

2 years agoMade it so the code works with a completely empty preset list
David Volovskiy [Sat, 3 Aug 2024 15:42:42 +0000 (11:42 -0400)]
Made it so the code works with a completely empty preset list

2 years agoFix to remove compiler complaint
David Volovskiy [Sat, 3 Aug 2024 15:38:45 +0000 (11:38 -0400)]
Fix to remove compiler complaint

2 years agoLeap Years Now Handled Dynamically
David Volovskiy [Sat, 3 Aug 2024 15:20:25 +0000 (11:20 -0400)]
Leap Years Now Handled Dynamically

2 years agoFix all days in a month
Christian Buschau [Sat, 3 Aug 2024 10:22:15 +0000 (12:22 +0200)]
Fix all days in a month

2 years agoadd temp input to simulator
Robert Masen [Fri, 2 Aug 2024 23:20:44 +0000 (18:20 -0500)]
add temp input to simulator

2 years agoMerge pull request #424 from edwardspeyer/bug-fix-july-31
atax1a [Wed, 31 Jul 2024 18:13:40 +0000 (18:13 +0000)]
Merge pull request #424 from edwardspeyer/bug-fix-july-31

Allow setting July 31st as today's date

2 years agoAllow setting July 31st as today's date
EGS [Wed, 31 Jul 2024 17:12:04 +0000 (18:12 +0100)]
Allow setting July 31st as today's date

To allow a valid date to be set the `set_time_face` cycles through the
valid days for a given month.  July was incorrectly encoded as having 30
days (it has 31!)

2 years agoBrought debounce time to 8ms rather than 15
David Volovskiy [Wed, 31 Jul 2024 11:33:25 +0000 (07:33 -0400)]
Brought debounce time to 8ms rather than 15

2 years agoMoved a few lines around to match main
David Volovskiy [Wed, 31 Jul 2024 11:25:09 +0000 (07:25 -0400)]
Moved a few lines around to match main

2 years agoUsing debounce that triggers when there's no change for Xms rather than just ignoring...
David Volovskiy [Wed, 31 Jul 2024 11:22:33 +0000 (07:22 -0400)]
Using debounce that triggers when there's no change for Xms rather than just ignoring new presses after Xms

2 years agoA little bit of clean-up
David Volovskiy [Tue, 30 Jul 2024 11:27:47 +0000 (07:27 -0400)]
A little bit of clean-up

2 years agoDelay for starting the debounce no loonger happens
David Volovskiy [Tue, 30 Jul 2024 03:53:25 +0000 (23:53 -0400)]
Delay for starting the debounce no loonger happens

2 years agoFixed stuck fast_tick
David Volovskiy [Tue, 30 Jul 2024 01:43:32 +0000 (21:43 -0400)]
Fixed stuck fast_tick

2 years agoCleaned up code
David Volovskiy [Tue, 30 Jul 2024 01:05:19 +0000 (21:05 -0400)]
Cleaned up code

2 years agousing cb_fast_tick again
David Volovskiy [Tue, 30 Jul 2024 00:48:17 +0000 (20:48 -0400)]
using cb_fast_tick again

2 years agoRevert "Leaving sleep with alarm button up doesn't trigger alarm button"
David Volovskiy [Tue, 30 Jul 2024 00:28:10 +0000 (20:28 -0400)]
Revert "Leaving sleep with alarm button up doesn't trigger alarm button"

This reverts commit 7d5aaf60caa943a248a7f635111ddfd50c230389.

2 years agoMade the debounce register rising edges rather than falling edges
David Volovskiy [Tue, 30 Jul 2024 00:13:54 +0000 (20:13 -0400)]
Made the debounce register rising edges rather than falling edges

2 years agoRemoved some dead code
David Volovskiy [Mon, 29 Jul 2024 22:24:58 +0000 (18:24 -0400)]
Removed some dead code

2 years agodebouince now uses cb_fast_tick and holding the button now also gets debounced
David Volovskiy [Mon, 29 Jul 2024 22:12:46 +0000 (18:12 -0400)]
debouince now uses cb_fast_tick and holding the button now also gets debounced

2 years agoLeaving sleep with alarm button up doesn't trigger alarm button
David Volovskiy [Mon, 29 Jul 2024 11:44:31 +0000 (07:44 -0400)]
Leaving sleep with alarm button up doesn't trigger alarm button

2 years agoAdded debouncing
David Volovskiy [Mon, 29 Jul 2024 11:39:51 +0000 (07:39 -0400)]
Added debouncing

2 years agoMerge pull request #420 from voloved/sunrise_sunset_presets
atax1a [Wed, 24 Jul 2024 04:49:03 +0000 (04:49 +0000)]
Merge pull request #420 from voloved/sunrise_sunset_presets

Added ability to add presets to the sunrise and sunset face

2 years agoMerge pull request #422 from wryun/fix-totp-lfs-error-params
Wesley Ellis [Sun, 21 Jul 2024 12:43:05 +0000 (08:43 -0400)]
Merge pull request #422 from wryun/fix-totp-lfs-error-params

Fix TOTP LFS printf string

2 years agoFix TOTP LFS printf string
James Haggerty [Sat, 20 Jul 2024 23:10:28 +0000 (09:10 +1000)]
Fix TOTP LFS printf string

2 years agoCode review commit
David Volovskiy [Sat, 20 Jul 2024 19:59:42 +0000 (15:59 -0400)]
Code review commit

2 years agoTypo in comment
David Volovskiy [Sat, 20 Jul 2024 18:48:32 +0000 (14:48 -0400)]
Typo in  comment

2 years agoLong press of Alarm goes back to default
David Volovskiy [Sat, 20 Jul 2024 18:46:42 +0000 (14:46 -0400)]
Long press of Alarm goes back to default

2 years agoAdded ability to add presets to the sunrise and sunset face
David Volovskiy [Sat, 20 Jul 2024 18:35:37 +0000 (14:35 -0400)]
Added ability to add presets to the sunrise and sunset face

2 years agoisolating this bit of complexity in movement function; Add ifdefs in clock faces...
David Volovskiy [Wed, 10 Jul 2024 11:22:55 +0000 (07:22 -0400)]
isolating this bit of complexity in movement function; Add ifdefs in clock faces for DCE

2 years agodocumentation fix
joeycastillo [Wed, 10 Jul 2024 10:56:49 +0000 (06:56 -0400)]
documentation fix

2 years agoremove dead code
joeycastillo [Wed, 10 Jul 2024 10:49:56 +0000 (06:49 -0400)]
remove dead code

2 years agoTypo fix on PREFERENCES_FACE_NUM_PREFERENCES
David Volovskiy [Mon, 8 Jul 2024 22:33:17 +0000 (18:33 -0400)]
Typo fix on PREFERENCES_FACE_NUM_PREFERENCES

2 years agoCLOCK_FACE_24H_ONLY hides the preference to change the setting and defaults the mode...
David Volovskiy [Mon, 8 Jul 2024 22:32:41 +0000 (18:32 -0400)]
CLOCK_FACE_24H_ONLY hides the preference to change the setting and defaults the mode to 24Hr mode

2 years agoMerge pull request #397 from madhogs/wyrun-totp-lfs-fix
atax1a [Mon, 8 Jul 2024 21:10:46 +0000 (21:10 +0000)]
Merge pull request #397 from madhogs/wyrun-totp-lfs-fix

Reduce totp_face_lfs memory usage

2 years agoAdd support for Sensor Watch Pro (#412)
Jose Castillo [Sat, 6 Jul 2024 15:07:02 +0000 (11:07 -0400)]
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

2 years agosilence warnings
joeycastillo [Sat, 6 Jul 2024 12:52:41 +0000 (08:52 -0400)]
silence warnings

2 years agoMerge pull request #408 from tahnok/sanity-check-color
Wesley Ellis [Wed, 26 Jun 2024 15:40:28 +0000 (11:40 -0400)]
Merge pull request #408 from tahnok/sanity-check-color

Check that color is valid

2 years agoCheck that color is valid
Wesley Ellis [Wed, 26 Jun 2024 15:30:31 +0000 (11:30 -0400)]
Check that color is valid

Instead of merely checking that COLOR is set, check that it is one of
RED, BLUE or GREEN

2 years agoReduce totp_face_lfs memory usage
James Haggerty [Wed, 10 Apr 2024 02:34:43 +0000 (12:34 +1000)]
Reduce totp_face_lfs memory usage

2 years agoMerge pull request #388 from TheOnePerson/fix-compile-errors
atax1a [Tue, 9 Apr 2024 22:24:19 +0000 (22:24 +0000)]
Merge pull request #388 from TheOnePerson/fix-compile-errors

Fix compile errors and warnings in movement.c and shell.c

2 years agoMerge pull request #389 from joeycastillo/theAlexes/add-openocd
atax1a [Tue, 9 Apr 2024 22:23:21 +0000 (22:23 +0000)]
Merge pull request #389 from joeycastillo/theAlexes/add-openocd

add an openocd.cfg for openocd 0.12.0

2 years agoadd the ability to set location and birthdate in movement config
madhogs [Mon, 18 Mar 2024 18:01:05 +0000 (18:01 +0000)]
add the ability to set location and birthdate in movement config

2 years agoMerge pull request #383 from theAlexes/theAlexes/fix-uf2conv
atax1a [Sun, 31 Mar 2024 00:40:05 +0000 (00:40 +0000)]
Merge pull request #383 from theAlexes/theAlexes/fix-uf2conv

uf2conv: argument to `re.split` should be a rawstring

2 years agoMerge pull request #385 from matheusmoreira/totp-hot-patch
atax1a [Sun, 31 Mar 2024 00:39:43 +0000 (00:39 +0000)]
Merge pull request #385 from matheusmoreira/totp-hot-patch

TOTP hotfix: reduce memory usage

2 years agoadd an openocd.cfg for openocd 0.12.0
Alex Maestas [Sun, 31 Mar 2024 00:37:35 +0000 (00:37 +0000)]
add an openocd.cfg for openocd 0.12.0

2 years agoFix compile errors and warnings in movement.c and shell.c
TheOnePerson [Fri, 29 Mar 2024 10:49:48 +0000 (11:49 +0100)]
Fix compile errors and warnings in movement.c and shell.c