aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* BLE : Display the actual status of the connection on the screen.JF2020-04-271-39/+0
|
* Remove references to BLE ManagerAdam Pigg2020-04-271-1/+0
|
* Encapsulate nimble code into NimbleController.JF2020-04-191-3/+1
| | | | Handle all GAP events.
* Integration of nimble, work in progress.JF2020-04-191-20/+130
| | | | Advertising is working.
* Encapsulate Notification management in NotificationManager. It implement a ↵JF2020-03-281-2/+6
| | | | static array of notifications to avoid dynamic allocation.
* Add support for BLE notification (ANS client).JF2020-03-251-0/+8
| | | | Work In Progress!!!
* Remove not needed code.JF2020-03-061-16/+0
|
* Remove TODO as they are not needed anymoreJF2020-03-021-2/+0
|
* Re-Enable BLEJF2020-03-021-4/+4
|
* Instantiate spi, lcd, lvg and touchpanel as global variables instead of ↵JF2020-03-011-20/+34
| | | | unique_ptr (avoids dynamic alloc at run-time.
* Add new Screens (gauge, meter,...)JF2020-02-261-4/+4
|
* Re-enable BLE, BLE status on display and battery level on display.JF2020-02-231-8/+1
|
* Do not compile GFX and older fonts anymore.JF2020-02-231-121/+25
| | | | | | Refactor SystemTask in its own class. Refactor Screen to be able to close current screen and open a new one. Re-enable sleep/wake up and propagate button event to Screens.
* Add touch panel port to lvgl.JF2020-02-161-3/+5
| | | | PoC of user interaction with 3 screen (clock, menu and app).