summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-07-04Automatically switch the display on when receiving a notificationJF2-5/+11
2020-07-04Add doc : how to add new symbols.JF1-1/+9
2020-07-04Replace bitmap icons by font icons (provided by AwesomeFont and LVGL). These ↵JF24-9275/+343
icons are smaller in memory and quicker to draw. BLE and battery icon replaced in Clock screen. Added heartbeat and step icons in Clock screen. Replace all labels in Menu by icons. Add doc to generate new font.
2020-07-03Remove custom styles in Screens and define default style and "Big style" in ↵JF6-27/+9
LittleVgl during the initialization of LVGL.
2020-07-03Add doc about memory usage analysis.JF2-1/+3
2020-07-02Reduce RAM memory usage by tuning the stack of the stasks and the heap ↵JF7-6/+62
allocated for FreeRTOS. Add Monitor to log the stack usage of each task.
2020-06-28Fix buffer overflow opportunities in AlertNotificationService & ↵JF4-28/+44
AlertNotificationClient.
2020-06-27Re-enable watchdogJF1-2/+2
2020-06-27Merge branch 'nimble_1_3_0' into developJF31-858/+591
2020-06-20Merge pull request #37 from darnel/fix-includeJF0021-3/+3
Fix #include to relative paths
2020-06-19Update BLE status when BLE is connected.JF1-2/+2
2020-06-19Use PRIMASK instead of BASEPRI for critical sections in FreeRTOS. This is ↵JF1-2/+2
needed by NimBLE to be able to mask radio interrupt (which has priority 0).
2020-06-19Apply fix for errata 87 (FPU issue).JF1-0/+8
2020-06-19Disable all loggingJF2-5/+5
2020-06-17Fix link error because of missing file "nrf_common.ld"Vojtěch Jirkovský1-1/+2
2020-06-17Fix #include to relative pathsVojtěch Jirkovský1-3/+3
2020-06-16Fix builds that do not specify CMAKE_BUILD_TYPE during CMake generation. ↵JF1-0/+4
Apply Release by default.
2020-06-16Fix #include that were pointing to my own FS instead of relative paths to ↵JF2-2/+2
the SDK.
2020-06-16Update to nimble 1.3.0 + WIP : debug BLE connection issue with android phones.JF31-862/+587
2020-06-13Fix idle timer bug that would prevent the screen from waking up.JF1-0/+3
2020-06-08Display BLE MAC address in sysinfo Screen.JF6-10/+36
2020-06-07Fix reset reason (it returns the actual reset reason instead of hard coded ↵JF1-11/+11
'hard reset' value).
2020-06-07Add build date and time in sysinfo screen.JF1-5/+7
2020-06-07Set idle timeout to 15s before going to sleep.JF1-1/+1
2020-06-07Add uptime counter in DateTimeController and display it in SystemInfo screen.JF3-3/+18
2020-06-07DfuService : fix Magic number : incorrect values were written in memory.JF1-2/+2
2020-06-06Add new target (pinetime-graphics) that flash the bootloader logo into the ↵JF4-1/+198
spi flash memory.
2020-06-01Automatically go to sleep after 5 sec of inactivity.JF3-11/+58
Advertise for 3 minutes at startup and on wake-up. Disable automatic continuous StartAdvertising.
2020-06-01Encapsulate DFU Image buffering and writing into spi flash in DfuImage.JF9-99/+137
Add some const in SPI driver.
2020-06-01Encapsulate notification send (sync/async) into DfuService::NotificationManager;JF2-66/+78
2020-06-01DFU : add timeout detection : abort dfu procedure after 10s without any data ↵JF7-33/+45
from the host.
2020-06-01Improve DFU procedure :JF7-142/+265
- correctly write all bytes to flash - check CRC - Fix bug in notification : they cannot be sent from the control point handler (because it seems you cannot send a notification and a write acknowledge at the same time) using a timer (quick'n'dirty implementation to be improved) - Improve dfu screen - Reset if dfu image is correctly copied into flash and crc is ok.
2020-05-24Add driver for writing into the internal flash.JF4-27/+63
Write the OK flag for mcuboot using this driver.
2020-05-24Fix race condition in SpiMaster.cpp.JF1-0/+2
2020-05-24Merge developJF53-289/+762
2020-05-24Refactor CMake files to allow building 2 binaries : one standalone and one ↵JF2-59/+259
compatible with mcuboot bootloader (the offset in memory is different). Add documentation about mcuboot image generation and OTA. Re-enable watchdog
2020-05-24Working demo of OTA using MCUBoot ↵JF3-8/+63
https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v4.1.4
2020-05-20Fix offset issues in OTA procedure.JF2-7/+70
CRC verification : work in progress (not fully working for now).
2020-05-17Disable logging once again...JF1-3/+3
2020-05-17Improve SPI driver (use a mutex to prevent race conditions).JF2-17/+24
2020-05-17Update LittleVGL from 6.1.1 to 6.1.2. It fixes a memory leak when a screen ↵JF40-166/+378
used 2 lv_img objects (occured in Clock).
2020-05-16Remove reference to NRF Softdevice in CMake and documentation.JF2-4/+10
Update documentation. Remove Asserts when starting advertising to prevent crash (known bug). Set version 0.5.0.
2020-05-16Merge branch 'nimble' of git.proxmox3:JF/PineTime into nimbleJF2-10/+18
2020-05-11Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF12-48/+257
DFUService (WIP)
2020-05-07TODO is doneAdam Pigg1-1/+0
2020-05-07Add SPI NOR Flash driver, WIP.JF14-30/+212
2020-05-05Add support for reading the current timeAdam Pigg1-0/+15
2020-05-05Move PinetimeService to CurrentTimeService witha view to implement CTSAdam Pigg5-28/+27
for time handling
2020-05-05Run the alert notification service and simplify trhe pinetime serviceAdam Pigg5-18/+20
initialization
2020-05-05Add a very basic alert nofification serviceAdam Pigg2-0/+112