aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Reformatted all the files according to clang-format styleAvamander2021-04-241-52/+50
|
* Merge branch 'develop' into motion-sensorJean-François Milants2021-04-091-2/+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
| * Big UI and navigation RewriteJoaquim2021-04-041-2/+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-2/+1
| |
* | First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants2021-04-041-2/+4
|/ | | | wrist rotation + app to see the value of the 3 axis in "real time".
* replaced all unique_ptr.reset calls with std::make_uniqueNiall Cooling2021-03-221-2/+4
|
* Merge branch 'develop' of github.com:JF002/Pinetime into developJean-François Milants2021-03-201-1/+4
|\ | | | | | | | | | | # 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-2/+3
|\| | | | | | | | | | | | | | | # Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.h # src/systemtask/SystemTask.cpp # src/systemtask/SystemTask.h
| * Remove debug variable.Jean-François Milants2021-02-141-1/+1
| |
| * Fix merge conflict.Jean-François Milants2021-02-141-1/+4
| |\
| | * create motorcontroller in main and pass by referencepetter2021-01-251-1/+3
| | |
| * | Merge pull request #161 from petterhs/callsJF0022021-02-141-3/+1
| |\ \ | | | | | | | | Call functionality with changed UUID for notification event characteristic
| | * | Handle call notification the same way than other notifications.Jean-François Milants2021-01-241-3/+1
| | |/ | | | | | | | | | Display the call notifications in the Notification app, with buttons to accept/reject the call.
| * / Update to nimble 1.3 master branch commit ↵Jean-François Milants2021-02-021-1/+1
| |/ | | | | | | | | | | 82153e744833821e20e9a8b0d61c38b2b0dbcfe1 WARNING : heartbeat task is disabled!
* / Generate pinetime-recovery : a light version of InfiniTime design to be used ↵Jean-François Milants2021-01-261-3/+13
|/ | | | | | | | | 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
* First implementation of the HR sensor using 100% foss code (ported from waspos)Jean-François Milants2021-01-101-1/+5
|
* Include cleanup: componentsokaestne2020-11-161-21/+33
|
* Update main.cppAnton Fosselius2020-10-231-1/+1
| | | changed "include Logging" to "include logging", now compiles with RTT ;)
* Fixed all the includes that were broken due to the renamesAvamander2020-10-021-12/+12
|
* New implementation of the I²C/TWI driver.JF2020-07-191-2/+13
| | | | Fix reset timing and add dummy reading in Cst816S to fix init error on some devices.
* Update to nimble 1.3.0 + WIP : debug BLE connection issue with android phones.JF2020-06-161-0/+1
|
* Merge developJF2020-05-241-1/+0
|\
| * Remove reference to NRF Softdevice in CMake and documentation.JF2020-05-161-1/+0
| | | | | | | | | | | | Update documentation. Remove Asserts when starting advertising to prevent crash (known bug). Set version 0.5.0.
* | Add SPI NOR Flash driver, WIP.JF2020-05-071-5/+11
|/
* Add Asssert & debug messages.JF2020-05-021-2/+5
|