summaryrefslogtreecommitdiff
path: root/src/SystemTask
AgeCommit message (Collapse)Author
2020-07-19New implementation of the I²C/TWI driver.JF
Fix reset timing and add dummy reading in Cst816S to fix init error on some devices.
2020-07-04Automatically switch the display on when receiving a notificationJF
2020-07-03Add doc about memory usage analysis.JF
2020-07-02Reduce RAM memory usage by tuning the stack of the stasks and the heap ↵JF
allocated for FreeRTOS. Add Monitor to log the stack usage of each task.
2020-06-27Re-enable watchdogJF
2020-06-16Update to nimble 1.3.0 + WIP : debug BLE connection issue with android phones.JF
2020-06-13Fix idle timer bug that would prevent the screen from waking up.JF
2020-06-07Set idle timeout to 15s before going to sleep.JF
2020-06-01Automatically go to sleep after 5 sec of inactivity.JF
Advertise for 3 minutes at startup and on wake-up. Disable automatic continuous StartAdvertising.
2020-06-01DFU : add timeout detection : abort dfu procedure after 10s without any data ↵JF
from the host.
2020-06-01Improve DFU procedure :JF
- 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.JF
Write the OK flag for mcuboot using this driver.
2020-05-24Refactor CMake files to allow building 2 binaries : one standalone and one ↵JF
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 ↵JF
https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v4.1.4
2020-05-11Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF
DFUService (WIP)
2020-05-07Add SPI NOR Flash driver, WIP.JF
2020-05-02Merge branch 'nimble' into nimble-otaJF
2020-05-02Add new screen that is displayed during the OTA transfert.JF
2020-05-01Defer the discovery of services using the system task.JF
2020-04-27Re-enable watchdogJF
2020-04-27BLE : Display the actual status of the connection on the screen.JF
2020-04-27Remove references to BLE ManagerAdam Pigg
2020-04-25NimbleController : CTS & ANS working but not at the same time (conflict ↵JF
during discovery)
2020-04-22NimbleController : support CTSJF
2020-04-19Encapsulate nimble code into NimbleController.JF
Handle all GAP events.
2020-04-19Integration of nimble, work in progress.JF
Advertising is working.
2020-03-28Encapsulate Notification management in NotificationManager. It implement a ↵JF
static array of notifications to avoid dynamic allocation.
2020-03-25Add support for BLE notification (ANS client).JF
Work In Progress!!!
2020-03-22Add new App : Sysinfo. It displays various info about the running system : ↵JF
version, date/time, battery, brightness and resetreason. It contains placeholder for future use (like mac address, uptime,...).
2020-03-14Display battery level and BLE connection status using icon on Clock screen.JF
2020-03-08When a full screen refresh is done, apply a vertical scroll during the ↵JF
refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
2020-03-06Call ble_manager_init_peer_manager() _after_ the scheduler has been started. ↵JF
This fixes an issue that would prevent the firmware from running correctly after a full reset or after the flashing of the firmware. Before this fix, ble_manager_init_peer_manager() was called before the scheduler, which trigged an assert in an IRQ routine.
2020-03-02Re-Enable BLEJF
2020-02-26Add new Screens (gauge, meter,...)JF
2020-02-23Enable watchdog, and issue a WDT reset when the button is pushed for more ↵JF
than 7s.
2020-02-23Re-enable BLE, BLE status on display and battery level on display.JF
2020-02-23Do not compile GFX and older fonts anymore.JF
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.