summaryrefslogtreecommitdiff
path: root/src/DisplayApp
AgeCommit message (Collapse)AuthorFilesLines
2020-01-26Remove test codeJF2-37/+2
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF2-36/+26
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 ↵JF1-0/+22
= 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
2020-01-22[WIP] Use IRQ in SPI driver to improve performancesJF2-5/+5
2020-01-19Implement the SPI driver using DMA.JF2-12/+16
2020-01-18Refactor ctor() and Ini() of SpiMaster.JF2-26/+32
2020-01-18Encapsulate the drawing of the screen into Screens classes.JF12-148/+287
2020-01-18Add version (major.minor.patch) in CMake files.JF1-0/+6
Display the version on the display.
2020-01-18DateTimeController is now updated in the system task.JF2-46/+17
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-17Disable SPI, I²C, touch controller and display controller in sleep mode.JF1-0/+5
Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
2020-01-12Improve date/time accuracy and handle counter overflow.JF2-13/+23
2020-01-11Add date library (https://github.com/HowardHinnant/date) to manage the date ↵JF2-24/+40
and time. The date is now properly processed (31 December 2019 23:59:59 + 1s => 1 January 2020 00:00:00)
2020-01-03Add basic touch panel driver.JF2-4/+22
Handle touch event in display app : draw a big square at the touch point coordinates.
2020-01-02Send command DisplayOn/Off to LCD when enabling/disabling the display.JF1-0/+2
2019-12-28Add DateTimeController to manage the time.JF2-64/+107
Use messages in message queues to refresh the UI
2019-12-27Add BleController to manage the BLE connection statusJF2-4/+16
2019-12-27Implement battery measurement in BatteryController.JF2-8/+21
Update battery info on wake up (with button)
2019-12-27Add small font, display date, Ble connection and battery power in display ↵JF6-1/+1729
app (hard-coded values for now).
2019-12-26Use push button to go to sleep/wake up.JF2-16/+80
Use a queue to transmit messages between system and display task (sleep & wake up for now).
2019-12-21Track the time using RTCJF2-4/+28
2019-12-21Add BLE and CTS client. Time can be retrieved from a CTS server (like ↵JF2-22/+36
NRFConnect) once it's bond. WIP, the code is really ugly
2019-12-07The font is now fixed width.JF3-4264/+4314
HUGE performance improvement of the display driver.
2019-12-07Convert Spi and GFX to C++.JF2-153/+42
2019-12-06Add missing return statements which fix crashes in release mode.JF2-4/+4
Add flag to compiler so that it generates an error when a returning function does not return something...
2019-12-05Add DisplayApp, and lcdfont. Update the display every secondJF4-0/+7473