summaryrefslogtreecommitdiff
path: root/src/systemtask
AgeCommit message (Collapse)Author
2022-05-28Only use alarmController for time updates when alarm is setMichele Bini
2022-05-12Compilation fix for infinisimMichele Bini
2022-05-12Optimized accelerometer access via system task functions.Michele Bini
2022-04-17Merge branch 'alarm-reliability-and-switch-to-freertos-timers' into edgeMichele Bini
# Conflicts: # src/components/alarm/AlarmController.cpp # src/components/datetime/DateTimeController.cpp # src/components/motor/MotorController.cpp # src/components/timer/TimerController.cpp # src/components/timer/TimerController.h # src/systemtask/Messages.h # src/systemtask/SystemTask.cpp
2022-04-17Differentiate time adjustment (< 3h for example time zone change when ↵Michele Bini
crossing a border or because of daylight saving) and time setting (for example when the firmware is booted for the first time and the companion app sends the time)
2022-04-17Remove app_timer component from compilationMichele Bini
2022-04-17Switch MotorController and TimerController to FreeRTOS timersMichele Bini
2022-04-17Use FreeRTOS timer for AlarmControllerMichele Bini
2022-04-17Remove systemTask reference from MotorControllerMichele Bini
2022-04-17Simplify MotorController timer codeMichele Bini
2022-04-16Make Init methods more uniform among timer and alarm controllersMichele Bini
2022-04-16Renamed RescheduleAlarm to OnAdjustTimeMichele Bini
2022-04-16Differentiate time adjustment (< 3h for example time zone change when ↵Michele Bini
crossing a border or because of daylight saving) and time setting (for example when the firmware is booted for the first time and the companion app sends the time)
2022-04-16remove app timer, with the exception of header, to keep APP_TIMER_TICKS ↵Michele Bini
definition.
2022-04-16Merge branch 'alarm-fix-work' into edgeMichele Bini
# Conflicts: # src/components/timer/TimerController.cpp
2022-04-16Run ScheduleAlarm from System task events only.Michele Bini
2022-04-13Uncommited changed in last commitMichele Bini
2022-04-13Attempt to fix lost alarmsMichele Bini
2022-04-13Let TouchHandler return TouchEvents instead of driver specific enumReinhold Gschweicher
Let the TouchHandler::GestureGet() function return a TouchEvent instead of the touchpanel-driver specific enum. This helps to move the driver specific helper function `ConvertGesture` from `DisplayApp` into `TouchHandler`.
2022-04-10Add jumpscore appMichele Bini
2022-04-10New chimes engineMichele Bini
2022-04-10Watchface digital display: seconds and temperatureMichele Bini
2022-04-10Bluetooth Passkey Toggle settingMichele Bini
2022-04-10reduce conditional branching and tests for motion activity interactionsMichele Bini
2022-04-10Streamline datetime code, adjust precision to the one actually used, save ↵Michele Bini
with second precision in noinit section
2022-04-10Integrate hatmajster's timer codeMichele Bini
2022-04-09Integrate FintasticMan's RaiseWake and LowerToSleep modsMichele Bini
2022-03-21In current configuration, the timer task (the one from FreeRTOS) has the ↵Jean-François Milants
lowest priority (0). Both display and system tasks are also set on priority 0. In cases where any other task takes too much time to execute (it can happen in Display Task, see https://github.com/InfiniTimeOrg/InfiniTime/issues/825), the timer task does not have the opportunity to run fast enough to detect and debounce presses on the button. This commit sets the following priorities: - [0] : Display Task - [1] : Timer and System tasks - [2] : BLE Host - [3] : BLE LL This way, we ensure that button presses will always be detected, even if the rendering of the display takes a huge amount of time.
2022-03-08SystemMonitor: implement FreeRtosMonitor only if trace facility is setReinhold Gschweicher
Split SystemMonitor into h and cpp file and move the logging code of the `Process` function into the cpp file. Depending of the `configUSE_TRACE_FACILITY` define from `src/FreeRTOSConfig.h` create either a "FreeRtosMonitor" or a "DummyMonitor". Make the `Process()` function non-const, as the FreeRtosMonitor changes the member variable `lastTick`. In `SystemTask.h` we then only need to use `SystemMonitor`, without knowledge of the `configUSE_TRACE_FACILITY` define.
2022-02-20Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants
into evergreen22-airplane-mode Apply a few changes that were requested in the PR during the review. # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/Messages.h # src/displayapp/screens/settings/Settings.cpp
2022-02-20Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants
into evergreen22-airplane-mode # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/Messages.h # src/displayapp/screens/settings/Settings.cpp
2022-02-19SystemTask: forward declare BatteryController to fix of cyclic dependencyReinhold Gschweicher
SystemTask.h included BatteryController.h, and BatteryController.h included SystemTask.h. If unlucky the class SystemTask isn't created yet when BatteryController wants to use it. Fix that cyclic dependency by forward declaring the BatteryController class and including it in the SystemTask.cpp file, where it is needed.
2022-02-19SystemTask: remove unused ble includesReinhold Gschweicher
Remove unused includes. The firmware still compiles fine without the includes.
2022-02-12SystemTask: fix static cast missing brackets syntaxReinhold Gschweicher
The static_cast syntax requires brackets around the input variable. The implementation worked because the used input are defines, which add the missing brackets like the following: ```cpp #define GPIO_PIN_CNF_SENSE_Low (3UL) ```
2022-01-26Merge pull request #949 from Riksu9000/fix_alarmJF
Fix alarm on time change
2022-01-26Merge pull request #903 from Riksu9000/improved_notif_timeoutJF
Improved notification timeout
2022-01-22Fix alarm on time changeRiku Isokoski
2022-01-16SystemTask: add missing queue.h include for QueueHandle_tReinhold Gschweicher
2022-01-04Merge branch 'ShakeWake' of https://github.com/geekbozu/InfiniTime into ↵Jean-François Milants
geekbozu-ShakeWake # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/screens/settings/Settings.cpp
2022-01-04Adds enum class for chimes optionSteveAmor
2022-01-04Add start of settings app for senstivity.Tim Keller
really just debugging. I want to make it more configurable then high med low. Position of setting needs a new location...dynamicly adding it currently at the end. Which honestly im fine with.
2022-01-04CleanupTim Keller
2022-01-04Added Shake to wakeTim Keller
2022-01-02resolves conflictsSteveAmor
2022-01-01Improved notification timeoutRiku Isokoski
2021-12-24Add airplane mode featureJames A. Jerkins
Implements 'Airplane mode' feature to disable and enable bluetooth/ble Adds airplaneMode as a non-persisted setting Adds a setting menu for switching airplane mode on and off Displays an airplane symbol on the Digital watch face and the PineTimeStyle watch face when airplane mode is enabled Always enables bluetooth/ble on boot (disable airplane mode) Alphabetizes the settings menu options Style cleanups Closes #632
2021-12-10List Dir works?Tim Keller
2021-12-09Fixed unpopped diagnosticAvamander
2021-12-09Improved format specifiers, bracing, removed C-style casts, whitespace fixes ↵Avamander
and removed Tiles shadowing
2021-12-09Break not return thanks @FintasticManTim Keller