aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [new watchface] watchface inspired by G7710, with day of year and week ↵ITCactus2022-06-3015-5/+1967
| | | | number info
* Notifications: no inTransition screen, simple blackbox is enoughReinhold Gschweicher2022-06-282-15/+9
|
* Dismiss notifications by swiping rightSimon Willshire2022-06-284-111/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new interface `NotificationManager::Dismiss(id)` to delete a notification with the specified `id`. The animate the notification dismiss the `RightAnim` transition to a black screen is used. After the dismiss the new message is swiped in from below or above. If we dismiss the oldest message (when we are at 5/5, or 3/3), then the new message after a dismiss should appear to come from below. Otherwise (when we are at 2/3) the new message after a dismiss should appear to come from above. Rework the index code to show the index of the currently viewed notification. Instead of calculating the index relative to the oldest `id` introduce a new interface `NotificationManager::IndexOf(id)`. This is done because the `id` of the notifications in the buffer aren't continuous anymore (as some messages could have been dismissed). Rework notification ring buffer to have a beginIdx and a size internally to make the dismissal of notifications easier. Fixes: https://github.com/InfiniTimeOrg/InfiniTime/issues/176 Co-authored-by: Simon Willshire <me@simonwillshire.com> Co-authored-by: Reinhold Gschweicher <pyro4hell@gmail.com>
* LFCLK: Add compatibility to wasp-os reloader-factoryChristoph Honal2022-06-271-2/+7
|
* Add basic hardware configuration options for P8Christoph Honal2022-06-273-2/+45
| | | | | This enables the configuration of the LFCLK source, as well as the target hardware board pin configuration.
* Font generation: Fix patch binary pathChristoph Honal2022-06-251-1/+1
|
* CMake: Fix indentationChristoph Honal2022-06-191-67/+67
|
* CMake: Extend debug configurationChristoph Honal2022-06-191-6/+20
| | | | | Enable debug output for InfiniTime, Nimble and the NRF SDK via SEGGER RTT on debug builds.
* Flashlight default to max brightness and code cleanupRiku Isokoski2022-06-192-12/+12
|
* Fix InfiniTime compiler warningsRiku Isokoski2022-06-193-15/+8
|
* Remove backup brightness feature (#1180)Riku Isokoski2022-06-184-31/+12
| | | This feature is not needed and is probably more likely to cause issues. It's better to just use brightnessController.Set(settingsController.GetBrightness());
* Automatically create screens for applist and settings (#1153)Riku Isokoski2022-06-164-125/+100
| | | | | Apps and settings are now stored in a single array (two arrays in total). Replace magic values with appsPerScreen and entriesPerScreen.
* Patch hole in the letter M in jetbrains_mono_bold_20 (#1175)Riku Isokoski2022-06-163-1/+11
|
* SettingChimes: private Option struct, use std::array for cbOptionReinhold Gschweicher2022-06-111-6/+5
|
* Simplify SettingChimes codeRiku Isokoski2022-06-112-42/+27
|
* Remove duplicated value in fonts.json (#1179)Diego Miguel Lozano2022-06-111-1/+1
|
* Use lambda to reduce code duplicationRiku Isokoski2022-06-061-10/+11
|
* Move event handlers to unnamed namespaceRiku Isokoski2022-06-062-13/+13
|
* Use static constexpr to force compile time initializationRiku Isokoski2022-06-061-2/+2
|
* Timer: Replace time label with Counter control hiding functionalityRiku Isokoski2022-06-062-12/+11
|
* Counter: add show and hide controls functionsRiku Isokoski2022-06-062-2/+21
|
* Move linePoints to a member variableRiku Isokoski2022-06-062-3/+5
|
* Move bg color to a constexpr variableRiku Isokoski2022-06-061-3/+5
|
* Use Counter widget in TimerRiku Isokoski2022-06-062-112/+41
|
* Lighten the large font for a more balanced lookRiku Isokoski2022-06-062-1/+1
| | | | Add Jetbrains Mono Light font
* Add initial counter widgetRiku Isokoski2022-06-064-1/+147
|
* Move basic apps to the top of the app listRiku Isokoski2022-06-061-4/+4
|
* src/CMakeLists.txt: use iHEX format for mcuboot image creationIldar Mulyukov2022-06-061-9/+11
| | | | | for better control of addresses used by img/fw + fix typo (RECOVERYY)
* fix wrong linker scriptIldar Mulyukov2022-06-061-1/+1
| | | | introduced in https://github.com/JF002/InfiniTime/commit/58a2d000c4d49d96121894d6dd6bb861d7564bea
* Switch to freertos timers (#1095)Michele Bini2022-06-068-41/+32
| | | | | | | | | | | * 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>
* remove unused symbols, free a little bit of space (#1167)mabuch2022-06-052-8/+1
|
* remove unused Meter.cpp and Meter.h (#1171)mabuch2022-06-054-68/+0
|
* remove unused Brightness App (#1170)mabuch2022-06-054-139/+0
|
* remove old unused bluetooth icons (#1172)mabuch2022-06-057-118/+0
|
* System: Refactor pin and interrupt setupChristoph Honal2022-06-052-19/+11
| | | | | | This should ensure better readability of the pin setup procedure, as well as allow the configuration of the hardware button enable pin and the accelerometer interrupt pin via the pin mapping header.
* SystemTask: Use "&&" instead of "and" for operatorsChristoph Honal2022-06-051-5/+6
| | | | As per the coding style, only primary spelling should be used for operators.
* Fix various typosluz paz2022-06-059-24/+24
| | | | Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
* Apply clang-format to all C++ filesFinlay Davidson2022-06-0567-379/+473
|
* Replace C-style casts with static_castFinlay Davidson2022-06-053-20/+30
|
* Rename lvgl image files to .cFinlay Davidson2022-06-054-3/+3
|
* Fix assertion failure in TimerControllerLudovic J2022-05-271-1/+1
| | | 0 is not valid for xTimerPeriodInTicks, changing it to 1 to pass the assertion
* fonts: gen.py: clearify missing exe messageReinhold Gschweicher2022-05-161-1/+1
|
* generalize lv-font creationReinhold Gschweicher2022-05-163-31/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In https://github.com/InfiniTimeOrg/InfiniTime/pull/1097 new font generation capabilites were added. Generalize the font creation to make it possible to reuse the `displayapp/fonts/CMakeLists.txt` file for `InfiniSim` and just add the new cmake file to the project and link against the new `infinitime_fonts` target. In the following a list of changes. Allow non-global installed `lv_font_conv` executable installed with ```sh npm install lv_font_conv@1.5.2 ``` In CMake we search for `lv_font_conv` executable. Add the found executable to the python script `generate.py`, to remove the need for `lv_font_conv` to be in the path. Search for `python3` executable, if CMake version 3.12 is available. Otherwise use `python` as hard coded executable. Instead of adding the generated fonts to `SOURCE_FILES` variable, create a static library `infinitime_fonts`. Link this library to the executables instead. Use `add_custom_target()` together with `add_custom_command()` to generate the font.c files once (like the original PR does).
* fontgen: update README.md to remove patch advanced optionsYehoshua Pesach Wallach2022-05-101-1/+1
|
* fontgen: changes to allow CMake to work from other projectYehoshua Pesach Wallach2022-05-101-4/+4
|
* fontgen: remove advanced (format string, process as list) from patchingYehoshua Pesach Wallach2022-05-102-13/+2
|
* fontgen: verify lv_font_conv at cmakeYehoshua Pesach Wallach2022-05-101-1/+1
|
* fontgen: remove double-asterisk in readmeYehoshua Pesach Wallach2022-05-101-1/+1
|
* fontgen: assume plain .patch for single string patchYehoshua Pesach Wallach2022-05-102-5/+12
|
* fotngen: check for lv_font_convYehoshua Pesach Wallach2022-05-101-0/+3
|