mark9064
99e5fab060
Clear ongoing taps when going to sleep
2024-09-28 00:43:03 +01:00
Reinhold Gschweicher
997e4cee8c
Hrs3300: fix includes for std::begin/std::end
...
CI / build-firmware (push) Successful in 5m35s
CI / build-simulator (push) Failing after 2s
CI / get-base-ref-size (push) Has been skipped
CI / Compare build size (push) Has been skipped
Fix for Hrs3300 PR about Atomic HRS reads:
https://github.com/InfiniTimeOrg/InfiniTime/pull/1845
We use `std::begin` and `std::end`, but we don't include one of the
headers that define those functions.
See https://en.cppreference.com/w/cpp/iterator/begin for a list of
headers that define `std::begin` and `std::end`.
Starting with GCC 14 this leads to a compilation error presumably
because they cleaned up their headers.
Fix code by inlcuding `<iterator>`
2024-09-22 16:15:48 +02:00
mark9064
ad3bf49c7b
Atomic HRS reads ( #1845 )
...
CI / build-firmware (push) Successful in 5m25s
CI / build-simulator (push) Failing after 2s
CI / get-base-ref-size (push) Has been skipped
CI / Compare build size (push) Has been skipped
- Combine the reading of all `HRS3300` registers into one I2C read so data is not partial
- Downsizes both HRS and ALS to 16bit as the sensor does not generate larger than
16bit values in its current configuration
- Increasing the resolution by 1 bit doubles the sensor acquisition time,
since we are already at 10Hz we are never going to use a higher resolution
- The PPG algorithm buffers for ALS/HRS are already 16bit anyway
- Remove functions for setting gain / drive that are unused throughout the codebase
- Calculate constants with constexpr
2024-09-22 00:29:15 +02:00
mark9064
7ca0418c82
Refactor doNotGoToSleep to a wakelock counter
CI / build-firmware (push) Successful in 6m20s
CI / build-simulator (push) Failing after 22s
CI / get-base-ref-size (push) Has been skipped
CI / Compare build size (push) Has been skipped
2024-09-21 22:45:57 +02:00
mark9064
c3d05901a0
Refactor SystemTask state handling for resilience
...
State transitions now happen immediately where possible
This simplifies state management in general,
and prevents bugs such as the chime issue from occurring in the first place
2024-09-21 21:08:07 +02:00
mark9064
b3756e45fa
Remove unused method declarations
2024-09-21 21:08:07 +02:00
Eli Tan
a266202831
notifications: Dismiss to watchface when empty ( #1716 )
...
CI / build-firmware (push) Successful in 6m40s
CI / build-simulator (push) Failing after 24s
CI / get-base-ref-size (push) Has been skipped
CI / Compare build size (push) Has been skipped
Set `running` to false to flag end of watchface when there are no more
notifications left to display.
I found it slightly annoying that dismissing all notifications leaves me with
a "No notification to display" message. Instead of dismissing to a relatively
useless message, dismiss to watchface.
2024-09-18 22:31:15 +02:00
mark9064
c8236afbef
Restrict debugging monitor to debug builds
CI / build-firmware (push) Successful in 6m31s
CI / build-simulator (push) Failing after 22s
CI / get-base-ref-size (push) Has been skipped
CI / Compare build size (push) Has been skipped
2024-09-14 12:10:55 +02:00
mark9064
5040733a97
Clean unused DisplayApp messages
2024-09-14 12:10:14 +02:00
mark9064
fd019c7aad
Use DirtyValue for timer
2024-09-14 11:20:47 +02:00
mark9064
975bfc5420
Size optimise NRF SDK build
2024-09-14 11:19:34 +02:00
Victor Kareh
2625ed39e5
DisplayApp: Go to clock on sleep if no app loaded
...
CI / build-firmware (push) Successful in 5m34s
CI / build-simulator (push) Failing after 2s
CI / get-base-ref-size (push) Has been skipped
CI / Compare build size (push) Has been skipped
When turning off the screen, if there is no actual app loaded (i.e. we
are still in the Launcher, Notifications, QuickSettings, or Settings
screens) we should just reload the Clock app directly.
2024-08-22 17:34:25 +02:00
Derry Tutt
a3dbcd62f6
Documentation improvements ( #2091 )
...
CI / build-firmware (push) Successful in 6m32s
CI / build-simulator (push) Failing after 25s
CI / get-base-ref-size (push) Has been skipped
CI / Compare build size (push) Has been skipped
Add documentation about watch faces and applications.
Update getting started documentation.
Co-authored-by: tituscmd <154823939+tituscmd@users.noreply.github.com>
2024-08-18 16:18:15 +02:00
mark9064
4fddf93114
Advertise HR service
2024-08-18 12:00:13 +02:00
Derry Tutt
83922fb3de
Remove space before colon
2024-08-18 11:58:56 +02:00
Felipe Martínez
95917c65a5
Update main.yml
2024-08-18 11:55:03 +02:00
Jean-François Milants
3a0d673df4
Display the SPI flash JEDEC IDs in SystemInformation.
...
CI / build-firmware (push) Successful in 5m33s
CI / build-simulator (push) Failing after 2s
CI / get-base-ref-size (push) Has been skipped
CI / Compare build size (push) Has been skipped
This is needed since a new memory chip will be used in future batches of PineTimes.
2024-08-05 20:34:41 +02:00
mark9064
53dc9dafe7
aod: simplify AOD disablement based on notification status
2024-08-05 20:32:43 +02:00
mark9064
a407902b06
aod: avoid spinning DisplayApp under high LVGL load
2024-08-05 20:32:43 +02:00
mark9064
3e8accde69
aod: run LVGL task handler until all work finished
2024-08-05 20:32:43 +02:00
mark9064
2bb611db8e
aod: constant frequency idle frames
2024-08-05 20:32:43 +02:00
mark9064
ef88e8165c
aod: porch control: 2Hz idle + 75Hz on
2024-08-05 20:32:43 +02:00
mark9064
da9ab4a7b4
aod: lower lcd voltage
2024-08-05 20:32:43 +02:00
John Crawford
0bcd7e0009
aod: lower voltage going to the display
2024-08-05 20:32:43 +02:00
mark9064
bf69e0dcc5
aod: fix flashlight brightness restore
2024-08-05 20:32:43 +02:00
mark9064
947c4f5067
aod: fix brightness getting stuck high
2024-08-05 20:32:43 +02:00
John Crawford
0960d67001
aod: lower refresh rate when always on
2024-08-05 20:32:43 +02:00
John Crawford
5385f7e275
aod: switch to 8 colors when always on
2024-08-05 20:32:43 +02:00
John Crawford
e884b053d3
aod: disable while in notification sleep
2024-08-05 20:32:43 +02:00
John Crawford
85a2181b64
aod: integrate with display timeout
2024-08-05 20:32:43 +02:00
mark9064
3dca742b65
aod: PPI/RTC-based backlight brightness
2024-08-05 20:32:43 +02:00
KaffeinatedKat
20ac7e8df3
feat: always on display
2024-08-05 20:32:43 +02:00
mark9064
f8f8993fac
Batch display command arguments
2024-06-19 17:25:15 +02:00
Max Buchholz
fdc3b8badb
README: Change links from Pine wiki to new documentation
...
As the Wiki was replaced by a new documentation website and is read-only, we should update the links, to point to the most up-to-date documentation.
2024-06-15 12:00:37 +02:00
Jean-François Milants
f9a16feeaf
Continuous time updates
...
Add TODO.md in src/components/datetime. This file give detailed information about a refactoring of the DateTimeController that would be nice to do in the future.
2024-06-09 18:34:07 +02:00
mark9064
4930c0cab7
Include assert (fix sim)
2024-06-09 18:34:07 +02:00
mark9064
a449b272f7
Continuous time updates
2024-06-09 18:34:07 +02:00
Felipe Martínez
9e406c70f9
Remove unnecessary BMA421 reads
2024-06-02 15:48:26 +02:00
Felipe Martinez
0c87bc27b2
Move motorController.Init call to DisplayApp::Start
2024-06-02 15:14:02 +02:00
mark9064
0dcfb2edb7
Fix erratum 58 workaround
2024-05-12 13:57:12 +02:00
mark9064
06c6935315
Include task header (Fixes sim)
2024-05-01 16:17:59 +02:00
mark9064
47c104643d
Move includes back
2024-05-01 16:17:59 +02:00
mark9064
7b1110187e
Apply display driver datasheet delays
2024-05-01 16:17:59 +02:00
mark9064
7e460d3c80
Use FreeRTOS delay instead of spinning the CPU
2024-05-01 16:17:59 +02:00
mark9064
7a9211587a
Rename to pre-transaction hook
2024-05-01 16:13:47 +02:00
mark9064
24e6a2f8ab
Avoid storing lambda
2024-05-01 16:13:47 +02:00
mark9064
9a7ba405e1
Refactor lambdas
2024-05-01 16:13:47 +02:00
mark9064
940cd3459f
Use functional abstraction for hooks
2024-05-01 16:13:47 +02:00
mark9064
869bec8f88
Refactor display WriteToRam
2024-05-01 16:13:47 +02:00
mark9064
ee925200c3
Remove task to notify
2024-05-01 16:13:47 +02:00