aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* LVGL / FS : Initialize the LVGL FS driver in LittleVgl (instead of FS).Jean-François Milants2023-02-265-67/+62
| | | | | | Previously, the LVGL driver for the filesystem was initialized in the class FS. However, since 6f942e2, the order of the initializations was incorrect : the driver was initialized (FS::LVGLFileSystemInit()) before LVGL (LittleVgl.Init()), which means that the driver registration was probably dropped when LVGL was initialized. The LVGL driver is now initialized in LittleVgl.Init(), which seems to make much more sense, since all LVGL drivers are initialized there. This way, we ensure that the initialization of the drivers is consistent.
* infineat: Create colors at compile time.Riku Isokoski2023-02-262-49/+119
| | | | lv_color_hex can't be evaluated at compile time, but LV_COLOR_MAKE can.
* warnings: Treat warnings as errorRiku Isokoski2023-02-261-1/+1
| | | | | This way warnings will be taken seriously, and will cause PR checks to fail when they throw warnings.
* Apps: Remove Weather from app enumRiku Isokoski2023-02-261-1/+0
| | | | Weather app is not fully implemented and is causing a warning
* QCBOR: Update to v1.0Riku Isokoski2023-02-261-0/+0
| | | | Fixes a compiler warning
* DateTimeController: Fix integer overflowRiku Isokoski2023-02-261-1/+1
|
* motion: Disable Motion appRiku Isokoski2023-02-254-6/+7
| | | | | This is a debugging app, not useful for most people. Also remove the app icon.
* screens: Add notes about using C++20 featuresRiku Isokoski2023-02-252-0/+2
|
* date: Remove date libRiku Isokoski2023-02-2513-90/+43
| | | | DateTimeController can provide everything we need.
* DateTimeController: Use std::tm for storing dateRiku Isokoski2023-02-252-31/+22
|
* DateTimeController: Remove SetTime tick parameterRiku Isokoski2023-02-258-24/+9
| | | | | | The systick doesn't need to be updated when setting time. Also removed unused nrf_rtc.h includes.
* SystemTask: Move lcd to DisplayAppRiku Isokoski2023-02-254-8/+3
| | | | SystemTask should never write to the lcd
* LittleVgl: Instantiate in DisplayAppRiku Isokoski2023-02-258-64/+5
| | | | | | | 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
* watchdog: Replace WatchdogView with const WatchdogRiku Isokoski2023-02-258-26/+12
|
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-2572-156/+99
|
* screens: Remove explicit Screen constructorsRiku Isokoski2023-02-2533-44/+32
| | | | | This constructor didn't do anything since DisplayApp reference was removed from the Screen base class.
* screens: Remove displayapp parameter from screenRiku Isokoski2023-02-2530-29/+44
| | | | | | | | The DisplayApp class isn't used in the Screen base class and most screens, so requiring it is pointless. In this commit, DisplayApp pointers were added to screens which use it and the explicit Screen constructor was removed in those screens.
* SystemTask: Move MotorController to DisplayAppRiku Isokoski2023-02-259-27/+25
| | | | | Vibrations should be associated with something happening on the UI. Therefore SystemTask should not be controlling the motor.
* displayapp: Make Ble references constRiku Isokoski2023-02-2430-42/+42
|
* displayapp: Make Cst816S references constRiku Isokoski2023-02-246-8/+8
|
* displayapp: Make Battery class references constRiku Isokoski2023-02-2430-41/+41
|
* TouchHandler: Do not store touch panel referenceRiku Isokoski2023-02-245-22/+17
|
* touchhandler: Remove LVGL dependencyRiku Isokoski2023-02-247-51/+39
| | | | Move LVGL specific code to the LittleVgl class
* libs: Disable clang-format and -tidyRiku Isokoski2023-02-232-0/+2
|
* LittleVgl: Remove unused Cst816S referenceRiku Isokoski2023-02-234-8/+4
|
* TimerController: Use chrono for durationsRiku Isokoski2023-02-233-14/+17
|
* WatchfaceAnalog: add ble icon (#1430)Itai Nelken2023-02-212-0/+15
|
* clang-format: Always break template declarationsRiku Isokoski2023-02-164-8/+16
| | | | | I find this format easier to read, because the definitions are at the expected indentation, making it easier to find what I'm looking for.
* SettingSteps: Update UIRiku Isokoski2023-02-121-5/+13
| | | | Bigger buttons, use new color.
* SettingSteps: Improve goal settingRiku Isokoski2023-02-121-14/+18
| | | | | | Long pressing will change the value by 1000, whereas clicks will change it by 500. This allows setting more precise values, while also making it easier to set any value.
* Steps: Update UIRiku Isokoski2023-02-011-5/+7
|
* stopwatch: Update UIRiku Isokoski2023-02-013-52/+91
| | | | | | The time used to be yellow while paused. Changing it to white made the paused state less distinct. Blinking the time while paused makes the state distinct again.
* Merge branch 'aleexxzeero-proper-mcuboot-app-size' into developJean-François Milants2023-01-291-4/+4
|\
| * #1463 Updated CMakeLists.txt for building images with expected alignmentAlex Dolzhenkov2022-12-291-4/+4
| |
* | SettingChimes: Use CheckboxListRiku Isokoski2023-01-292-66/+48
| |
* | SettingBluetooth: Use CheckboxListRiku Isokoski2023-01-292-79/+42
| |
* | LittleVgl: Small cleanupRiku Isokoski2023-01-292-10/+6
| |
* | theme: Replace LV_DPX with a constexpr variantRiku Isokoski2023-01-291-0/+13
| |
* | theme: Cleanup unused stylesRiku Isokoski2023-01-291-40/+6
| | | | | | | | | | Condensed paddings with pad_all No visual changes
* | theme: Remove unused parametersRiku Isokoski2023-01-293-28/+10
| |
* | infineat: Fix 12-hour timeRiku Isokoski2023-01-261-1/+1
| | | | | | | | Missing characters
* | infineat: Remove use with builtin fontsRiku Isokoski2023-01-261-35/+8
| | | | | | | | The watchface cannot be enabled without the correct font anyway.
* | infineat: Battery display simplificationRiku Isokoski2023-01-261-6/+2
| |
* | infineat: Use set_text_static where applicableRiku Isokoski2023-01-261-8/+8
| |
* | infineat: Remove batterystyleRiku Isokoski2023-01-262-13/+7
| | | | | | | | Setting local style is more efficient
* | infineat: Remove unnecessary background colorizationRiku Isokoski2023-01-262-8/+0
| |
* | infineat: Optimize lv_linesRiku Isokoski2023-01-262-186/+33
| | | | | | | | Reduce code duplication massively
* | src: Enable unused parameter warningRiku Isokoski2023-01-2441-159/+110
| | | | | | | | | | | | Fix warnings. Some clang-formatting was necessary. DebugPins is unused and was removed.
* | batt: Improve discharge curve valuesFinlay Davidson2023-01-231-9/+4
| | | | | | | | Values calculated using multiple tests on 3 PineTimes
* | Combine Date and Time Settings (#1465)John Quigley2023-01-1412-35/+170
| | | | | | | | | | | | Replace separate SettingSetDate and SettingSetTime with a combined screenlist. Add DotIndicators. Similar to PageIndicator, but for use when separating screens instead of pages of a list. Co-authored-by: Riku Isokoski <riksu9000@gmail.com>