summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-03-02Re-Enable BLEJF
2020-03-02Fix date/time conversion from CTS to internal date/time representation.JF
2020-03-02Move version display from Clock screen to the modal window (accessible from ↵JF
tile menu)
2020-03-01Remove default lvgl font (roboto).JF
2020-03-01Add debugPins module that provides functions to set and clear debug GPIOs.JF
Disable logging once again.
2020-03-01Fix typo in the name of the font "jetbrains_mono_extrabold_compressed" + use ↵JF
it as the default font.
2020-03-01Fix Model that would crash when closing it.JF
2020-03-01Simplify Tile to improve refresh speed (it's not a tile anymore...).JF
Disable debug mode of lvgl.
2020-03-01Instantiate spi, lcd, lvg and touchpanel as global variables instead of ↵JF
unique_ptr (avoids dynamic alloc at run-time.
2020-03-01Configure lvgl theme and use 2*4lines buffers as video buffer (2 lines was ↵JF
not enough and caused perf issues)
2020-03-01Fix double-buffering for spi display (it's actually using double-buffering, now)JF
2020-02-26Add new Screens (gauge, meter,...)JF
2020-02-23Enable watchdog, and issue a WDT reset when the button is pushed for more ↵JF
than 7s.
2020-02-23Re-enable BLE, BLE status on display and battery level on display.JF
2020-02-23Do not compile GFX and older fonts anymore.JF
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.
2020-02-20Re-enable BLE display on Clock screenJF
2020-02-16Prevent unnecessary refresh in Clock screen.JF
2020-02-16Add touch panel port to lvgl.JF
PoC of user interaction with 3 screen (clock, menu and app).
2020-02-15Add support for hardware assisted vertical scrolling.JF
2020-02-12Log Touchpanel data (position + gesture!)JF
2020-02-10Integration of lvgl : continued...JF
2020-02-08First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF
2020-01-31Improve clock accuraty and reduce clock drifting over time (before : 1/2h ↵JF
per day, now : 0 minutes in 24h).
2020-01-26Remove test codeJF
2020-01-26GFX : wait end of transfert using a task notification.JF
Code cleaning in SpiMaster.
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF
be improved by using 'Started' IRQ to prepare the next buffer while the current one is beeing sent.
2020-01-22[WIP] Max SPI speed reached (119ms for a full refresh. Theo max : 240*240*16 ↵JF
= 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
2020-01-22[WIP] Use IRQ in SPI driver to improve performancesJF
2020-01-19Implement the SPI driver using DMA.JF
2020-01-19Merge branch 'master' of https://github.com/JF002/PinetimeJF
2020-01-18downgrade to cmake 3.10Daniel Kucera
2020-01-18Refactor ctor() and Ini() of SpiMaster.JF
2020-01-18Set minimum version of cmake to 3.10JF
2020-01-18Encapsulate the drawing of the screen into Screens classes.JF
2020-01-18Add version (major.minor.patch) in CMake files.JF
Display the version on the display.
2020-01-18Update comment about system taskJF
2020-01-18DateTimeController is now updated in the system task.JF
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.
2020-01-18Apply Hardware reset on display during wake-up, as softreset might not be ↵JF
enough to wake the display up.
2020-01-17Disable SPI, I²C, touch controller and display controller in sleep mode.JF
Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
2020-01-12Detect BLE disconnection (in addition to BLE connection) and update the ↵JF
display accordingly.
2020-01-12Fix link error because of missing file "nrf_common.ld"JF
2020-01-12Improve date/time accuracy and handle counter overflow.JF
2020-01-11Merge pull request #11 from JF002/date-libraryJF002
Date/Time management
2020-01-11Add date library (https://github.com/HowardHinnant/date) to manage the date ↵JF
and time. The date is now properly processed (31 December 2019 23:59:59 + 1s => 1 January 2020 00:00:00)
2020-01-09Increase configMINIMAL_STACK_SIZE to fix crash issue caused by freertos timers.JF
2020-01-05Improve power consumption and SLEEP mode :JF
- Disable IDLE hook (it would wake the device up as soon as possible). - Logger task sleep for 100ms (disable logging for better battery life) - Logging is disabled by default - Apply fix for ERRATA 87 (clear FPU interrupt before going to sleep). Ports files from FreeRTOS are now in the sources (they where in the SDK before)
2020-01-03Add basic touch panel driver.JF
Handle touch event in display app : draw a big square at the touch point coordinates.
2020-01-02Add documentation about building a stub using NRF52-DK.JF
2020-01-02Send command DisplayOn/Off to LCD when enabling/disabling the display.JF
2020-01-02Apply reset signal on pin P0.26 for LCD during init.JF