summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-03-01Add debugPins module that provides functions to set and clear debug GPIOs.JF4-3/+79
Disable logging once again.
2020-03-01Fix typo in the name of the font "jetbrains_mono_extrabold_compressed" + use ↵JF7-12/+27
it as the default font.
2020-03-01Fix Model that would crash when closing it.JF2-13/+14
2020-03-01Simplify Tile to improve refresh speed (it's not a tile anymore...).JF3-22/+25
Disable debug mode of lvgl.
2020-03-01Instantiate spi, lcd, lvg and touchpanel as global variables instead of ↵JF1-20/+34
unique_ptr (avoids dynamic alloc at run-time.
2020-03-01Configure lvgl theme and use 2*4lines buffers as video buffer (2 lines was ↵JF2-9/+680
not enough and caused perf issues)
2020-03-01Fix double-buffering for spi display (it's actually using double-buffering, now)JF2-0/+5
2020-02-26Add new Screens (gauge, meter,...)JF13-7/+354
2020-02-23Enable watchdog, and issue a WDT reset when the button is pushed for more ↵JF6-3/+88
than 7s.
2020-02-23Re-enable BLE, BLE status on display and battery level on display.JF13-73/+84
2020-02-23Do not compile GFX and older fonts anymore.JF13-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.
2020-02-20Re-enable BLE display on Clock screenJF3-8/+8
2020-02-16Add touch panel port to lvgl.JF18-68/+540
PoC of user interaction with 3 screen (clock, menu and app).
2020-02-12Log Touchpanel data (position + gesture!)JF4-22/+58
2020-02-10Integration of lvgl : continued...JF17-314/+1301
2020-02-08First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF12-32/+1015
2020-01-31Improve clock accuraty and reduce clock drifting over time (before : 1/2h ↵JF2-781/+792
per day, now : 0 minutes in 24h).
2020-01-26Remove test codeJF3-40/+5
2020-01-26GFX : wait end of transfert using a task notification.JF4-63/+82
Code cleaning in SpiMaster.
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF10-164/+223
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 ↵JF8-51/+114
= 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
2020-01-22[WIP] Use IRQ in SPI driver to improve performancesJF5-54/+90
2020-01-19Implement the SPI driver using DMA.JF8-59/+142
2020-01-19Merge branch 'master' of https://github.com/JF002/PinetimeJF1-1/+1
2020-01-18downgrade to cmake 3.10Daniel Kucera1-2/+2
2020-01-18Refactor ctor() and Ini() of SpiMaster.JF4-37/+46
2020-01-18Set minimum version of cmake to 3.10JF1-1/+1
2020-01-18Encapsulate the drawing of the screen into Screens classes.JF16-152/+303
2020-01-18Add version (major.minor.patch) in CMake files.JF2-0/+22
Display the version on the display.
2020-01-18Update comment about system taskJF1-0/+2
2020-01-18DateTimeController is now updated in the system task.JF5-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.
2020-01-18Apply Hardware reset on display during wake-up, as softreset might not be ↵JF1-0/+1
enough to wake the display up.
2020-01-17Disable SPI, I²C, touch controller and display controller in sleep mode.JF9-3/+82
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 ↵JF3-9/+35
display accordingly.
2020-01-12Fix link error because of missing file "nrf_common.ld"JF1-0/+4
2020-01-12Improve date/time accuracy and handle counter overflow.JF3-14/+24
2020-01-11Merge pull request #11 from JF002/date-libraryJF00213-24/+23451
Date/Time management
2020-01-11Add date library (https://github.com/HowardHinnant/date) to manage the date ↵JF13-24/+23451
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.JF2-2/+2
2020-01-05Improve power consumption and SLEEP mode :JF10-16/+1047
- 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.JF7-101/+176
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.JF1-13/+13
2020-01-02Send command DisplayOn/Off to LCD when enabling/disabling the display.JF1-0/+2
2020-01-02Apply reset signal on pin P0.26 for LCD during init.JF2-2/+15
2019-12-30Remove deleted files from CMakeLists.txtJF1-2/+0
2019-12-28Add DateTimeController to manage the time.JF8-74/+179
Use messages in message queues to refresh the UI
2019-12-27Add BleController to manage the BLE connection statusJF6-5/+48
2019-12-27Replace pin numbers by constantsJF2-5/+9
2019-12-27Implement battery measurement in BatteryController.JF6-75/+103
Update battery info on wake up (with button)
2019-12-27Add small font, display date, Ble connection and battery power in display ↵JF7-3/+1733
app (hard-coded values for now).