summaryrefslogtreecommitdiff
path: root/src/systemtask/SystemTask.h
AgeCommit message (Collapse)Author
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-01-16SystemTask: add missing queue.h include for QueueHandle_tReinhold Gschweicher
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
2021-10-25Make it so special actions can be input while sleeping, like in #480Riku Isokoski
2021-10-25Return button action instead of pushing messagesRiku Isokoski
2021-10-25Newer buttonhandlerRiku Isokoski
2021-10-03Improve battery percentage calculation and reportingRiku Isokoski
While charging, percentage should only go up, and while discharging, percentage should only go down.
2021-09-18Merge branch 'PersistantStorage' of git://github.com/geekbozu/InfiniTime ↵Jean-François Milants
into geekbozu-PersistantStorage # Conflicts: # src/systemtask/SystemTask.cpp
2021-09-16resolve conflict in src/systemtask/Messages.hMark Russell
2021-09-16Revert "Merge upstream"Mark Russell
This reverts commit 1d43adcdfa7bd15ba45c0c9d7c59c0ff99176b9c.
2021-09-16Merge upstreamMark Russell
2021-09-13Merge branch 'develop' into pinmaphubmartin
2021-09-10Created basic alarm appMark Russell
2021-08-29Merge branch 'develop' into pinmaphubmartin
2021-08-28Merge branch 'develop' into timer_battery_readingRiku Isokoski
2021-08-19Move Backup to the system task.Tim Keller
2021-08-14Make battery reading periodic. Add events. Disable pullupRiku Isokoski
2021-08-03PinMap with namespace and constexprhubmartin
2021-08-02DRAFT: Put gpio pins to separate filehubmartin
2021-07-25Merge branch 'develop' into new_touch_handlerRiku Isokoski
2021-07-24Dim screen before sleep (#464)Riku Isokoski
* Implement dimming
2021-07-15Fix touch wakeup and code cleanupRiku Isokoski
2021-07-11Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants
Refactor battery percent : only use uint8_t to store the battery % remaining.
2021-07-11Using littlefs (#438)joaquim.org
* 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
2021-06-26SPI flash sleep if bootloader >= 1.0.0 (#322)Neil O'Fix
* 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
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants
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.
2021-05-20Timer App (#355)Florian
* 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
2021-05-16Emit event on power-present toggle (#320)David Ventura
* 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
2021-04-24Changed access modified indentationAvamander
2021-04-24Reformatted all the files according to clang-format styleAvamander
2021-04-09Merge branch 'develop' into motion-sensorJean-François Milants
# 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
2021-04-05Fix wake up lock in twiJoaquim
optimize battery code
2021-04-04Reset the step count every day at midnight.Jean-François Milants
2021-04-04First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants
wrist rotation + app to see the value of the 3 axis in "real time".
2021-04-04Big UI and navigation RewriteJoaquim
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...
2021-03-20Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants
# Conflicts: # src/main.cpp # src/systemtask/SystemTask.h
2021-03-07Merge branch 'develop' into recovery-firmwareJean-François Milants
# Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.h # src/systemtask/SystemTask.cpp # src/systemtask/SystemTask.h
2021-02-24Multi face support, analog clock, 12/24 configJoaquim
2021-02-14Fix merge conflict.Jean-François Milants
2021-01-26Generate pinetime-recovery : a light version of InfiniTime design to be used ↵Jean-François Milants
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
2021-01-25create motorcontroller in main and pass by referencepetter
2021-01-24Handle call notification the same way than other notifications.Jean-François Milants
Display the call notifications in the Notification app, with buttons to accept/reject the call.
2021-01-21Add incoming call functionalityRasmus Schenstrom
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>
2021-01-17Add heart rate BLE service.Jean-François Milants
2021-01-17HR Sensor : Add start/stop button to the HeartRate app (the HR sensors stays ↵Jean-François Milants
ON when the app is closed), display the HR value on the Clock app.
2021-01-10HR Sensor : do not go to sleep when the HR app is running.Jean-François Milants
2021-01-10First implementation of the HR sensor using 100% foss code (ported from waspos)Jean-François Milants
2020-11-16Include cleanup: componentsokaestne
2020-10-04Fixed a typo in SystemTaskAvamander
2020-10-02Fixed all the includes that were broken due to the renamesAvamander