Jean-François Milants
50c679023f
SimpleWeather service : new weather implementation
...
Fix recovery firmware and code formatting.
2023-12-23 21:12:25 +01:00
Jean-François Milants
02af09d943
Application selection at build time
...
Fix DisplayAppRecovery so it builds with -std=c++20.
2023-11-19 21:13:55 +01:00
Riku Isokoski
661ffbeb1e
TimerController: Make TimerController reusable
...
TimerController instance was moved to DisplayApp.
2023-04-16 14:33:23 +00: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
255b07094b
displayapp: Make Ble references const
2023-02-24 17:41:41 +02:00
Riku Isokoski
76f07de64b
displayapp: Make Cst816S references const
2023-02-24 17:41:41 +02:00
Riku Isokoski
1c4b97382a
displayapp: Make Battery class references const
2023-02-24 17:41:41 +02:00
Riku Isokoski
a3e14c012d
src: Enable unused parameter warning
...
Fix warnings.
Some clang-formatting was necessary.
DebugPins is unused and was removed.
2023-01-24 10:43:17 +02:00
Jean-François Milants
56f315b94a
A few minors changes following the code review : rename fs -> filesystem, use std::array instead of raw array,...
2022-09-27 18:06:15 +02:00
Jean-François Milants
0cd1d6f8cf
Fix recovery firmware : add FS in parameters of DisplayAppRecovery ctor.
2022-09-11 18:21:29 +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
Reinhold Gschweicher
ac7b2da611
Update includes to to be relative to src directory
...
Don't use relative imports like `../foo.h` as those depend on the
relative position of both files. Rather than that use imports relative
to the `src` directory, which explicitly is part of the include
directories.
2021-11-15 22:02:49 +01:00
Jean-François Milants
7af7db74cd
Fix DisplayAppRecovery : add AlarmController to ctor().
2021-09-18 17:20:33 +02:00
Jean-François Milants
6356c7f276
Fix DisplayAppRecovery : fix include error by forward declaring Controllers in header file.
2021-09-13 20:35:51 +02:00
Jean-François Milants
fab49f8557
Fix recovery firmware since last changes in DisplayApp.
2021-08-28 15:23:13 +02:00
Jean-François Milants
6d524ebea2
Move most of the code from the constructor of the objects statically initialized in main() into Start()/Init() functions to avoid Static Initialization Order Fiasco ( https://en.cppreference.com/w/cpp/language/siof ). See https://github.com/JF002/InfiniTime/pull/415#issuecomment-859004238 .
2021-06-12 10:58:28 +02:00
Jean-François Milants
ff00873f97
Fix build for recovery firmware.
2021-06-06 20:20:55 +02:00
Jean-François Milants
f88c0f41fa
Fix recovery DisplayApp.
2021-05-21 11:56:50 +02:00
JF002
204d63697c
Merge pull request #349 from Avamander/patch-2
...
Switched to booleans for infinite while loops
2021-05-15 09:57:22 +02:00
Avamander
e54163b7c2
Added braces to a few if statements
2021-05-14 12:43:29 +03:00
Avamander
33f965f326
Switched to booleans for infinite while loops
2021-05-14 12:40:46 +03:00
petter
6e1726d1d0
short vibration when enabling it
2021-05-02 11:48:05 +02:00
Avamander
40d45d923b
Reformatted all the files according to clang-format style
2021-04-24 11:39:53 +03:00
Jean-François Milants
68bdaee1cc
First integration of the motion sensor (bma 421) : step counting + wake on wrist rotation + app to see the value of the 3 axis in "real time".
2021-04-04 15:56:04 +02:00
petter
3b51b4367d
fix display driver issues in recovery
2021-03-21 12:29:57 +01:00
Jean-François Milants
405c85c160
Merge branch 'develop' of github.com:JF002/Pinetime into develop
...
# Conflicts:
# src/main.cpp
# src/systemtask/SystemTask.h
2021-03-20 11:41:49 +01:00
Jean-François Milants
25f35c7d0e
Generate pinetime-recovery : a light version of InfiniTime design to be used as a recovery firmware : it only provides basic UI and BLE connectivity for OTA.
...
This new FW is build on the same codebasse than the actual InfiniTime. Only the display task is different (this allows to remove lvgl from the recovery fw, which is very heavy).
CMake builds and docker have been modified accordingly.
Note than the fw is converted into an image and then into a DFU in the cmake build (previously, it was only done in the
2021-01-26 20:31:45 +01:00