summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)Author
2020-03-02Remove TODO as they are not needed anymoreJF
2020-03-02Re-Enable BLEJF
2020-03-01Instantiate spi, lcd, lvg and touchpanel as global variables instead of ↵JF
unique_ptr (avoids dynamic alloc at run-time.
2020-02-26Add new Screens (gauge, meter,...)JF
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-16Add touch panel port to lvgl.JF
PoC of user interaction with 3 screen (clock, menu and app).
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-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-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-12Detect BLE disconnection (in addition to BLE connection) and update the ↵JF
display accordingly.
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.
2019-12-28Add DateTimeController to manage the time.JF
Use messages in message queues to refresh the UI
2019-12-27Add BleController to manage the BLE connection statusJF
2019-12-27Implement battery measurement in BatteryController.JF
Update battery info on wake up (with button)
2019-12-27Measure and log battery voltage from SystemTaskJF
2019-12-26Use push button to go to sleep/wake up.JF
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 ↵JF
ble_manager module.
2019-12-21Track the time using RTCJF
2019-12-21Add BLE and CTS client. Time can be retrieved from a CTS server (like ↵JF
NRFConnect) once it's bond. WIP, the code is really ugly
2019-12-07Convert Spi and GFX to C++.JF
2019-12-05Add DisplayApp, and lcdfont. Update the display every secondJF
2019-12-05Add support for LCD (ST7789)JF
2019-12-02First code tested on the actual pinetime hardwareJF
2019-11-17Initial commitJF