331481cd0cRefactor CMake files to allow building 2 binaries : one standalone and one compatible with mcuboot bootloader (the offset in memory is different).
JF
2020-05-24 16:36:04 +02:00
ce32863693Fix offset issues in OTA procedure. CRC verification : work in progress (not fully working for now).
JF
2020-05-20 18:39:25 +02:00
8a94750e30Merge branch 'develop' of JF/PineTime into master
JF
2020-05-17 10:29:13 +02:00
be1ad9b070Disable logging once again...
JF
2020-05-17 10:25:42 +02:00
79131f4fe3Improve SPI driver (use a mutex to prevent race conditions).
JF
2020-05-17 09:35:01 +02:00
9753967d8aUpdate LittleVGL from 6.1.1 to 6.1.2. It fixes a memory leak when a screen used 2 lv_img objects (occured in Clock).
JF
2020-05-17 09:27:36 +02:00
d58f57b1b5Merge pull request #30 from JF002/nimble
JF002
2020-05-16 16:15:38 +02:00
d6c6ac4cf5Remove reference to NRF Softdevice in CMake and documentation. Update documentation. Remove Asserts when starting advertising to prevent crash (known bug). Set version 0.5.0.
JF
2020-05-16 16:13:22 +02:00
56fba1c242Merge branch 'nimble' of git.proxmox3:JF/PineTime into nimble
JF
2020-05-16 15:30:54 +02:00
ee05577dd6Fix race conditions on SPI and integrate the SPI NOR Flash driver into DFUService (WIP)
JF
2020-05-11 18:50:37 +02:00
c55dd06f1aMerge pull request #27 from piggz/pinetime-service
JF002
2020-05-11 18:24:55 +02:00
7e3ac35710Merge branch 'pinetime-service' of github.com:piggz/Pinetime into pinetime-service
Adam Pigg
2020-05-07 20:10:49 +01:00
ca0ef77368TODO is done
Adam Pigg
2020-05-07 20:06:50 +01:00
0b8e6c3fa2Add SPI NOR Flash driver, WIP.
JF
2020-05-07 19:53:51 +02:00
b4e82dd11fAdd support for reading the current time
Adam Pigg
2020-05-05 20:53:31 +01:00
206bdbf5ebMove PinetimeService to CurrentTimeService witha view to implement CTS for time handling
Adam Pigg
2020-05-04 21:43:51 +01:00
d33be52bc9Run the alert notification service and simplify trhe pinetime service initialization
Adam Pigg
2020-04-28 18:39:26 +01:00
49a9a93cefAdd a very basic alert nofification service
Adam Pigg
2020-04-28 18:31:58 +01:00
b760b3f98cAdd a simple service to allow setting the time from a controlling application
Adam Pigg
2020-04-28 11:21:35 +01:00
a9a5bd0358Add support for reading the current time
Adam Pigg
2020-05-05 20:53:31 +01:00
9935fb193cMove PinetimeService to CurrentTimeService witha view to implement CTS for time handling
Adam Pigg
2020-05-04 21:43:51 +01:00
f96c048debRead and log info from Start and Ini packets.
JF
2020-05-03 15:48:42 +02:00
59287e518cImprove dfu state machine
JF
2020-05-03 14:27:48 +02:00
66caada0d2Merge branch 'nimble' into nimble-ota
JF
2020-05-02 17:48:59 +02:00
d564b3cf15Fix crash when the computer disconnect from the BLE connection.
JF
2020-04-04 17:41:21 +02:00
211e9795e0Update Readme, add section about BLE connection troubleshooting
JF
2020-03-29 15:19:39 +02:00
9ad1f05bc6Improved BLE logging Do not consider service discovery as error Remove dulicated BLE observer
JF
2020-03-29 13:58:06 +02:00
baca0fc3e5Encapsulate Notification management in NotificationManager. It implement a static array of notifications to avoid dynamic allocation.
JF
2020-03-28 19:05:28 +01:00
68240704c7Add support for BLE notification (ANS client). Work In Progress!!!
JF
2020-03-25 21:23:40 +01:00
7e9a7e4d5fFix bad memory alloaction in sysinfo screen.
JF
2020-03-22 12:14:38 +01:00
fb64ba8fb6Add new App : Sysinfo. It displays various info about the running system : version, date/time, battery, brightness and resetreason. It contains placeholder for future use (like mac address, uptime,...).
JF
2020-03-22 12:03:17 +01:00
8ed6ffaaf8Add the possibility to the screen to handle a touch gesture. A default action is taken if the current screen doesn't handle it.
JF
2020-03-15 21:01:24 +01:00
2c55ab20b4Merge branch 'brightness-app' of JF/PineTime into develop
JF
2020-03-15 20:19:29 +01:00
2ed76ac556Encapsulate brightness controll into the class BrightnessController. Add a new app to configure the brightness.
JF
2020-03-15 18:03:11 +01:00
eabb54f15dWorkaround for a issue when the FDS (flash data storage for BLE softdevice)) memory is full (it prevent the app from running correctly and just display a black screen) : if the fds cannot init, erase the memory and try again.
JF
2020-03-15 18:00:41 +01:00
6c4afdc4f3Merge branch 'battery-icon' of JF/PineTime into develop
JF
2020-03-14 16:37:45 +01:00
4d2aacf863Display battery level and BLE connection status using icon on Clock screen.
JF
2020-03-14 16:33:47 +01:00
a91c68c931Backup and restore vertical scroll offset when goind to sleep/wakeup to avoid scrambled display on wake-up.
JF
2020-03-11 21:35:06 +01:00
b279c99488Set version 0.4.0
JF
2020-03-10 20:22:47 +01:00
4de22601f5Apply a "up" transition when an app is opened.
JF
2020-03-10 20:21:41 +01:00
35e221078bAdd support for gestures and integrate it with the vertical scrolling transition.
JF
2020-03-09 21:29:12 +01:00
0a5cd60fe8When a full screen refresh is done, apply a vertical scroll during the refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
JF
2020-03-08 21:46:25 +01:00
d834f40c10Do not copy LittleVgl object in DislayApp, use reference instead. Make Cst816s, SpiMaster and St7789 not copiable and not movable
JF
2020-03-08 21:38:11 +01:00
bfecc8118eSet version 0.3.1
JF
2020-03-06 21:54:43 +01:00
3f80a3debdRemove not needed code.
JF
2020-03-06 21:54:36 +01:00
4ffd8d1c91Call ble_manager_init_peer_manager() _after_ the scheduler has been started. This fixes an issue that would prevent the firmware from running correctly after a full reset or after the flashing of the firmware.
JF
2020-03-06 21:50:29 +01:00
6089a1c0d1Add hires pictures of v0.3.0
JF
2020-03-06 19:55:24 +01:00
fd45746b8cAdd doc in README.md : how to flash using gdb
JF
2020-03-03 20:51:42 +01:00
d2f725ec9bUpdate README.md with up to date picture.
JF
2020-03-02 21:30:45 +01:00
d88ec8c2f0Workaround for the first touch that is taken twice into account.
JF
2020-03-02 20:48:58 +01:00
43ffeb15d1Remove TODO as they are not needed anymore
JF
2020-03-02 20:48:35 +01:00
262336afa5Fix Type in sdk_config
JF
2020-03-02 20:19:50 +01:00
6b5b0112e3Re-Enable BLE
JF
2020-03-02 20:13:42 +01:00
64014f03eeFix date/time conversion from CTS to internal date/time representation.
JF
2020-03-02 20:13:30 +01:00
824b8a7ebdMove version display from Clock screen to the modal window (accessible from tile menu)
JF
2020-03-02 20:12:46 +01:00
dccef16180Remove default lvgl font (roboto).
JF
2020-03-01 21:15:39 +01:00
6f1857c503Add debugPins module that provides functions to set and clear debug GPIOs. Disable logging once again.
JF
2020-03-01 21:00:59 +01:00
5bc0640b73Fix typo in the name of the font "jetbrains_mono_extrabold_compressed" + use it as the default font.
JF
2020-03-01 19:09:59 +01:00
21375eab81Set version 0.3.0
JF
2020-03-01 17:22:21 +01:00
a1d79e7eccFix Model that would crash when closing it.
JF
2020-03-01 17:20:27 +01:00
63c5725882Simplify Tile to improve refresh speed (it's not a tile anymore...). Disable debug mode of lvgl.
JF
2020-03-01 16:01:53 +01:00
40bdbe503cInstantiate spi, lcd, lvg and touchpanel as global variables instead of unique_ptr (avoids dynamic alloc at run-time.
JF
2020-03-01 16:00:43 +01:00