aboutsummaryrefslogtreecommitdiffstats
path: root/src/SystemTask
Commit message (Collapse)AuthorAgeFilesLines
* Improve DFU procedure :JF2020-06-011-0/+1
| | | | | | | | - 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.
* Add driver for writing into the internal flash.JF2020-05-241-27/+7
| | | | Write the OK flag for mcuboot using this driver.
* Refactor CMake files to allow building 2 binaries : one standalone and one ↵JF2020-05-241-5/+5
| | | | | | | | compatible with mcuboot bootloader (the offset in memory is different). Add documentation about mcuboot image generation and OTA. Re-enable watchdog
* Working demo of OTA using MCUBoot ↵JF2020-05-241-0/+29
| | | | https://github.com/lupyuen/pinetime-rust-mynewt/releases/tag/v4.1.4
* Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF2020-05-111-8/+6
| | | | DFUService (WIP)
* Add SPI NOR Flash driver, WIP.JF2020-05-072-3/+8
|
* Merge branch 'nimble' into nimble-otaJF2020-05-021-2/+2
|\
| * Re-enable watchdogJF2020-04-271-2/+2
| |
* | Add new screen that is displayed during the OTA transfert.JF2020-05-022-1/+8
| |
* | Defer the discovery of services using the system task.JF2020-05-012-2/+19
|/
* BLE : Display the actual status of the connection on the screen.JF2020-04-271-1/+2
|
* Remove references to BLE ManagerAdam Pigg2020-04-271-1/+0
|
* NimbleController : CTS & ANS working but not at the same time (conflict ↵JF2020-04-251-1/+1
| | | | during discovery)
* NimbleController : support CTSJF2020-04-221-1/+1
|
* Encapsulate nimble code into NimbleController.JF2020-04-192-75/+6
| | | | Handle all GAP events.
* Integration of nimble, work in progress.JF2020-04-191-6/+84
| | | | Advertising is working.
* Encapsulate Notification management in NotificationManager. It implement a ↵JF2020-03-282-13/+15
| | | | static array of notifications to avoid dynamic allocation.
* Add support for BLE notification (ANS client).JF2020-03-252-2/+9
| | | | Work In Progress!!!
* Add new App : Sysinfo. It displays various info about the running system : ↵JF2020-03-222-2/+5
| | | | version, date/time, battery, brightness and resetreason. It contains placeholder for future use (like mac address, uptime,...).
* Display battery level and BLE connection status using icon on Clock screen.JF2020-03-141-3/+3
|
* When a full screen refresh is done, apply a vertical scroll during the ↵JF2020-03-081-2/+2
| | | | refresh. This makes the transition from one screen the another one smoother, even if the refresh rate is slow.
* Call ble_manager_init_peer_manager() _after_ the scheduler has been started. ↵JF2020-03-061-0/+1
| | | | | | 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.
* Re-Enable BLEJF2020-03-021-1/+1
|
* Add new Screens (gauge, meter,...)JF2020-02-261-1/+1
|
* Enable watchdog, and issue a WDT reset when the button is pushed for more ↵JF2020-02-232-1/+9
| | | | than 7s.
* Re-enable BLE, BLE status on display and battery level on display.JF2020-02-231-2/+4
|
* Do not compile GFX and older fonts anymore.JF2020-02-232-0/+175
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.