aboutsummaryrefslogtreecommitdiffstats
path: root/src/systemtask/SystemTask.cpp
Commit message (Collapse)AuthorAgeFilesLines
* short vibration when enabling itpetter2021-05-021-0/+1
|
* Reformatted all the files according to clang-format styleAvamander2021-04-241-87/+107
|
* Disable the reading of the motion values in sleep mode when the wake up mode ↵Jean-François Milants2021-04-161-0/+3
| | | | is not 'wrist rotation'.
* In order to stabilize the battery reading,Joaquim2021-04-161-2/+7
| | | | | | I modified the process to make 5 consecutive readings, as the process is asynchronous, there is no interference in the main process.
* Merge branch 'develop' into motion-sensorJean-François Milants2021-04-091-7/+44
|\ | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/DisplayApp.h # src/displayapp/lv_pinetime_theme.c # src/displayapp/screens/ApplicationList.cpp # src/drivers/TwiMaster.cpp # src/systemtask/SystemTask.h
| * Fix wake up lock in twiJoaquim2021-04-051-10/+16
| | | | | | | | optimize battery code
| * array in SettingWakeUp wrong sizeJoaquim José Almeida Pereira2021-04-051-1/+1
| |
| * double tap wakeup error fixJoaquim2021-04-041-10/+10
| | | | | | | | battery nonblocking read
| * Big UI and navigation RewriteJoaquim2021-04-041-9/+38
| | | | | | | | | | | | | | | | | | | | | | new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...
* | TwiMaster is now based on the NRFX TWI driver, as it handles more edge cases ↵Jean-François Milants2021-04-081-2/+6
| | | | | | | | | | | | and workarounds for errors on the bus. Reset the TWI bus after the soft-reset of the motion sensor to workaround issues on the TWI bus.
* | Reset the step count every day at midnight.Jean-François Milants2021-04-041-2/+12
| |
* | Handle return code from BMA driver, and set a flag is the initialization ↵Jean-François Milants2021-04-041-0/+1
| | | | | | | | fails. This allows to boot InfiniTime even if the device cannot initialize.
* | Code cleaning in BMA421 driver. Do the axis inversion in the driver and not ↵Jean-François Milants2021-04-041-2/+2
| | | | | | | | | | | | in the application. NOTE: Axis remapping from the SDK do not apply to the "raw" X/Y/Z values returned to the sensor. According to the doc, the remapping is only applied to features, but I cannot check if it has any effect on step counting (I'm not sure I use it correctly, doc is not complete enough about this feature).
* | First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants2021-04-041-3/+25
|/ | | | wrist rotation + app to see the value of the 3 axis in "real time".
* replaced all unique_ptr.reset calls with std::make_uniqueNiall Cooling2021-03-221-1/+1
|
* Updated to include WatchFaceAnalog and fixed clashesNiall Cooling2021-03-221-12/+16
|\
| * Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants2021-03-201-2/+6
| |\ | | | | | | | | | | | | | | | # Conflicts: # src/main.cpp # src/systemtask/SystemTask.h
| | * Multi face support, analog clock, 12/24 configJoaquim2021-02-241-2/+6
| | |
| * | Merge branch 'develop' into recovery-firmwareJean-François Milants2021-03-071-4/+8
| |\| | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.h # src/systemtask/SystemTask.cpp # src/systemtask/SystemTask.h
| * | Generate pinetime-recovery : a light version of InfiniTime design to be used ↵Jean-François Milants2021-01-261-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Resolved C++14 Cmake build issues so correctly building to C99/C++14 standardsNiall Cooling2021-03-161-2/+4
| |/ |/|
* | Fix merge conflict.Jean-François Milants2021-02-141-3/+7
|\ \
| * | add vibration togglepetter2021-02-071-1/+1
| | |
| * | trigger vibration from systemtaskpetter2021-02-051-3/+4
| | |
| * | create motorcontroller in main and pass by referencepetter2021-01-251-2/+5
| |/
* | Handle call notification the same way than other notifications.Jean-François Milants2021-01-241-6/+1
| | | | | | | | Display the call notifications in the Notification app, with buttons to accept/reject the call.
* | Add incoming call functionalityRasmus Schenstrom2021-01-211-0/+4
|/ | | | | | | | | | | | | | Add categories to AlertNotification Add new alert notification screens bases Add Incoming Call Add Modal Add event to AlertNotification Co-authored-by: Robin Karlsson <robin.karlsson@protonmail.com>
* Add heart rate BLE service.Jean-François Milants2021-01-171-2/+2
|
* HR Sensor : Add start/stop button to the HeartRate app (the HR sensors stays ↵Jean-François Milants2021-01-171-6/+2
| | | | ON when the app is closed), display the HR value on the Clock app.
* HR Sensor : do not go to sleep when the HR app is running.Jean-François Milants2021-01-101-0/+7
|
* First implementation of the HR sensor using 100% foss code (ported from waspos)Jean-François Milants2021-01-101-3/+13
|
* Merge pull request #136 from okaestne/include-cleanupJF0022020-12-011-12/+20
|\ | | | | Includes cleanup
| * Include cleanup: componentsokaestne2020-11-161-12/+20
| |
* | Jeez this is what I get for rushing 😬Samuel Archibald2020-11-191-1/+1
| |
* | Whoops! Don't look at this XDSamuel Archibald2020-11-191-1/+1
| |
* | Readability and fixSamuel Archibald2020-11-191-1/+2
| |
* | This is the actual fix, reducing the time between LCD is turned back on and ↵Samuel Archibald2020-11-021-7/+4
| | | | | | | | the next task which will display the time is started.
* | Fixed displaying last displayed time for ~100ms on wakeSamuel Archibald2020-11-021-4/+4
|/
* Disable sleep mode on the SPI NOR Flash when the version is unknown. This is ↵JF2020-10-271-1/+6
| | | | | | because the current bootloader (which does not exposes its version) cannot initialize the chip when it's in sleep mode. This feature will be re-enabled when the bootloader expses it's version.
* Made sure to unsuppress the diagnostic check after the infinite loop declarationAvamander2020-10-091-0/+2
|
* Minor formatting, diagnostic and documentation changesAvamander2020-10-091-1/+4
|
* Merge remote-tracking branch 'origin-origin/patch-3'Avamander2020-10-041-2/+2
|\ | | | | | | | | # Conflicts: # src/systemtask/SystemTask.cpp
| * Minor #include improvementsAvamander2020-10-041-4/+6
| |
* | Fixed a typo in SystemTaskAvamander2020-10-041-3/+3
|/
* Fixed all the includes that were broken due to the renamesAvamander2020-10-021-3/+3
|
* Renamed SystemTask/ to systemtask/Avamander2020-10-021-0/+247