]> git.earman.xyz Git - sensor-watch.git/log
sensor-watch.git
3 years agodisable settings hiding by default
joeycastillo [Sun, 23 Oct 2022 19:59:03 +0000 (14:59 -0500)]
disable settings hiding by default

3 years agoLong press of mode on home screen goes to settings
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.

3 years agoMerge pull request #94 from wryun/long-press-home-default
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

3 years agouse watch_face_changed property
joeycastillo [Wed, 12 Oct 2022 05:20:11 +0000 (00:20 -0500)]
use watch_face_changed property

3 years agodocument return value of watch_face_loop
joeycastillo [Wed, 12 Oct 2022 04:53:02 +0000 (23:53 -0500)]
document return value of watch_face_loop

3 years agono need to set this (set in movement_move_to_face)
joeycastillo [Wed, 12 Oct 2022 04:40:19 +0000 (23:40 -0500)]
no need to set this (set in movement_move_to_face)

3 years agodon't sleep on watch face change
joeycastillo [Wed, 12 Oct 2022 04:14:59 +0000 (23:14 -0500)]
don't sleep on watch face change

3 years agoMerge pull request #93 from wryun/make-starter-proj-work-in-simulator
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

3 years agoadd delay_ms function for simulator
joeycastillo [Wed, 12 Oct 2022 03:11:58 +0000 (22:11 -0500)]
add delay_ms function for simulator

3 years agoonly include watch_main_loop.h in simulator builds
joeycastillo [Wed, 12 Oct 2022 03:06:02 +0000 (22:06 -0500)]
only include watch_main_loop.h in simulator builds

3 years agoMake long press mode go back to face 0 instead of next face
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

3 years agoMake starter project work in simulator
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.

3 years agoMerge pull request #87 from wryun/readme-movement
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)

3 years agoMention 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.

3 years agoimplement stubs to make simulator build happy
Joey Castillo [Mon, 10 Oct 2022 03:58:42 +0000 (22:58 -0500)]
implement stubs to make simulator build happy

3 years agorestore default watch faces (oops)
Joey Castillo [Mon, 10 Oct 2022 03:54:26 +0000 (22:54 -0500)]
restore default watch faces (oops)

3 years agoadd watch face for frequency correction and measurement
Joey Castillo [Mon, 10 Oct 2022 03:50:31 +0000 (22:50 -0500)]
add watch face for frequency correction and measurement

3 years agoMerge pull request #86 from michaelgruenewald/patch-1
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

3 years agoDisable all built-in Make rules
Michael Gruenewald [Sat, 8 Oct 2022 20:23:30 +0000 (22:23 +0200)]
Disable all built-in Make rules

3 years agoEnable dependency files for the emscripten build
Michael Gruenewald [Fri, 7 Oct 2022 23:19:42 +0000 (01:19 +0200)]
Enable dependency files for the emscripten build

3 years agoFix DEPFILES
Michael Grünewald [Thu, 6 Oct 2022 21:09:59 +0000 (23:09 +0200)]
Fix DEPFILES

3 years agoadd script for bulk flashing boards
Joey Castillo [Sat, 17 Sep 2022 03:54:36 +0000 (22:54 -0500)]
add script for bulk flashing boards

3 years agoMerge pull request #84 from jackbondpreston/main
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

3 years agoadd 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

4 years agoadd watch_reset_to_bootloader function (resolves #81)
Joey Castillo [Sun, 14 Aug 2022 20:23:19 +0000 (15:23 -0500)]
add watch_reset_to_bootloader function (resolves #81)

4 years agoMerge pull request #80 from joeycastillo/lfs
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

4 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch into 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

4 years agoMerge pull request #79 from jackbondpreston/main
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

4 years agoWake Face (#77)
joshber [Mon, 25 Jul 2022 15:57:12 +0000 (11:57 -0400)]
Wake Face (#77)

Co-authored-by: Josh Berson <low.note0488@fastmail.com>
4 years agomovement: fix movement_request_wake() prototype
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

4 years agomovement: wake programmatically from background and play alarm
Joey Castillo [Sun, 17 Jul 2022 05:22:03 +0000 (00:22 -0500)]
movement: wake programmatically from background and play alarm

4 years agoMerge pull request #78 from tahnok/fix-python3-uf2
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

4 years agoReplace 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

4 years agonew tests
Joey Castillo [Wed, 6 Jul 2022 03:53:04 +0000 (22:53 -0500)]
new tests

4 years agoWIP new tests
Joey Castillo [Wed, 6 Jul 2022 03:51:30 +0000 (22:51 -0500)]
WIP new tests

4 years agoreduce flicker of LED by default
Joey Castillo [Mon, 4 Jul 2022 16:23:09 +0000 (11:23 -0500)]
reduce flicker of LED by default

4 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch
Joey Castillo [Sat, 11 Jun 2022 14:46:25 +0000 (10:46 -0400)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch

4 years agoParallelize alternate fw builds (#66)
George Hahn [Mon, 30 May 2022 02:30:02 +0000 (20:30 -0600)]
Parallelize alternate fw builds (#66)

4 years agoMerge branch 'parallelize-builds' of https://github.com/GeorgeHahn/Sensor-Watch
Joey Castillo [Sun, 22 May 2022 23:46:43 +0000 (19:46 -0400)]
Merge branch 'parallelize-builds' of https://github.com/GeorgeHahn/Sensor-Watch

4 years agoAdjust probability watch face timeout/LE behavior (#72)
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

4 years agoMake submodule and directory rules order-only prerequisites on objects
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/

4 years agoAdd Devcontainer as an easy dev environment option (#65)
George Hahn [Wed, 18 May 2022 15:17:51 +0000 (09:17 -0600)]
Add Devcontainer as an easy dev environment option (#65)

4 years agoProbability watch face (#69)
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

4 years agofix spaces / tabs
Joey Castillo [Tue, 10 May 2022 13:50:44 +0000 (09:50 -0400)]
fix spaces / tabs

4 years agofixup: restore deleted line
George Hahn [Tue, 10 May 2022 06:42:43 +0000 (00:42 -0600)]
fixup: restore deleted line

4 years agoMove parallel flag into makefile with crossplatform support
George Hahn [Tue, 10 May 2022 06:37:37 +0000 (00:37 -0600)]
Move parallel flag into makefile with crossplatform support

4 years agoPerform OS detection in makefile
George Hahn [Tue, 10 May 2022 06:37:02 +0000 (00:37 -0600)]
Perform OS detection in makefile

4 years agoParallelize builds
George Hahn [Sat, 30 Apr 2022 04:55:36 +0000 (22:55 -0600)]
Parallelize builds

4 years agounify on 32-bit signed lengths
Joey Castillo [Tue, 10 May 2022 01:31:45 +0000 (21:31 -0400)]
unify on 32-bit signed lengths

4 years agofilesystem: only throw errors for negative error codes
Joey Castillo [Mon, 9 May 2022 17:17:51 +0000 (13:17 -0400)]
filesystem: only throw errors for negative error codes

4 years agoadd file browser to movement, remove old app
Joey Castillo [Mon, 9 May 2022 17:01:12 +0000 (13:01 -0400)]
add file browser to movement, remove old app

4 years agosimulator: add USB serial input field
Joey Castillo [Mon, 9 May 2022 16:55:58 +0000 (12:55 -0400)]
simulator: add USB serial input field

4 years agofirst pass at filesystem in movement
Joey Castillo [Mon, 9 May 2022 16:14:42 +0000 (12:14 -0400)]
first pass at filesystem in movement

4 years agofix warning re: buffer overrun
Joey Castillo [Mon, 9 May 2022 16:03:24 +0000 (12:03 -0400)]
fix warning re: buffer overrun

4 years agousb serial: clear whole length of buffer
Joey Castillo [Mon, 9 May 2022 14:59:15 +0000 (10:59 -0400)]
usb serial: clear whole length of buffer

4 years agoprevent buf from escaping into global namespace
Joey Castillo [Mon, 9 May 2022 14:57:16 +0000 (10:57 -0400)]
prevent buf from escaping into global namespace

4 years agosimulator: fix _read function signature
Joey Castillo [Mon, 9 May 2022 14:54:13 +0000 (10:54 -0400)]
simulator: fix _read function signature

4 years agoadd littlefs filesystem browser app
Joey Castillo [Mon, 9 May 2022 00:19:44 +0000 (20:19 -0400)]
add littlefs filesystem browser app

4 years agoadd ability to read from USB serial
Joey Castillo [Mon, 9 May 2022 00:19:20 +0000 (20:19 -0400)]
add ability to read from USB serial

4 years agobump library version
Joey Castillo [Fri, 6 May 2022 21:12:51 +0000 (17:12 -0400)]
bump library version

4 years agoadd support for a small filesystem on the watch
Joey Castillo [Fri, 6 May 2022 21:06:27 +0000 (17:06 -0400)]
add support for a small filesystem on the watch

4 years agoadd room for flash filesystem in linker script
Joey Castillo [Thu, 5 May 2022 16:09:47 +0000 (12:09 -0400)]
add room for flash filesystem in linker script

4 years agoadd littlefs module
Joey Castillo [Thu, 5 May 2022 13:12:16 +0000 (08:12 -0500)]
add littlefs module

4 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch into motion-express
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

4 years agoadd CVE-2022-24765 to build-simulator
joeycastillo [Sat, 30 Apr 2022 13:35:30 +0000 (08:35 -0500)]
add CVE-2022-24765 to build-simulator

4 years agomilestone: watch library 0.0.1
Joey Castillo [Thu, 21 Apr 2022 21:04:54 +0000 (17:04 -0400)]
milestone: watch library 0.0.1

4 years agomovement: only run custom commands at first launch
Joey Castillo [Thu, 21 Apr 2022 19:37:12 +0000 (15:37 -0400)]
movement: only run custom commands at first launch

4 years agodeep space firmware: show voyager 1 mission day
Joey Castillo [Thu, 21 Apr 2022 18:33:59 +0000 (14:33 -0400)]
deep space firmware: show voyager 1 mission day

4 years agomake 2022 the default year
Joey Castillo [Thu, 21 Apr 2022 18:12:16 +0000 (14:12 -0400)]
make 2022 the default year

4 years agodeep space firmware: prepopulate time zones
Joey Castillo [Thu, 21 Apr 2022 17:34:49 +0000 (13:34 -0400)]
deep space firmware: prepopulate time zones

4 years agostargazer firmware: make LED red by default
Joey Castillo [Thu, 21 Apr 2022 15:46:56 +0000 (11:46 -0400)]
stargazer firmware: make LED red by default

4 years agofreeze snapshot of standard firmware in alt_fw
Joey Castillo [Thu, 21 Apr 2022 15:26:02 +0000 (11:26 -0400)]
freeze snapshot of standard firmware in alt_fw

4 years agoadd mechanism for building alternate firmware images
Joey Castillo [Wed, 20 Apr 2022 21:18:58 +0000 (17:18 -0400)]
add mechanism for building alternate firmware images

4 years agoadd counter face to movement build
Joey Castillo [Wed, 20 Apr 2022 15:44:21 +0000 (11:44 -0400)]
add counter face to movement build

4 years agoAdd break statement for EVENT_TICK in watch_face template (#64)
Spencer Bywater [Wed, 20 Apr 2022 15:40:55 +0000 (08:40 -0700)]
Add break statement for EVENT_TICK in watch_face template (#64)

4 years agowork around CVE-2022-24765
Joey Castillo [Wed, 20 Apr 2022 12:50:25 +0000 (08:50 -0400)]
work around CVE-2022-24765

4 years agoupdate checkout action (unsafe directory fix)
Joey Castillo [Wed, 20 Apr 2022 12:38:39 +0000 (08:38 -0400)]
update checkout action (unsafe directory fix)

4 years agoMerge branch 'mars-clock'
Joey Castillo [Wed, 20 Apr 2022 12:25:45 +0000 (08:25 -0400)]
Merge branch 'mars-clock'

4 years agorewrite lis2dh logger for lis2dw
Joey Castillo [Sun, 10 Apr 2022 22:08:37 +0000 (18:08 -0400)]
rewrite lis2dh logger for lis2dw

4 years agoremove old lis2dh driver
Joey Castillo [Sun, 10 Apr 2022 20:21:12 +0000 (16:21 -0400)]
remove old lis2dh driver

4 years agomake A1-05 the default board (final hardware)
Joey Castillo [Sun, 10 Apr 2022 19:57:13 +0000 (15:57 -0400)]
make A1-05 the default board (final hardware)

4 years agoremove all deprecated functions
Joey Castillo [Sun, 10 Apr 2022 19:56:45 +0000 (15:56 -0400)]
remove all deprecated functions

4 years agoworld clock: fix glitch when exiting settings mode
Joey Castillo [Sun, 10 Apr 2022 19:18:36 +0000 (15:18 -0400)]
world clock: fix glitch when exiting settings mode

4 years agostatic analysis: add comments to empty while loops
Joey Castillo [Sun, 10 Apr 2022 19:07:58 +0000 (15:07 -0400)]
static analysis: add comments to empty while loops

4 years agostatic analysis: make __write static to avoid confusion
Joey Castillo [Sun, 10 Apr 2022 18:51:13 +0000 (14:51 -0400)]
static analysis: make __write static to avoid confusion

4 years agostatic analysis: use parentheses around binary operators
Joey Castillo [Sun, 10 Apr 2022 18:45:21 +0000 (14:45 -0400)]
static analysis: use parentheses around binary operators

4 years agocharset tweaks: no need to run deeper checks
Joey Castillo [Sun, 10 Apr 2022 18:38:15 +0000 (14:38 -0400)]
charset tweaks: no need to run deeper checks

4 years agoadd rule for static analysis
Joey Castillo [Sun, 10 Apr 2022 16:45:21 +0000 (12:45 -0400)]
add rule for static analysis

4 years agomars clock: formatting
Joey Castillo [Wed, 6 Apr 2022 19:55:06 +0000 (15:55 -0400)]
mars clock: formatting

4 years agomars clock: use S without cross-stroke for clarity
Joey Castillo [Wed, 6 Apr 2022 19:54:31 +0000 (15:54 -0400)]
mars clock: use S without cross-stroke for clarity

4 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch into mars-clock
Joey Castillo [Wed, 6 Apr 2022 19:53:32 +0000 (15:53 -0400)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into mars-clock

4 years agocharacter map tweaks: add some ligatures and symbols
Joey Castillo [Wed, 6 Apr 2022 19:51:06 +0000 (15:51 -0400)]
character map tweaks: add some ligatures and symbols

4 years agoRevert "make lowercase s look distinct"
Joey Castillo [Wed, 6 Apr 2022 19:12:37 +0000 (15:12 -0400)]
Revert "make lowercase s look distinct"

This reverts commit 2cba47996ed08c83b7c9b2ba521b68fb8a62f666.

4 years agoMerge branch 'main' into mars-clock
Joey Castillo [Wed, 6 Apr 2022 19:12:03 +0000 (15:12 -0400)]
Merge branch 'main' into mars-clock

4 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch into mars-clock
Joey Castillo [Wed, 6 Apr 2022 18:56:18 +0000 (14:56 -0400)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into mars-clock

4 years agoMerge branch 'main' of github.com:joeycastillo/Sensor-Watch into main
Joey Castillo [Wed, 6 Apr 2022 18:33:29 +0000 (14:33 -0400)]
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into main

4 years agoAdd tomato face: a pomodoro style timer (#61)
Wesley Ellis [Wed, 6 Apr 2022 18:33:24 +0000 (14:33 -0400)]
Add tomato face: a pomodoro style timer (#61)

4 years agomoon phase: light LED on press like other faces
Joey Castillo [Sun, 3 Apr 2022 19:47:26 +0000 (15:47 -0400)]
moon phase: light LED on press like other faces

4 years agotime set: fix PM not appearing at noon in 12h mode
Joey Castillo [Sat, 2 Apr 2022 14:12:26 +0000 (10:12 -0400)]
time set: fix PM not appearing at noon in 12h mode

4 years agomovement: final list of watch faces for stock firmware
Joey Castillo [Sat, 2 Apr 2022 14:06:08 +0000 (10:06 -0400)]
movement: final list of watch faces for stock firmware