summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
2022-04-10Streamline datetime code, adjust precision to the one actually used, save ↵Michele Bini
with second precision in noinit section
2022-02-19Provide reference to BrightnessController in DisplayAppReinhold Gschweicher
For the simulator I need a way to get to the brightnessController object and handle the set brightness-levels accoringly. This is done by the constructor expecting a brightnessController object instead of initializing one itself
2021-11-11Status bar displays time in 12 or 24 hour format based on settingsMark Russell
2021-10-25Use enum classes, remove old commentRiku Isokoski
2021-10-25Newer buttonhandlerRiku Isokoski
2021-09-23Merge pull request #664 from Riksu9000/disable_notif_onlyJF002
Toggle notifications only, keep vibrations.
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 disable_notif_onlyRiku Isokoski
2021-09-13Merge branch 'develop' into pinmaphubmartin
2021-09-12Merge pull request #602 from Riksu9000/del_unusedJF002
Remove unused variables
2021-09-12Toggle notifications only, keep vibrations.Riku Isokoski
2021-09-10Created basic alarm appMark Russell
2021-09-02Add some commentsTim Keller
2021-08-29Merge branch 'develop' into pinmaphubmartin
2021-08-28Merge branch 'twimaster_rework' of https://github.com/Riksu9000/InfiniTime ↵Jean-François Milants
into Riksu9000-twimaster_rework # Conflicts: # src/systemtask/SystemTask.cpp
2021-08-22Update startup SCL toggling pinmap definitionshubmartin
2021-08-22Merge branch 'develop' into pinmaphubmartin
2021-08-19Remove unused variablesRiku Isokoski
2021-08-19Add clearing of noinit segment on bad wordTim Keller
Code readability cleanup
2021-08-18Merge branch 'develop' into new_touch_handlerRiku Isokoski
2021-08-18Use highest frequency and move mutex creation to InitRiku Isokoski
2021-08-17Make Clock Persistant.Tim Keller
2021-08-16Simplify parameters and cleanupRiku Isokoski
2021-08-14Set pin before loopRiku Isokoski
2021-08-14Better pin configurationRiku Isokoski
2021-08-14Try to fix bootloopRiku Isokoski
2021-08-10Rework TouchHandler into not a taskRiku Isokoski
2021-08-10Revert "Merge branch 'unblock_i2c' into develop"Riku Isokoski
This reverts commit 275a84b3238874d213271f4287e6c1c5bfcb4353, reversing changes made to 9fb37550886f09f6510e99a5b452262c53c3987c.
2021-08-10Merge branch 'develop' into new_touch_handlerRiku Isokoski
2021-08-09Set pin before loopRiku Isokoski
2021-08-09Better pin configurationRiku Isokoski
2021-08-09Try to fix bootloopRiku Isokoski
2021-08-03PinMap with namespace and constexprhubmartin
2021-07-18UpdateRiku Isokoski
2021-07-15Fix touch wakeup and code cleanupRiku Isokoski
2021-07-15New touch handler, with issuesRiku Isokoski
2021-07-13Merge branch 'lvgl_use_system_tick' of ↵Jean-François Milants
https://github.com/Riksu9000/InfiniTime into Riksu9000-lvgl_use_system_tick # Conflicts: # src/displayapp/screens/BatteryInfo.cpp # src/displayapp/screens/BatteryInfo.h
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-07-07LVGL use system tickRiku Isokoski
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-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants
initialized in main() into Start()/Init() functions to avoid Static Initialization Order Fiasco (https://en.cppreference.com/w/cpp/language/siof). See https://github.com/JF002/InfiniTime/pull/415#issuecomment-859004238.
2021-06-06Fix build for recovery firmware.Jean-François Milants
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-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-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-04Reset the step count every day at midnight.Jean-François Milants