369 Commits

Author SHA1 Message Date
Lorenzo Prosseda
3baff2f5a7 Avoid confusion between T and E on classic display
In place of T, display a + character in positions 4 and 6
2025-08-04 07:11:23 -04:00
Alessandro Genova
d903a827e9 Fix simulator deep sleep mode 2025-08-03 13:20:53 -04:00
Joey Castillo
410d32f2d0 silence warnings 2025-07-06 12:40:06 -04:00
voloved
154bd54510
Set time on make (#35)
* Time can get set from makefile

* Added setting make time into simulator

* Added  Hash in settings

* Added default location

* Cuts the Githash to 6 characters in the settings in case the makefile didn't do that already

* bump gossamer commit

* remove automatic timezone setting

* automatic time set: rename MAKEFILE_ to BUILD_ to match gossamer

* Revert "Added default location"

This reverts commit c24f69450fd40472c4f6cebb790a56c3f0d69cb6.

* silence warning

* watch_get_init_date_time: explicitly initialize all fields to 0

---------

Co-authored-by: Joey Castillo <joeycastillo@utexas.edu>
2025-07-06 10:56:27 -04:00
Ruben Nic
99b02ee0b5
Add support for custom display in the simulator (#26)
* Initial custom display SVG and display selection

* clean up SVG and add data-com and data-seg

* Fix signal's data-com and data-seg

* Revert "Fix signal's data-com and data-seg"

This reverts commit 82f8dc6a91973fb3b9e25e8e073a26d8996977ae.

* Update indicators mapping for custom display

* Align #ifs to the left
2025-06-30 19:34:16 -04:00
Joey Castillo
bf40e46036 bugfix: remove time_offset to get alarm handler working in simulator 2025-06-07 21:25:57 -06:00
Joey Castillo
7cf81ee9e0 set LED's drive strength to high 2025-05-27 20:40:06 -04:00
Joey Castillo
310ad3d095 watch_adc: enable ADC when checking battery; let's get rid of this footgun once and for all 2025-05-21 08:51:39 -04:00
Joey Castillo
f48058568a watch utility: make Friday all caps like the others 2025-05-21 00:53:13 -04:00
Joey Castillo
287f755edb slcd: we can fit these segment mappings into one byte 2025-05-20 23:50:09 -04:00
Joey Castillo
d43c216664 bugfix: need definition of colon as indicator for blinking on custom LCD 2025-05-20 23:42:22 -04:00
Joey Castillo
616bb08720 display detection: return straight away if LCD type was forced 2025-05-18 21:19:12 -04:00
Joey Castillo
5691a3f4f1 watch library: remove LCD autodetect, make selection manual 2025-05-18 21:04:49 -04:00
Joey Castillo
6840055067 claify sleep animatiion documentation 2025-05-17 23:35:14 -04:00
Joey Castillo
9ec51f026e watch_display_text_with_fallback: update documentation 2025-05-17 23:27:51 -04:00
Joey Castillo
a64386dd8e watch_display_string: update deprecation notes 2025-05-17 23:24:18 -04:00
Joey Castillo
1e9dc049bf clean up after detecting thermistor 2025-05-17 22:06:11 -04:00
Joey Castillo
80cbb0fe30 automatically detect temperature sensor 2025-05-17 10:23:38 -04:00
Joey Castillo
9e239c3f6d accelerometer: fail gracefully in absence of I2C bus 2025-05-16 01:12:38 -04:00
Joey Castillo
c5bda0faeb auto-detect accelerometer sensor (and don't fail build for lack of a temperature sensor) 2025-05-16 00:07:15 -04:00
Joey Castillo
60914647b1 watch_rtc clarification: 128 Hz is 0x80, not 0xF0 2025-05-15 22:12:12 -04:00
Joey Castillo
74d59a3cee resume disabling EIC in deep sleep 2025-05-13 18:46:48 -04:00
Joey Castillo
e0746e06f1 custom LCD now has an 'arrows' indicator instead of a battery 2025-05-12 22:37:37 -04:00
Joey Castillo
956b8601f6 enable filtering on button inputs 2025-05-12 22:25:27 -04:00
Joey Castillo
5059582e96 improved contrast on custom LCD 2025-05-11 20:16:40 -04:00
Joey Castillo
74923354b9 accelerometer: fix activity not being tracked in low energy mode 2025-04-30 07:44:15 -04:00
Joey Castillo
e435969b51 WIP: accelerometer activity tracking 2025-04-20 13:47:04 -04:00
Joey Castillo
6637f1780a fix sticky sleep icon on custom LCD 2025-03-29 10:36:05 -04:00
Joey Castillo
b8e1bb2a59 character set improvements 2025-03-15 19:53:00 -04:00
Joey Castillo
7d129ba6c3 world clock: support longer cities on custom LCD 2025-03-15 15:20:22 -04:00
Joey Castillo
c1efea4db7 lcd autodetect: use buttons as a backup option 2025-03-15 09:48:53 -04:00
Joey Castillo
f52b150c0b don't run LCD discovery if display is already running 2025-03-15 09:35:58 -04:00
Joey Castillo
5fa939786a fix warning in upstream musl function, see https://git.musl-libc.org/cgit/musl/commit/src/time/__year_to_secs.c\?id\=2d84486a08c57d00b647586b7cbe2dcec2728e81 2025-03-12 23:15:24 -04:00
Joey Castillo
2049febcf4 silence warning in new timezone renamer 2025-03-12 23:10:50 -04:00
Joey Castillo
be5be6c5da slcd: silence warnings 2025-03-12 23:09:50 -04:00
Joey Castillo
3243ec37f3 lis2dw driver: silence warnings 2025-03-12 23:08:42 -04:00
Joey Castillo
6c5df4b7d8 default to classic indicator addresses (fix for simulator) 2025-03-09 09:58:16 -04:00
Eirik Stanghelle Morland
81dc49adf4
Fix simulator LCD handling 2025-03-09 08:29:05 +01:00
Joey Castillo
a6313b28c0 fix implicit-function-declaration warning 2025-03-08 17:58:58 -05:00
Joey Castillo
ea47ea2bce improve sunrise/sunset on custom LCD 2025-03-08 17:40:39 -05:00
Joey Castillo
73aac153e2 note for future testing 2025-03-08 17:18:16 -05:00
Joey Castillo
d35a3ee8d1 nicer time zone names on new LCD 2025-03-08 17:17:40 -05:00
Joey Castillo
f745825a89 character set fix 2025-03-08 16:05:09 -05:00
Joey Castillo
138e91c6ef display glass autodetection 2025-03-08 13:43:11 -05:00
Joey Castillo
315cbb438e make Friday lowercase 2024-12-16 16:37:51 -05:00
Joey Castillo
251c4ba3c2 custom LCD: weekdays look better in uppercase 2024-12-13 19:03:27 -05:00
Joey Castillo
4b5e15cc1d accelrometer: add tap event, test by adding tap to set countdown 2024-11-27 18:04:17 -05:00
Joey Castillo
c2b800bb69 accelerometer: clarify this bit 2024-11-27 11:12:29 -05:00
Joey Castillo
a6f80ceb61 accelerometer: clarify purpose of this bit 2024-11-27 11:09:47 -05:00
joeycastillo
b00faa2b03 accelerometer: new hardware swaps interrupt wiring 2024-11-18 21:39:12 -05:00