summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-01-19Merge branch 'master' of https://github.com/JF002/PinetimeJF
2020-01-18downgrade to cmake 3.10Daniel Kucera
2020-01-18Refactor ctor() and Ini() of SpiMaster.JF
2020-01-18Set minimum version of cmake to 3.10JF
2020-01-18Encapsulate the drawing of the screen into Screens classes.JF
2020-01-18Add version (major.minor.patch) in CMake files.JF
Display the version on the display.
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-18Apply Hardware reset on display during wake-up, as softreset might not be ↵JF
enough to wake the display up.
2020-01-17Disable SPI, I²C, touch controller and display controller in sleep mode.JF
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 ↵JF
display accordingly.
2020-01-12Fix link error because of missing file "nrf_common.ld"JF
2020-01-12Improve date/time accuracy and handle counter overflow.JF
2020-01-11Merge pull request #11 from JF002/date-libraryJF002
Date/Time management
2020-01-11Add date library (https://github.com/HowardHinnant/date) to manage the date ↵JF
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.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.
2020-01-02Add documentation about building a stub using NRF52-DK.JF
2020-01-02Send command DisplayOn/Off to LCD when enabling/disabling the display.JF
2020-01-02Apply reset signal on pin P0.26 for LCD during init.JF
2019-12-30Remove deleted files from CMakeLists.txtJF
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-27Replace pin numbers by constantsJF
2019-12-27Implement battery measurement in BatteryController.JF
Update battery info on wake up (with button)
2019-12-27Add small font, display date, Ble connection and battery power in display ↵JF
app (hard-coded values for now).
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-07The font is now fixed width.JF
HUGE performance improvement of the display driver.
2019-12-07Convert Spi and GFX to C++.JF
2019-12-06Add missing return statements which fix crashes in release mode.JF
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 secondJF
2019-12-05Add support for LCD (ST7789)JF
2019-12-02First code tested on the actual pinetime hardwareJF
2019-11-17Initial commitJF