]>
git.earman.xyz Git - sensor-watch.git/log
James Haggerty [Tue, 15 Nov 2022 09:32:53 +0000 (20:32 +1100)]
Set bell indicator on reactivating countdown/tomato faces
If you moved away and back to these faces, you'd lose the indicator. Not that the indicator here
seems very valuable, since it's not displayed on simple_clock_face, but at least
this makes things more consistent.
joeycastillo [Fri, 4 Nov 2022 00:29:31 +0000 (19:29 -0500)]
Merge pull request #120 from TheOnePerson/alarm-face-fix-24h-check
alarm-face: fix occasional crash (while checking for active alarms)
TheOnePerson [Thu, 3 Nov 2022 21:32:20 +0000 (22:32 +0100)]
alarm-face: fix occasional crash on checking for active alarms, fix 0 vs. 12 h in am/pm mode
James Haggerty [Tue, 1 Nov 2022 06:08:05 +0000 (17:08 +1100)]
Make the TOTP face use the filesystem for secret storage (#95)
* TOTP using filesystem
* Filesystem: ability to read files line by line
joeycastillo [Mon, 31 Oct 2022 06:09:13 +0000 (01:09 -0500)]
Merge pull request #114 from TheOnePerson/alarm-face-indicator-24h
Alarm face: make active alarm indicator show up only when there is an alarm set within the next 24 h
joeycastillo [Mon, 31 Oct 2022 06:06:08 +0000 (01:06 -0500)]
Merge pull request #115 from neutralinsomniac/use_movement_play_alarm_in_countdown_face
Make countdown face use movement_play_alarm() instead of movement_play_signal()
Jeremy O'Brien [Mon, 31 Oct 2022 00:35:43 +0000 (20:35 -0400)]
Make countdown face use movement_play_alarm() instead of movement_play_signal()
TheOnePerson [Sun, 30 Oct 2022 08:32:20 +0000 (09:32 +0100)]
alarm-face: make indicator show active alarms in 24h time range and implement UI tweak
- switch indicators: use signal indicator instead of bell indicator
- make indicator show up only when there is an active alarm in the next 24 h
- Implement "hidden" UI tweak: extra long press of the alarm button in normal mode jumps back to alarm no. 1
- update comments to reflect latest changes
joeycastillo [Sat, 29 Oct 2022 23:16:29 +0000 (18:16 -0500)]
Merge pull request #109 from TheOnePerson/auto-fire-long-press
Make movement auto fire long press event
joeycastillo [Sat, 29 Oct 2022 23:09:16 +0000 (18:09 -0500)]
make pulsometer face use new EVENT_ALARM_LONG_UP
joeycastillo [Sat, 29 Oct 2022 22:49:12 +0000 (17:49 -0500)]
Merge pull request #110 from wryun/fix-makefile-parallelism-linux
Fix Linux Makefile parallelism
James Haggerty [Sat, 29 Oct 2022 22:01:05 +0000 (09:01 +1100)]
Make countdown face reset to 0 (#90)
* Make countdown face reset to 0
It was annoying to have countdowns less than DEFAULT_MINUTES.
Admittedly, this does make DEFAULT_MINUTES fairly useless, since
we only ever see it the first time...
* Undo accidental change to movement_config.h
TheOnePerson [Wed, 26 Oct 2022 04:43:47 +0000 (06:43 +0200)]
Merge branch 'main' into auto-fire-long-press
TheOnePerson [Wed, 26 Oct 2022 02:57:53 +0000 (04:57 +0200)]
Add an Alarm face to movement (#96)
* Add movement_play_alarm_beeps() to movement.c and make alarm sounds customizable. Add alarm indicator to simple watch face.
* Add alarm face
* alarm_face: fix problem with disabling alarms for 00:00.
* Fix typos in comments and get rid of of unused variable warning
* remove unnecessary constant
* simple_clock_face: fix disappearing chime indicator after face switch, enable alarm indicator updates in app loop (for one-time alarms).
movement: handle situations where watch is in sleep mode and chimes fire off at the same time as alarms properly.
* alarm_face: tweak process of displaying things on the lcd. Add extra long and extra short alarms. Increase number of alarm slots to 16.
* alarm face: fix alarms playing one beeping round more than set.
* alarm face: add proper quick cycling of hour and minute setting
* alarm-face: correct am/pm indication and some minor tweaks. Reset movement_config.h to current main branch. simple-watch-face: Remove unnecessary check and swap indicators (alarm / hourly chime)
* alarm-face: reverse commit parts from another branch (accidentially commited logic depending on movement firmware auto firing the long press event)
Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
TheOnePerson [Tue, 25 Oct 2022 19:42:29 +0000 (21:42 +0200)]
movement: update comments regarding button events
TheOnePerson [Tue, 25 Oct 2022 19:28:06 +0000 (21:28 +0200)]
alarm-face: correct am/pm indication and implement some minor tweaks.
James Haggerty [Mon, 24 Oct 2022 22:24:54 +0000 (09:24 +1100)]
Fix Linux Makefile parallelism
Makefile != bourne shell, I think.
At least on my systems, this was causing a raw -j, which meant
that make had no restriction on its parallelism
(i.e. tried to build everything at once).
joeycastillo [Sun, 23 Oct 2022 20:07:35 +0000 (15:07 -0500)]
Merge pull request #103 from wryun/long-press-home-to-settings
Long press of mode on home screen goes to settings
joeycastillo [Sun, 23 Oct 2022 20:05:28 +0000 (15:05 -0500)]
make this an if/then to please emscripten
joeycastillo [Sun, 23 Oct 2022 19:59:03 +0000 (14:59 -0500)]
disable settings hiding by default
TheOnePerson [Sun, 23 Oct 2022 11:08:22 +0000 (13:08 +0200)]
alarm face: adjust quick cycling logic to new movement behavior regarding long press event
TheOnePerson [Sun, 23 Oct 2022 11:07:32 +0000 (13:07 +0200)]
Movement: implement auto firing of long press events and introduce long up event. (Also re-implement alarm_enabled and alarm_note)
joeycastillo [Sat, 22 Oct 2022 18:22:46 +0000 (13:22 -0500)]
Merge pull request #105 from niclashoyer/fix_schedule
Fix scheduled tasks scheduling another task
joeycastillo [Sat, 22 Oct 2022 18:16:46 +0000 (13:16 -0500)]
allow watch faces to schedule tasks from background
Niclas Hoyer [Thu, 20 Oct 2022 23:10:12 +0000 (01:10 +0200)]
fix scheduled tasks scheduling another task
David Singleton [Wed, 19 Oct 2022 04:30:05 +0000 (21:30 -0700)]
Adds a rate meter watchface (#101)
James Haggerty [Tue, 18 Oct 2022 23:24:02 +0000 (10:24 +1100)]
Long press of mode on home screen goes to settings
This also changes the default rotation so you don't see the settings
screens.
joeycastillo [Sat, 15 Oct 2022 13:52:34 +0000 (08:52 -0500)]
Merge pull request #94 from wryun/long-press-home-default
Long press mode button to return to first watch face + fix lag when watch face changes
joeycastillo [Wed, 12 Oct 2022 05:20:11 +0000 (00:20 -0500)]
use watch_face_changed property
joeycastillo [Wed, 12 Oct 2022 04:53:02 +0000 (23:53 -0500)]
document return value of watch_face_loop
joeycastillo [Wed, 12 Oct 2022 04:40:19 +0000 (23:40 -0500)]
no need to set this (set in movement_move_to_face)
joeycastillo [Wed, 12 Oct 2022 04:14:59 +0000 (23:14 -0500)]
don't sleep on watch face change
joeycastillo [Wed, 12 Oct 2022 03:14:13 +0000 (22:14 -0500)]
Merge pull request #93 from wryun/make-starter-proj-work-in-simulator
Make starter project work in simulator
joeycastillo [Wed, 12 Oct 2022 03:11:58 +0000 (22:11 -0500)]
add delay_ms function for simulator
joeycastillo [Wed, 12 Oct 2022 03:06:02 +0000 (22:06 -0500)]
only include watch_main_loop.h in simulator builds
James Haggerty [Wed, 12 Oct 2022 02:35:08 +0000 (13:35 +1100)]
Make long press mode go back to face 0 instead of next face
James Haggerty [Wed, 12 Oct 2022 00:59:43 +0000 (11:59 +1100)]
Make starter project work in simulator
Use the higher abstraction level sleeping.
joeycastillo [Wed, 12 Oct 2022 00:47:40 +0000 (19:47 -0500)]
Merge pull request #87 from wryun/readme-movement
Mention movement in the README (and link to website)
James Haggerty [Tue, 11 Oct 2022 10:19:55 +0000 (21:19 +1100)]
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.
Joey Castillo [Mon, 10 Oct 2022 03:58:42 +0000 (22:58 -0500)]
implement stubs to make simulator build happy
Joey Castillo [Mon, 10 Oct 2022 03:54:26 +0000 (22:54 -0500)]
restore default watch faces (oops)
Joey Castillo [Mon, 10 Oct 2022 03:50:31 +0000 (22:50 -0500)]
add watch face for frequency correction and measurement
joeycastillo [Sun, 9 Oct 2022 00:56:26 +0000 (19:56 -0500)]
Merge pull request #86 from michaelgruenewald/patch-1
Fix changed files detection in Make
Michael Gruenewald [Sat, 8 Oct 2022 20:23:30 +0000 (22:23 +0200)]
Disable all built-in Make rules
Michael Gruenewald [Fri, 7 Oct 2022 23:19:42 +0000 (01:19 +0200)]
Enable dependency files for the emscripten build
Michael Grünewald [Thu, 6 Oct 2022 21:09:59 +0000 (23:09 +0200)]
Fix DEPFILES
Joey Castillo [Sat, 17 Sep 2022 03:54:36 +0000 (22:54 -0500)]
add script for bulk flashing boards
Wesley Ellis [Sun, 4 Sep 2022 16:56:42 +0000 (12:56 -0400)]
Merge pull request #84 from jackbondpreston/main
add support for multiple TOTP keys
Jack Bond-Preston [Mon, 29 Aug 2022 00:11:02 +0000 (01:11 +0100)]
add support for multiple TOTP keys
Joey Castillo [Sun, 14 Aug 2022 20:23:19 +0000 (15:23 -0500)]
add watch_reset_to_bootloader function (resolves #81)
joeycastillo [Wed, 3 Aug 2022 17:56:52 +0000 (11:56 -0600)]
Merge pull request #80 from joeycastillo/lfs
Movement: add a lil file system with lfs
Joey Castillo [Tue, 2 Aug 2022 14:17:26 +0000 (08:17 -0600)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into lfs
joeycastillo [Mon, 25 Jul 2022 16:06:05 +0000 (12:06 -0400)]
Merge pull request #79 from jackbondpreston/main
movement: fix movement_request_wake() prototype
joshber [Mon, 25 Jul 2022 15:57:12 +0000 (11:57 -0400)]
Wake Face (#77)
Co-authored-by: Josh Berson <low.note0488@fastmail.com>
Jack Bond-Preston [Mon, 25 Jul 2022 14:17:02 +0000 (15:17 +0100)]
movement: fix movement_request_wake() prototype
This function has `void` args, currently it can throw a compiler warning
Joey Castillo [Sun, 17 Jul 2022 05:22:03 +0000 (00:22 -0500)]
movement: wake programmatically from background and play alarm
joeycastillo [Fri, 15 Jul 2022 02:34:53 +0000 (21:34 -0500)]
Merge pull request #78 from tahnok/fix-python3-uf2
Replace python with python3 for calling uf2conv
Wesley Ellis [Thu, 14 Jul 2022 18:42:32 +0000 (14:42 -0400)]
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
Joey Castillo [Wed, 6 Jul 2022 03:53:04 +0000 (22:53 -0500)]
new tests
Joey Castillo [Wed, 6 Jul 2022 03:51:30 +0000 (22:51 -0500)]
WIP new tests
Joey Castillo [Mon, 4 Jul 2022 16:23:09 +0000 (11:23 -0500)]
reduce flicker of LED by default
Joey Castillo [Sat, 11 Jun 2022 14:46:25 +0000 (10:46 -0400)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch
George Hahn [Mon, 30 May 2022 02:30:02 +0000 (20:30 -0600)]
Parallelize alternate fw builds (#66)
Joey Castillo [Sun, 22 May 2022 23:46:43 +0000 (19:46 -0400)]
Merge branch 'parallelize-builds' of https://github.com/GeorgeHahn/Sensor-Watch
Spencer Bywater [Sun, 22 May 2022 23:42:37 +0000 (16:42 -0700)]
Adjust probability watch face timeout/LE behavior (#72)
Display SLEEP instead of timing out
George Hahn [Thu, 19 May 2022 06:33:31 +0000 (00:33 -0600)]
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/
George Hahn [Wed, 18 May 2022 15:17:51 +0000 (09:17 -0600)]
Add Devcontainer as an easy dev environment option (#65)
Spencer Bywater [Wed, 18 May 2022 15:11:34 +0000 (08:11 -0700)]
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
Joey Castillo [Tue, 10 May 2022 13:50:44 +0000 (09:50 -0400)]
fix spaces / tabs
George Hahn [Tue, 10 May 2022 06:42:43 +0000 (00:42 -0600)]
fixup: restore deleted line
George Hahn [Tue, 10 May 2022 06:37:37 +0000 (00:37 -0600)]
Move parallel flag into makefile with crossplatform support
George Hahn [Tue, 10 May 2022 06:37:02 +0000 (00:37 -0600)]
Perform OS detection in makefile
George Hahn [Sat, 30 Apr 2022 04:55:36 +0000 (22:55 -0600)]
Parallelize builds
Joey Castillo [Tue, 10 May 2022 01:31:45 +0000 (21:31 -0400)]
unify on 32-bit signed lengths
Joey Castillo [Mon, 9 May 2022 17:17:51 +0000 (13:17 -0400)]
filesystem: only throw errors for negative error codes
Joey Castillo [Mon, 9 May 2022 17:01:12 +0000 (13:01 -0400)]
add file browser to movement, remove old app
Joey Castillo [Mon, 9 May 2022 16:55:58 +0000 (12:55 -0400)]
simulator: add USB serial input field
Joey Castillo [Mon, 9 May 2022 16:14:42 +0000 (12:14 -0400)]
first pass at filesystem in movement
Joey Castillo [Mon, 9 May 2022 16:03:24 +0000 (12:03 -0400)]
fix warning re: buffer overrun
Joey Castillo [Mon, 9 May 2022 14:59:15 +0000 (10:59 -0400)]
usb serial: clear whole length of buffer
Joey Castillo [Mon, 9 May 2022 14:57:16 +0000 (10:57 -0400)]
prevent buf from escaping into global namespace
Joey Castillo [Mon, 9 May 2022 14:54:13 +0000 (10:54 -0400)]
simulator: fix _read function signature
Joey Castillo [Mon, 9 May 2022 00:19:44 +0000 (20:19 -0400)]
add littlefs filesystem browser app
Joey Castillo [Mon, 9 May 2022 00:19:20 +0000 (20:19 -0400)]
add ability to read from USB serial
Joey Castillo [Fri, 6 May 2022 21:12:51 +0000 (17:12 -0400)]
bump library version
Joey Castillo [Fri, 6 May 2022 21:06:27 +0000 (17:06 -0400)]
add support for a small filesystem on the watch
Joey Castillo [Thu, 5 May 2022 16:09:47 +0000 (12:09 -0400)]
add room for flash filesystem in linker script
Joey Castillo [Thu, 5 May 2022 13:12:16 +0000 (08:12 -0500)]
add littlefs module
Joey Castillo [Mon, 2 May 2022 23:39:45 +0000 (18:39 -0500)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into motion-express
joeycastillo [Sat, 30 Apr 2022 13:35:30 +0000 (08:35 -0500)]
add CVE-2022-24765 to build-simulator
Joey Castillo [Thu, 21 Apr 2022 21:04:54 +0000 (17:04 -0400)]
milestone: watch library 0.0.1
Joey Castillo [Thu, 21 Apr 2022 19:37:12 +0000 (15:37 -0400)]
movement: only run custom commands at first launch
Joey Castillo [Thu, 21 Apr 2022 18:33:59 +0000 (14:33 -0400)]
deep space firmware: show voyager 1 mission day
Joey Castillo [Thu, 21 Apr 2022 18:12:16 +0000 (14:12 -0400)]
make 2022 the default year
Joey Castillo [Thu, 21 Apr 2022 17:34:49 +0000 (13:34 -0400)]
deep space firmware: prepopulate time zones
Joey Castillo [Thu, 21 Apr 2022 15:46:56 +0000 (11:46 -0400)]
stargazer firmware: make LED red by default
Joey Castillo [Thu, 21 Apr 2022 15:26:02 +0000 (11:26 -0400)]
freeze snapshot of standard firmware in alt_fw
Joey Castillo [Wed, 20 Apr 2022 21:18:58 +0000 (17:18 -0400)]
add mechanism for building alternate firmware images
Joey Castillo [Wed, 20 Apr 2022 15:44:21 +0000 (11:44 -0400)]
add counter face to movement build
Spencer Bywater [Wed, 20 Apr 2022 15:40:55 +0000 (08:40 -0700)]
Add break statement for EVENT_TICK in watch_face template (#64)