mark9064
940cd3459f
Use functional abstraction for hooks
2024-05-01 16:13:47 +02:00
mark9064
079e676baf
SPI transaction hooks
2024-05-01 16:13:47 +02:00
Jean-François Milants
9bd90c906e
Power optimization - Improve SPI sleep mode
...
ST7789 driver : replace the constant '26' with a named constant to specify the pin number of the reset pin of the LCD controller.
2023-06-04 17:22:27 +02:00
Jean-François Milants
2fa3aaa161
Power optimization - enable the DC/DC regulator.
...
The DC/DC regulator reduce the power consumption of the MCU compared to the default LDO regulator. The DC/DC regulator needs additional HW that is mounted on the PineTime.
This change reduces the power usage by 380µA during fast advertising, by 200µA during slow advertising and by 186µA when BLE is disabled.
2023-06-04 17:03:37 +02:00
Jean-François Milants
8abfd25a6c
Fix code formatting
2023-05-18 19:58:09 +02:00
Jean-François Milants
611e0ff768
Enable malloc error and stack overflow error detection in FreeRTOS. Count them and display them in the SystemInfo app.
2023-05-18 19:58:09 +02:00
Riku Isokoski
661ffbeb1e
TimerController: Make TimerController reusable
...
TimerController instance was moved to DisplayApp.
2023-04-16 14:33:23 +00:00
Riku Isokoski
b63bb798ac
DateTimeController: Remove SetTime tick parameter
...
The systick doesn't need to be updated when setting time.
Also removed unused nrf_rtc.h includes.
2023-02-25 17:22:25 +02:00
Riku Isokoski
eccea5ab9f
SystemTask: Move lcd to DisplayApp
...
SystemTask should never write to the lcd
2023-02-25 16:58:31 +02:00
Riku Isokoski
6f942e20ed
LittleVgl: Instantiate in DisplayApp
...
LVGL is only a part of the main DisplayApp. Other "DisplayApps" can be
implemented without LVGL.
DummyLittleVgl isn't needed anymore and has been removed
2023-02-25 16:58:10 +02:00
Riku Isokoski
ff34cf196e
watchdog: Replace WatchdogView with const Watchdog
2023-02-25 16:57:12 +02:00
Riku Isokoski
5ab255b26b
SystemTask: Move MotorController to DisplayApp
...
Vibrations should be associated with something happening on the UI.
Therefore SystemTask should not be controlling the motor.
2023-02-25 12:15:00 +02:00
Riku Isokoski
1516b082fd
TouchHandler: Do not store touch panel reference
2023-02-24 00:05:21 +02:00
Riku Isokoski
7066ff5aba
touchhandler: Remove LVGL dependency
...
Move LVGL specific code to the LittleVgl class
2023-02-24 00:05:21 +02:00
Riku Isokoski
0d494136c9
LittleVgl: Remove unused Cst816S reference
2023-02-23 23:43:24 +02:00
Riku Isokoski
afea7ca0d1
Update clang-tidy configuration and fix some warnings ( #1474 )
...
Don't enable coding conventions from unrelated projects. Only enable
generic checks.
2022-12-18 18:14:36 +01:00
Jean-François Milants
4cf73fc169
Infineat : Add support for external resources, and read the images and fonts from the ilesystem
2022-09-11 16:22:28 +02:00
Christoph Honal
e77d47e35c
LFCLK: Add compatibility to wasp-os reloader-factory
2022-06-27 08:28:48 +03:00
Christoph Honal
8b0559c481
Add basic hardware configuration options for P8
...
This enables the configuration of the LFCLK source,
as well as the target hardware board pin configuration.
2022-06-27 08:28:48 +03:00
Michele Bini
35dcf8c860
Switch to freertos timers ( #1095 )
...
* Use FreeRTOS timer for AlarmController
* Use FreeRTOS timer for MotorController
* Remove app_timer component from compilation as we now solely use
FreeROTS timer
* Simplify variable and text names for AlarmController and MotorController timers
* Call ScheduleAlarm directly from StopAlerting, for recurring timers
Co-authored-by: Riku Isokoski <riksu9000@gmail.com>
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
2022-06-06 17:47:43 +02:00
Finlay Davidson
7f45538eb5
Apply clang-format to all C++ files
2022-06-05 09:15:46 +03:00
Reinhold Gschweicher
407908686a
Provide reference to BrightnessController in DisplayApp
...
For the simulator I need a way to get to the brightnessController object
and handle the set brightness-levels accoringly.
This is done by the constructor expecting a brightnessController object
instead of initializing one itself
2022-02-19 20:46:45 +01:00
Mark Russell
947ece0bc9
Status bar displays time in 12 or 24 hour format based on settings
2021-11-10 20:11:09 -05:00
Riku Isokoski
b19a2a760b
Use enum classes, remove old comment
2021-10-25 13:40:43 +03:00
Riku Isokoski
d5dfa80876
Newer buttonhandler
2021-10-25 12:53:14 +03:00
JF002
8a2b86dc83
Merge pull request #664 from Riksu9000/disable_notif_only
...
Toggle notifications only, keep vibrations.
2021-09-23 20:13:42 +02:00
Jean-François Milants
f556003de3
Merge branch 'PersistantStorage' of git://github.com/geekbozu/InfiniTime into geekbozu-PersistantStorage
...
# Conflicts:
# src/systemtask/SystemTask.cpp
2021-09-18 17:37:37 +02:00
Mark Russell
b9e56843a2
resolve conflict in src/systemtask/Messages.h
2021-09-16 16:20:39 -04:00
Mark Russell
cdf99b08f4
Revert "Merge upstream"
...
This reverts commit 1d43adcdfa
.
2021-09-16 16:12:20 -04:00
Mark Russell
1d43adcdfa
Merge upstream
2021-09-16 16:01:25 -04:00
Riku Isokoski
40765f1173
Merge branch 'develop' into disable_notif_only
2021-09-13 21:22:53 +03:00
hubmartin
73d3e41cea
Merge branch 'develop' into pinmap
2021-09-13 10:19:07 +02:00
JF002
8728ac2f6a
Merge pull request #602 from Riksu9000/del_unused
...
Remove unused variables
2021-09-12 18:34:11 +02:00
Riku Isokoski
3ee4876214
Toggle notifications only, keep vibrations.
2021-09-12 11:08:25 +03:00
Mark Russell
1fb5757655
Created basic alarm app
2021-09-10 18:40:13 -04:00
Tim Keller
28fdc376b2
Add some comments
2021-09-02 23:01:12 +00:00
hubmartin
8390d0ef72
Merge branch 'develop' into pinmap
2021-08-29 11:43:50 +02:00
Jean-François Milants
45e7638fc2
Merge branch 'twimaster_rework' of https://github.com/Riksu9000/InfiniTime into Riksu9000-twimaster_rework
...
# Conflicts:
# src/systemtask/SystemTask.cpp
2021-08-28 15:08:50 +02:00
hubmartin
51c5257548
Update startup SCL toggling pinmap definitions
2021-08-22 22:17:57 +02:00
hubmartin
2a299fe275
Merge branch 'develop' into pinmap
2021-08-22 22:11:57 +02:00
Riku Isokoski
2b30ff4fc6
Remove unused variables
2021-08-19 11:12:34 +03:00
Tim Keller
2dd7b8ba2c
Add clearing of noinit segment on bad word
...
Code readability cleanup
2021-08-19 00:44:22 +00:00
Riku Isokoski
85c99797da
Merge branch 'develop' into new_touch_handler
2021-08-18 22:07:02 +03:00
Riku Isokoski
40392d7b91
Use highest frequency and move mutex creation to Init
2021-08-18 21:40:27 +03:00
Tim Keller
55f8908769
Make Clock Persistant.
2021-08-17 23:53:57 +00:00
Riku Isokoski
81a36dc31e
Simplify parameters and cleanup
2021-08-16 18:26:10 +03:00
Riku Isokoski
7c28de0b6f
Set pin before loop
2021-08-14 21:00:33 +02:00
Riku Isokoski
10f610b219
Better pin configuration
2021-08-14 21:00:33 +02:00
Riku Isokoski
e51c3eee4e
Try to fix bootloop
2021-08-14 21:00:33 +02:00
Riku Isokoski
8a694adb09
Rework TouchHandler into not a task
2021-08-10 22:03:34 +03:00