joeycastillo
6d87f5a626
Merge pull request #79 from jackbondpreston/main
...
movement: fix movement_request_wake() prototype
2022-07-25 12:06:05 -04:00
joshber
f120d66a98
Wake Face ( #77 )
...
Co-authored-by: Josh Berson <low.note0488@fastmail.com>
2022-07-25 11:57:12 -04:00
Jack Bond-Preston
b07b548681
movement: fix movement_request_wake() prototype
...
This function has `void` args, currently it can throw a compiler warning
2022-07-25 15:17:02 +01:00
Joey Castillo
b234db74fe
movement: wake programmatically from background and play alarm
2022-07-17 00:23:38 -05:00
joeycastillo
8d7748b1ad
Merge pull request #78 from tahnok/fix-python3-uf2
...
Replace python with python3 for calling uf2conv
2022-07-14 21:34:53 -05:00
Wesley Ellis
6f96e848c2
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
2022-07-14 14:42:32 -04:00
Joey Castillo
87da5f15ea
new tests
2022-07-05 22:53:44 -05:00
Joey Castillo
3c5114ba4c
WIP new tests
2022-07-05 22:53:44 -05:00
Joey Castillo
5b650b9efe
reduce flicker of LED by default
2022-07-04 11:23:09 -05:00
Joey Castillo
4fb022edb6
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch
2022-06-11 10:46:25 -04:00
George Hahn
a4fc6204ce
Parallelize alternate fw builds ( #66 )
2022-05-29 22:30:02 -04:00
Joey Castillo
040267fe3d
Merge branch 'parallelize-builds' of https://github.com/GeorgeHahn/Sensor-Watch
2022-05-22 19:46:43 -04:00
Spencer Bywater
6ed757af2b
Adjust probability watch face timeout/LE behavior ( #72 )
...
Display SLEEP instead of timing out
2022-05-22 19:42:37 -04:00
George Hahn
c40d75b876
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/
2022-05-19 00:33:31 -06:00
George Hahn
1f6f11eb60
Add Devcontainer as an easy dev environment option ( #65 )
2022-05-18 11:17:51 -04:00
Spencer Bywater
96aaa47c8e
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
2022-05-18 11:11:34 -04:00
Joey Castillo
ed526355f6
fix spaces / tabs
2022-05-10 09:50:44 -04:00
George Hahn
190dca0a77
fixup: restore deleted line
2022-05-10 00:42:43 -06:00
George Hahn
0ab63691f2
Move parallel flag into makefile with crossplatform support
2022-05-10 00:37:37 -06:00
George Hahn
0269681ac3
Perform OS detection in makefile
2022-05-10 00:37:02 -06:00
George Hahn
9d8ef5c2e8
Parallelize builds
2022-05-10 00:16:20 -06:00
Joey Castillo
3a9dd0df08
unify on 32-bit signed lengths
2022-05-09 21:33:45 -04:00
Joey Castillo
8455bfc9a5
filesystem: only throw errors for negative error codes
2022-05-09 13:17:51 -04:00
Joey Castillo
e71a70d231
add file browser to movement, remove old app
2022-05-09 13:05:37 -04:00
Joey Castillo
22b1ac0283
simulator: add USB serial input field
2022-05-09 13:00:15 -04:00
Joey Castillo
21ee056e26
first pass at filesystem in movement
2022-05-09 12:14:42 -04:00
Joey Castillo
91b436237a
fix warning re: buffer overrun
2022-05-09 12:03:24 -04:00
Joey Castillo
32c6974c0f
usb serial: clear whole length of buffer
2022-05-09 10:59:15 -04:00
Joey Castillo
03b616da62
prevent buf from escaping into global namespace
2022-05-09 10:57:16 -04:00
Joey Castillo
0c87114ee1
simulator: fix _read function signature
2022-05-09 10:55:28 -04:00
Joey Castillo
a54220d95a
add littlefs filesystem browser app
2022-05-08 20:19:44 -04:00
Joey Castillo
661e2b6a73
add ability to read from USB serial
2022-05-08 20:19:20 -04:00
Joey Castillo
838102a7e9
bump library version
2022-05-06 17:12:51 -04:00
Joey Castillo
d4ebe64af0
add support for a small filesystem on the watch
2022-05-06 17:12:14 -04:00
Joey Castillo
21026c8eb7
add room for flash filesystem in linker script
2022-05-06 15:17:57 -04:00
Joey Castillo
3ee5749d89
add littlefs module
2022-05-05 08:12:16 -05:00
Joey Castillo
cd40573535
Merge branch 'main' of github.com:joeycastillo/Sensor-Watch into motion-express
2022-05-02 18:39:45 -05:00
joeycastillo
35d1f5e647
add CVE-2022-24765 to build-simulator
2022-04-30 08:35:30 -05:00
Joey Castillo
aa94739e7e
milestone: watch library 0.0.1
2022-04-21 17:04:54 -04:00
Joey Castillo
e36af0e5a3
movement: only run custom commands at first launch
2022-04-21 15:37:12 -04:00
Joey Castillo
c78b8d4570
deep space firmware: show voyager 1 mission day
2022-04-21 14:33:59 -04:00
Joey Castillo
9c2b3b7c17
make 2022 the default year
2022-04-21 14:18:17 -04:00
Joey Castillo
cedfe72ced
deep space firmware: prepopulate time zones
2022-04-21 13:40:58 -04:00
Joey Castillo
a6024e9fda
stargazer firmware: make LED red by default
2022-04-21 13:40:58 -04:00
Joey Castillo
19dac66a3b
freeze snapshot of standard firmware in alt_fw
2022-04-21 11:26:02 -04:00
Joey Castillo
b0bdf35d8f
add mechanism for building alternate firmware images
2022-04-20 17:21:47 -04:00
Joey Castillo
263e7c6543
add counter face to movement build
2022-04-20 15:48:04 -04:00
Spencer Bywater
949ca2227f
Add break statement for EVENT_TICK in watch_face template ( #64 )
2022-04-20 11:40:55 -04:00
Joey Castillo
8019563072
work around CVE-2022-24765
2022-04-20 08:50:25 -04:00
Joey Castillo
81b27b7f16
update checkout action (unsafe directory fix)
2022-04-20 08:38:39 -04:00