summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-06-27LFCLK: Add compatibility to wasp-os reloader-factoryChristoph Honal1-2/+7
2022-06-27Add basic hardware configuration options for P8Christoph Honal1-0/+14
This enables the configuration of the LFCLK source, as well as the target hardware board pin configuration.
2022-06-06Switch to freertos timers (#1095)Michele Bini1-1/+0
* Use FreeRTOS timer for AlarmController * Use FreeRTOS timer for MotorController * Remove app_timer component from compilation as we now solely use FreeROTS timer * Simplify variable and text names for AlarmController and MotorController timers * Call ScheduleAlarm directly from StopAlerting, for recurring timers Co-authored-by: Riku Isokoski <riksu9000@gmail.com> Co-authored-by: NeroBurner <pyro4hell@gmail.com>
2022-06-05Apply clang-format to all C++ filesFinlay Davidson1-5/+3
2022-02-19Provide reference to BrightnessController in DisplayAppReinhold Gschweicher1-0/+3
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-10Status bar displays time in 12 or 24 hour format based on settingsMark Russell1-5/+5
2021-10-25Use enum classes, remove old commentRiku Isokoski1-1/+0
2021-10-25Newer buttonhandlerRiku Isokoski1-12/+12
2021-09-23Merge pull request #664 from Riksu9000/disable_notif_onlyJF0021-1/+1
Toggle notifications only, keep vibrations.
2021-09-18Merge branch 'PersistantStorage' of git://github.com/geekbozu/InfiniTime ↵Jean-François Milants1-1/+19
into geekbozu-PersistantStorage # Conflicts: # src/systemtask/SystemTask.cpp
2021-09-16resolve conflict in src/systemtask/Messages.hMark Russell1-29/+18
2021-09-16Revert "Merge upstream"Mark Russell1-18/+29
This reverts commit 1d43adcdfa7bd15ba45c0c9d7c59c0ff99176b9c.
2021-09-16Merge upstreamMark Russell1-29/+18
2021-09-13Merge branch 'develop' into disable_notif_onlyRiku Isokoski1-29/+18
2021-09-13Merge branch 'develop' into pinmaphubmartin1-6/+3
2021-09-12Merge pull request #602 from Riksu9000/del_unusedJF0021-6/+1
Remove unused variables
2021-09-12Toggle notifications only, keep vibrations.Riku Isokoski1-1/+1
2021-09-10Created basic alarm appMark Russell1-0/+3
2021-09-02Add some commentsTim Keller1-2/+6
2021-08-29Merge branch 'develop' into pinmaphubmartin1-4/+8
2021-08-28Merge branch 'twimaster_rework' of https://github.com/Riksu9000/InfiniTime ↵Jean-François Milants1-2/+1
into Riksu9000-twimaster_rework # Conflicts: # src/systemtask/SystemTask.cpp
2021-08-22Update startup SCL toggling pinmap definitionshubmartin1-4/+5
2021-08-22Merge branch 'develop' into pinmaphubmartin1-0/+15
2021-08-19Remove unused variablesRiku Isokoski1-6/+1
2021-08-19Add clearing of noinit segment on bad wordTim Keller1-5/+10
Code readability cleanup
2021-08-18Merge branch 'develop' into new_touch_handlerRiku Isokoski1-0/+15
2021-08-18Use highest frequency and move mutex creation to InitRiku Isokoski1-2/+2
2021-08-17Make Clock Persistant.Tim Keller1-1/+10
2021-08-16Simplify parameters and cleanupRiku Isokoski1-3/+2
2021-08-14Set pin before loopRiku Isokoski1-0/+1
2021-08-14Better pin configurationRiku Isokoski1-1/+6
2021-08-14Try to fix bootloopRiku Isokoski1-0/+9
2021-08-10Rework TouchHandler into not a taskRiku Isokoski1-2/+1
2021-08-10Revert "Merge branch 'unblock_i2c' into develop"Riku Isokoski1-15/+0
This reverts commit 275a84b3238874d213271f4287e6c1c5bfcb4353, reversing changes made to 9fb37550886f09f6510e99a5b452262c53c3987c.
2021-08-10Merge branch 'develop' into new_touch_handlerRiku Isokoski1-0/+15
2021-08-09Set pin before loopRiku Isokoski1-0/+1
2021-08-09Better pin configurationRiku Isokoski1-1/+6
2021-08-09Try to fix bootloopRiku Isokoski1-0/+9
2021-08-03PinMap with namespace and constexprhubmartin1-19/+10
2021-07-18UpdateRiku Isokoski1-3/+0
2021-07-16Fix touch wakeup and code cleanupRiku Isokoski1-1/+3
2021-07-15New touch handler, with issuesRiku Isokoski1-2/+9
2021-07-13Merge branch 'lvgl_use_system_tick' of ↵Jean-François Milants1-7/+0
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.org1-5/+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
2021-07-07LVGL use system tickRiku Isokoski1-7/+0
2021-06-26SPI flash sleep if bootloader >= 1.0.0 (#322)Neil O'Fix1-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
2021-06-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants1-0/+2
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 Milants1-1/+0
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants1-19/+50
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 Ventura1-0/+15
* 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