summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-02-16Add touch panel port to lvgl.JF1-3/+5
PoC of user interaction with 3 screen (clock, menu and app).
2020-02-12Log Touchpanel data (position + gesture!)JF1-1/+1
2020-02-10Integration of lvgl : continued...JF1-3/+5
2020-02-08First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF1-5/+16
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF1-8/+39
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-1/+6
= 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
2020-01-22[WIP] Use IRQ in SPI driver to improve performancesJF1-0/+14
2020-01-18Update comment about system taskJF1-0/+2
2020-01-18DateTimeController is now updated in the system task.JF1-3/+37
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-12Detect BLE disconnection (in addition to BLE connection) and update the ↵JF1-2/+14
display accordingly.
2020-01-09Increase configMINIMAL_STACK_SIZE to fix crash issue caused by freertos timers.JF1-1/+1
2020-01-05Improve power consumption and SLEEP mode :JF1-10/+0
- 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.JF1-2/+21
Handle touch event in display app : draw a big square at the touch point coordinates.
2019-12-28Add DateTimeController to manage the time.JF1-5/+18
Use messages in message queues to refresh the UI
2019-12-27Add BleController to manage the BLE connection statusJF1-1/+4
2019-12-27Implement battery measurement in BatteryController.JF1-67/+12
Update battery info on wake up (with button)
2019-12-27Measure and log battery voltage from SystemTaskJF1-2/+62
2019-12-26Use push button to go to sleep/wake up.JF1-8/+40
Use a queue to transmit messages between system and display task (sleep & wake up for now).
2019-12-23Code cleaning, implement BT connection, advertising, discovery and CTS in ↵JF1-654/+7
ble_manager module.
2019-12-21Track the time using RTCJF1-2/+2
2019-12-21Add BLE and CTS client. Time can be retrieved from a CTS server (like ↵JF1-2/+650
NRFConnect) once it's bond. WIP, the code is really ugly
2019-12-07Convert Spi and GFX to C++.JF1-24/+0
2019-12-05Add DisplayApp, and lcdfont. Update the display every secondJF1-80/+4
2019-12-05Add support for LCD (ST7789)JF1-12/+82
2019-12-02First code tested on the actual pinetime hardwareJF1-0/+26
2019-11-17Initial commitJF1-0/+76