summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-05-16Remove reference to NRF Softdevice in CMake and documentation.JF1-1/+0
Update documentation. Remove Asserts when starting advertising to prevent crash (known bug). Set version 0.5.0.
2020-05-02Add Asssert & debug messages.JF1-2/+5
2020-04-27BLE : Display the actual status of the connection on the screen.JF1-39/+0
2020-04-27Remove references to BLE ManagerAdam Pigg1-1/+0
2020-04-19Encapsulate nimble code into NimbleController.JF1-3/+1
Handle all GAP events.
2020-04-19Integration of nimble, work in progress.JF1-20/+130
Advertising is working.
2020-03-28Encapsulate Notification management in NotificationManager. It implement a ↵JF1-2/+6
static array of notifications to avoid dynamic allocation.
2020-03-25Add support for BLE notification (ANS client).JF1-0/+8
Work In Progress!!!
2020-03-06Remove not needed code.JF1-16/+0
2020-03-02Remove TODO as they are not needed anymoreJF1-2/+0
2020-03-02Re-Enable BLEJF1-4/+4
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-02-26Add new Screens (gauge, meter,...)JF1-4/+4
2020-02-23Re-enable BLE, BLE status on display and battery level on display.JF1-8/+1
2020-02-23Do not compile GFX and older fonts anymore.JF1-121/+25
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.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