aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* When a full screen refresh is done, apply a vertical scroll during the ↵JF2020-03-08212-30/+89113
| | | | refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
* Do not copy LittleVgl object in DislayApp, use reference instead.JF2020-03-084-1/+17
| | | | Make Cst816s, SpiMaster and St7789 not copiable and not movable
* Remove not needed code.JF2020-03-061-16/+0
|
* Call ble_manager_init_peer_manager() _after_ the scheduler has been started. ↵JF2020-03-063-1/+2
| | | | | | This fixes an issue that would prevent the firmware from running correctly after a full reset or after the flashing of the firmware. Before this fix, ble_manager_init_peer_manager() was called before the scheduler, which trigged an assert in an IRQ routine.
* Merge branch 'littlevgl'JF2020-03-0340-280/+4092
|\ | | | | | | | | | | # Conflicts: # src/DisplayApp/Screens/Clock.cpp # src/DisplayApp/Screens/Clock.h
| * Workaround for the first touch that is taken twice into account.JF2020-03-022-4/+10
| |
| * Remove TODO as they are not needed anymoreJF2020-03-021-2/+0
| |
| * Fix Type in sdk_configJF2020-03-021-1/+1
| |
| * Re-Enable BLEJF2020-03-022-5/+5
| |
| * Fix date/time conversion from CTS to internal date/time representation.JF2020-03-023-15/+13
| |
| * Move version display from Clock screen to the modal window (accessible from ↵JF2020-03-023-15/+7
| | | | | | | | tile menu)
| * Remove default lvgl font (roboto).JF2020-03-012-3/+3
| |
| * Add debugPins module that provides functions to set and clear debug GPIOs.JF2020-03-014-3/+79
| | | | | | | | Disable logging once again.
| * Fix typo in the name of the font "jetbrains_mono_extrabold_compressed" + use ↵JF2020-03-017-12/+27
| | | | | | | | it as the default font.
| * Fix Model that would crash when closing it.JF2020-03-012-13/+14
| |
| * Simplify Tile to improve refresh speed (it's not a tile anymore...).JF2020-03-013-22/+25
| | | | | | | | Disable debug mode of lvgl.
| * Instantiate spi, lcd, lvg and touchpanel as global variables instead of ↵JF2020-03-011-20/+34
| | | | | | | | unique_ptr (avoids dynamic alloc at run-time.
| * Configure lvgl theme and use 2*4lines buffers as video buffer (2 lines was ↵JF2020-03-012-9/+680
| | | | | | | | not enough and caused perf issues)
| * Fix double-buffering for spi display (it's actually using double-buffering, now)JF2020-03-012-0/+5
| |
| * Add new Screens (gauge, meter,...)JF2020-02-2613-7/+354
| |
| * Enable watchdog, and issue a WDT reset when the button is pushed for more ↵JF2020-02-236-3/+88
| | | | | | | | than 7s.
| * Re-enable BLE, BLE status on display and battery level on display.JF2020-02-2313-72/+83
| |
| * Do not compile GFX and older fonts anymore.JF2020-02-2313-200/+313
| | | | | | | | | | | | 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.
| * Re-enable BLE display on Clock screenJF2020-02-203-8/+8
| |
| * Add touch panel port to lvgl.JF2020-02-1618-68/+540
| | | | | | | | PoC of user interaction with 3 screen (clock, menu and app).
| * Log Touchpanel data (position + gesture!)JF2020-02-124-22/+58
| |
| * Integration of lvgl : continued...JF2020-02-1017-314/+1301
| |
| * First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF2020-02-0812-31/+1014
| |
* | Prevent unnecessary refresh in Clock screen.JF2020-02-162-4/+5
| |
* | Add support for hardware assisted vertical scrolling.JF2020-02-154-1/+34
|/
* Improve clock accuraty and reduce clock drifting over time (before : 1/2h ↵JF2020-01-312-781/+792
| | | | per day, now : 0 minutes in 24h).
* Remove test codeJF2020-01-263-40/+5
|
* GFX : wait end of transfert using a task notification.JF2020-01-264-63/+82
| | | | Code cleaning in SpiMaster.
* Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF2020-01-2610-164/+223
| | | | be improved by using 'Started' IRQ to prepare the next buffer while the current one is beeing sent.
* [WIP] Max SPI speed reached (119ms for a full refresh. Theo max : 240*240*16 ↵JF2020-01-228-51/+114
| | | | | | = 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
* [WIP] Use IRQ in SPI driver to improve performancesJF2020-01-225-54/+90
|
* Implement the SPI driver using DMA.JF2020-01-198-59/+142
|
* Merge branch 'master' of https://github.com/JF002/PinetimeJF2020-01-191-1/+1
|\
| * downgrade to cmake 3.10Daniel Kucera2020-01-181-2/+2
| |
* | Refactor ctor() and Ini() of SpiMaster.JF2020-01-184-36/+45
| |
* | Set minimum version of cmake to 3.10JF2020-01-181-1/+1
| |
* | Encapsulate the drawing of the screen into Screens classes.JF2020-01-1816-152/+303
|/
* Add version (major.minor.patch) in CMake files.JF2020-01-182-0/+22
| | | | Display the version on the display.
* Update comment about system taskJF2020-01-181-0/+2
|
* DateTimeController is now updated in the system task.JF2020-01-185-59/+110
| | | | | It runs every 1s in Running mode, and every 1h in sleep mode. This should allow to keep the watch on time for more than 4 hours.
* Apply Hardware reset on display during wake-up, as softreset might not be ↵JF2020-01-181-0/+1
| | | | enough to wake the display up.
* Disable SPI, I²C, touch controller and display controller in sleep mode.JF2020-01-179-3/+82
| | | | | | | | Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
* Detect BLE disconnection (in addition to BLE connection) and update the ↵JF2020-01-123-9/+35
| | | | display accordingly.
* Fix link error because of missing file "nrf_common.ld"JF2020-01-121-0/+4
|
* Improve date/time accuracy and handle counter overflow.JF2020-01-123-14/+24
|