aboutsummaryrefslogtreecommitdiffstats
path: root/src/systemtask/SystemTask.h
Commit message (Collapse)AuthorAgeFilesLines
* Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants2021-07-111-0/+2
| | | | Refactor battery percent : only use uint8_t to store the battery % remaining.
* Using littlefs (#438)joaquim.org2021-07-111-4/+8
| | | | | | | | | * add submodule littlefs * base fs * Save settings using littlefs * Small fixes and suggestions from PR * More small fixes from PR suggestions * Code clean up * Change SpiNorFlash functions to be private in FS
* SPI flash sleep if bootloader >= 1.0.0 (#322)Neil O'Fix2021-06-261-0/+4
| | | | | | * Retrieve and display bootloader version - Display bootloader version on System Info screen - Enable SPI flash sleep mode if bootloader version >= 1.0.0 * Wait for SPI flash to wakeup before starting OTA DFU
* Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2021-06-061-32/+21
| | | | variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
* Timer App (#355)Florian2021-05-201-0/+3
| | | | | | | | | | | * built timer app * Style improvements * making sure buttons stay hidden when the app is reopened and reappear after the timer runs out * more sensible calculations of time deltas. eliminated that mysterious scaling factor * changing the timer icon
* Emit event on power-present toggle (#320)David Ventura2021-05-161-1/+3
| | | | | | | | | | | | | | | * Emit event on power-present toggle * clang-format on changes * also update battery status on any event * update comments; remove double battery update * Fix formatting * Vibrate shortly on charging event * debounce charge event
* Changed access modified indentationAvamander2021-04-241-2/+2
|
* Reformatted all the files according to clang-format styleAvamander2021-04-241-73/+91
|
* Merge branch 'develop' into motion-sensorJean-François Milants2021-04-091-3/+2
|\ | | | | | | | | | | | | | | | | | | | | | | # 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-1/+1
| | | | | | | | optimize battery code
| * Big UI and navigation RewriteJoaquim2021-04-041-3/+2
| | | | | | | | | | | | | | | | | | | | | | 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...
* | Reset the step count every day at midnight.Jean-François Milants2021-04-041-3/+4
| |
* | First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants2021-04-041-0/+6
|/ | | | wrist rotation + app to see the value of the 3 axis in "real time".
* Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants2021-03-201-1/+5
|\ | | | | | | | | | | # Conflicts: # src/main.cpp # src/systemtask/SystemTask.h
| * Multi face support, analog clock, 12/24 configJoaquim2021-02-241-1/+4
| |
* | Merge branch 'develop' into recovery-firmwareJean-François Milants2021-03-071-4/+5
|\| | | | | | | | | | | | | | | # Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.h # src/systemtask/SystemTask.cpp # src/systemtask/SystemTask.h
| * Fix merge conflict.Jean-François Milants2021-02-141-0/+3
| |\
| | * create motorcontroller in main and pass by referencepetter2021-01-251-0/+3
| | |
| * | Handle call notification the same way than other notifications.Jean-François Milants2021-01-241-2/+1
| | | | | | | | | | | | Display the call notifications in the Notification app, with buttons to accept/reject the call.
| * | Add incoming call functionalityRasmus Schenstrom2021-01-211-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* / Generate pinetime-recovery : a light version of InfiniTime design to be used ↵Jean-François Milants2021-01-261-0/+9
|/ | | | | | | | | 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
* Add heart rate BLE service.Jean-François Milants2021-01-171-1/+1
|
* HR Sensor : Add start/stop button to the HeartRate app (the HR sensors stays ↵Jean-François Milants2021-01-171-2/+1
| | | | 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-1/+2
|
* First implementation of the HR sensor using 100% foss code (ported from waspos)Jean-François Milants2021-01-101-2/+9
|
* Include cleanup: componentsokaestne2020-11-161-7/+13
|
* Fixed a typo in SystemTaskAvamander2020-10-041-1/+1
|
* Fixed all the includes that were broken due to the renamesAvamander2020-10-021-4/+5
|
* Renamed SystemTask/ to systemtask/Avamander2020-10-021-0/+92