aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* LFCLK: Add compatibility to wasp-os reloader-factoryChristoph Honal2022-06-271-2/+7
|
* Add basic hardware configuration options for P8Christoph Honal2022-06-271-0/+14
| | | | | This enables the configuration of the LFCLK source, as well as the target hardware board pin configuration.
* Switch to freertos timers (#1095)Michele Bini2022-06-061-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>
* Apply clang-format to all C++ filesFinlay Davidson2022-06-051-5/+3
|
* Provide reference to BrightnessController in DisplayAppReinhold Gschweicher2022-02-191-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
* Status bar displays time in 12 or 24 hour format based on settingsMark Russell2021-11-101-5/+5
|
* Use enum classes, remove old commentRiku Isokoski2021-10-251-1/+0
|
* Newer buttonhandlerRiku Isokoski2021-10-251-12/+12
|
* Merge pull request #664 from Riksu9000/disable_notif_onlyJF0022021-09-231-1/+1
|\ | | | | Toggle notifications only, keep vibrations.
| * Merge branch 'develop' into disable_notif_onlyRiku Isokoski2021-09-131-29/+18
| |\
| * | Toggle notifications only, keep vibrations.Riku Isokoski2021-09-121-1/+1
| | |
* | | Merge branch 'PersistantStorage' of git://github.com/geekbozu/InfiniTime ↵Jean-François Milants2021-09-181-1/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into geekbozu-PersistantStorage # Conflicts: # src/systemtask/SystemTask.cpp
| * | | Add some commentsTim Keller2021-09-021-2/+6
| | | |
| * | | Add clearing of noinit segment on bad wordTim Keller2021-08-191-5/+10
| | | | | | | | | | | | | | | | Code readability cleanup
| * | | Make Clock Persistant.Tim Keller2021-08-171-1/+10
| | | |
* | | | resolve conflict in src/systemtask/Messages.hMark Russell2021-09-161-29/+18
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'develop' into pinmaphubmartin2021-09-131-6/+3
| |\ \ \
| | * \ \ Merge pull request #602 from Riksu9000/del_unusedJF0022021-09-121-6/+1
| | |\ \ \ | | | |_|/ | | |/| | Remove unused variables
| | | * | Remove unused variablesRiku Isokoski2021-08-191-6/+1
| | | |/
| * | | Merge branch 'develop' into pinmaphubmartin2021-08-291-4/+8
| |\| |
| * | | Update startup SCL toggling pinmap definitionshubmartin2021-08-221-4/+5
| | | |
| * | | Merge branch 'develop' into pinmaphubmartin2021-08-221-0/+15
| |\ \ \ | | | |/ | | |/|
| * | | PinMap with namespace and constexprhubmartin2021-08-031-19/+10
| | | |
* | | | Revert "Merge upstream"Mark Russell2021-09-161-18/+29
| | | | | | | | | | | | | | | | This reverts commit 1d43adcdfa7bd15ba45c0c9d7c59c0ff99176b9c.
* | | | Merge upstreamMark Russell2021-09-161-29/+18
| | | |
* | | | Created basic alarm appMark Russell2021-09-101-0/+3
| |_|/ |/| |
* | | Merge branch 'twimaster_rework' of https://github.com/Riksu9000/InfiniTime ↵Jean-François Milants2021-08-281-2/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into Riksu9000-twimaster_rework # Conflicts: # src/systemtask/SystemTask.cpp
| * | | Use highest frequency and move mutex creation to InitRiku Isokoski2021-08-181-2/+2
| | | |
| * | | Simplify parameters and cleanupRiku Isokoski2021-08-161-3/+2
| |/ /
* | | Merge branch 'develop' into new_touch_handlerRiku Isokoski2021-08-181-0/+15
|\ \ \ | | |/ | |/|
| * | Set pin before loopRiku Isokoski2021-08-141-0/+1
| | |
| * | Better pin configurationRiku Isokoski2021-08-141-1/+6
| | |
| * | Try to fix bootloopRiku Isokoski2021-08-141-0/+9
| |/
* | Rework TouchHandler into not a taskRiku Isokoski2021-08-101-2/+1
| |
* | Revert "Merge branch 'unblock_i2c' into develop"Riku Isokoski2021-08-101-15/+0
| | | | | | | | | | This reverts commit 275a84b3238874d213271f4287e6c1c5bfcb4353, reversing changes made to 9fb37550886f09f6510e99a5b452262c53c3987c.
* | Merge branch 'develop' into new_touch_handlerRiku Isokoski2021-08-101-0/+15
|\ \
| * | Set pin before loopRiku Isokoski2021-08-091-0/+1
| | |
| * | Better pin configurationRiku Isokoski2021-08-091-1/+6
| | |
| * | Try to fix bootloopRiku Isokoski2021-08-091-0/+9
| |/
* | UpdateRiku Isokoski2021-07-181-3/+0
| |
* | Fix touch wakeup and code cleanupRiku Isokoski2021-07-161-1/+3
| |
* | New touch handler, with issuesRiku Isokoski2021-07-151-2/+9
|/
* Merge branch 'lvgl_use_system_tick' of ↵Jean-François Milants2021-07-131-7/+0
|\ | | | | | | | | | | | | | | https://github.com/Riksu9000/InfiniTime into Riksu9000-lvgl_use_system_tick # Conflicts: # src/displayapp/screens/BatteryInfo.cpp # src/displayapp/screens/BatteryInfo.h
| * LVGL use system tickRiku Isokoski2021-07-071-7/+0
| |
* | Using littlefs (#438)joaquim.org2021-07-111-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
* 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
* Move most of the code from the constructor of the objects statically ↵Jean-François Milants2021-06-121-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.
* Fix build for recovery firmware.Jean-François Milants2021-06-061-1/+0
|
* Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2021-06-061-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.
* Emit event on power-present toggle (#320)David Ventura2021-05-161-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