331481cd0c
Refactor 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
ce32863693
Fix offset issues in OTA procedure. CRC verification : work in progress (not fully working for now).
JF
2020-05-20 18:39:25 +02:00
8a94750e30
Merge branch 'develop' of JF/PineTime into master
JF
2020-05-17 10:29:13 +02:00
be1ad9b070
Disable logging once again...
JF
2020-05-17 10:25:42 +02:00
79131f4fe3
Improve SPI driver (use a mutex to prevent race conditions).
JF
2020-05-17 09:35:01 +02:00
9753967d8a
Update 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
d6c6ac4cf5
Remove 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
56fba1c242
Merge branch 'nimble' of git.proxmox3:JF/PineTime into nimble
JF
2020-05-16 15:30:54 +02:00
ee05577dd6
Fix race conditions on SPI and integrate the SPI NOR Flash driver into DFUService (WIP)
JF
2020-05-11 18:50:37 +02:00
d564b3cf15
Fix crash when the computer disconnect from the BLE connection.
JF
2020-04-04 17:41:21 +02:00
211e9795e0
Update Readme, add section about BLE connection troubleshooting
JF
2020-03-29 15:19:39 +02:00
9ad1f05bc6
Improved BLE logging Do not consider service discovery as error Remove dulicated BLE observer
JF
2020-03-29 13:58:06 +02:00
baca0fc3e5
Encapsulate Notification management in NotificationManager. It implement a static array of notifications to avoid dynamic allocation.
JF
2020-03-28 19:05:28 +01:00
68240704c7
Add support for BLE notification (ANS client). Work In Progress!!!
JF
2020-03-25 21:23:40 +01:00
7e9a7e4d5f
Fix bad memory alloaction in sysinfo screen.
JF
2020-03-22 12:14:38 +01:00
fb64ba8fb6
Add 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
8ed6ffaaf8
Add 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
2c55ab20b4
Merge branch 'brightness-app' of JF/PineTime into develop
JF
2020-03-15 20:19:29 +01:00
2ed76ac556
Encapsulate brightness controll into the class BrightnessController. Add a new app to configure the brightness.
JF
2020-03-15 18:03:11 +01:00
eabb54f15d
Workaround 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
6c4afdc4f3
Merge branch 'battery-icon' of JF/PineTime into develop
JF
2020-03-14 16:37:45 +01:00
4d2aacf863
Display battery level and BLE connection status using icon on Clock screen.
JF
2020-03-14 16:33:47 +01:00
a91c68c931
Backup 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
b279c99488
Set version 0.4.0
JF
2020-03-10 20:22:47 +01:00
4de22601f5
Apply a "up" transition when an app is opened.
JF
2020-03-10 20:21:41 +01:00
35e221078b
Add support for gestures and integrate it with the vertical scrolling transition.
JF
2020-03-09 21:29:12 +01:00
0a5cd60fe8
When 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
d834f40c10
Do 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
bfecc8118e
Set version 0.3.1
JF
2020-03-06 21:54:43 +01:00
3f80a3debd
Remove not needed code.
JF
2020-03-06 21:54:36 +01:00
4ffd8d1c91
Call 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
6089a1c0d1
Add hires pictures of v0.3.0
JF
2020-03-06 19:55:24 +01:00
fd45746b8c
Add doc in README.md : how to flash using gdb
JF
2020-03-03 20:51:42 +01:00
d2f725ec9b
Update README.md with up to date picture.
JF
2020-03-02 21:30:45 +01:00
d88ec8c2f0
Workaround for the first touch that is taken twice into account.
JF
2020-03-02 20:48:58 +01:00
43ffeb15d1
Remove TODO as they are not needed anymore
JF
2020-03-02 20:48:35 +01:00
262336afa5
Fix Type in sdk_config
JF
2020-03-02 20:19:50 +01:00
6b5b0112e3
Re-Enable BLE
JF
2020-03-02 20:13:42 +01:00
64014f03ee
Fix date/time conversion from CTS to internal date/time representation.
JF
2020-03-02 20:13:30 +01:00
824b8a7ebd
Move version display from Clock screen to the modal window (accessible from tile menu)
JF
2020-03-02 20:12:46 +01:00
dccef16180
Remove default lvgl font (roboto).
JF
2020-03-01 21:15:39 +01:00
6f1857c503
Add debugPins module that provides functions to set and clear debug GPIOs. Disable logging once again.
JF
2020-03-01 21:00:59 +01:00
5bc0640b73
Fix 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
21375eab81
Set version 0.3.0
JF
2020-03-01 17:22:21 +01:00
a1d79e7ecc
Fix Model that would crash when closing it.
JF
2020-03-01 17:20:27 +01:00
63c5725882
Simplify 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
40bdbe503c
Instantiate 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