summaryrefslogtreecommitdiff
path: root/src/SystemTask
AgeCommit message (Collapse)AuthorFilesLines
2020-09-27Add BatteryInformationService to expose the battery level to BLE host.JF1-1/+1
2020-09-20Call SpiNorFlash::WakeUp() during initialization to ensure that the chip is ↵JF1-0/+1
not is sleep mode.
2020-09-13Fix race conditions during sleep/wakeup, where SPI/TWI could be disabled ↵JF2-17/+31
while transaction were in progress (https://github.com/JF002/Pinetime/issues/60).
2020-08-22Re-implement sleep/wakeup for touch panel, display, NOR Flash, SPI and TWI.JF2-1/+16
2020-08-17Fix most of the warnings. Remaining warnings come from nimble source code.JF2-2/+1
2020-08-11Add new screen that allows the user to manually validate the new firmware ↵JF1-8/+0
he's just OTA'ed. Still need to find a way to display this screen when needed.
2020-07-25Merge pull request #40 from piggz/musicJF0022-2/+6
Music
2020-07-20Fully implement music app and serviceAdam Pigg2-1/+3
SystemTask can return a reference to the nimbleController The nimbleController can return a reference to the musicService The musicService get a connection handle from the nimbleController The musicApp communicated directly with the musicService
2020-07-19New implementation of the I²C/TWI driver.JF2-3/+8
Fix reset timing and add dummy reading in Cst816S to fix init error on some devices.
2020-07-11Merge branch 'develop' of https://github.com/JF002/Pinetime into musicAdam Pigg3-5/+66
2020-07-11Add start of music applictionAdam Pigg1-1/+3
2020-07-04Automatically switch the display on when receiving a notificationJF2-5/+11
2020-07-03Add doc about memory usage analysis.JF1-1/+1
2020-07-02Reduce RAM memory usage by tuning the stack of the stasks and the heap ↵JF3-0/+55
allocated for FreeRTOS. Add Monitor to log the stack usage of each task.
2020-06-27Re-enable watchdogJF1-2/+2
2020-06-16Update to nimble 1.3.0 + WIP : debug BLE connection issue with android phones.JF1-2/+2
2020-06-13Fix idle timer bug that would prevent the screen from waking up.JF1-0/+3
2020-06-07Set idle timeout to 15s before going to sleep.JF1-1/+1
2020-06-01Automatically go to sleep after 5 sec of inactivity.JF2-8/+54
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 ↵JF1-1/+2
from the host.
2020-06-01Improve DFU procedure :JF1-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.
2020-05-24Add driver for writing into the internal flash.JF1-27/+7
Write the OK flag for mcuboot using this driver.
2020-05-24Refactor CMake files to allow building 2 binaries : one standalone and one ↵JF1-5/+5
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 ↵JF1-0/+29
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 ↵JF1-8/+6
DFUService (WIP)
2020-05-07Add SPI NOR Flash driver, WIP.JF2-3/+8
2020-05-02Merge branch 'nimble' into nimble-otaJF1-2/+2
2020-05-02Add new screen that is displayed during the OTA transfert.JF2-1/+8
2020-05-01Defer the discovery of services using the system task.JF2-2/+19
2020-04-27Re-enable watchdogJF1-2/+2
2020-04-27BLE : Display the actual status of the connection on the screen.JF1-1/+2
2020-04-27Remove references to BLE ManagerAdam Pigg1-1/+0
2020-04-25NimbleController : CTS & ANS working but not at the same time (conflict ↵JF1-1/+1
during discovery)
2020-04-22NimbleController : support CTSJF1-1/+1
2020-04-19Encapsulate nimble code into NimbleController.JF2-75/+6
Handle all GAP events.
2020-04-19Integration of nimble, work in progress.JF1-6/+84
Advertising is working.
2020-03-28Encapsulate Notification management in NotificationManager. It implement a ↵JF2-13/+15
static array of notifications to avoid dynamic allocation.
2020-03-25Add support for BLE notification (ANS client).JF2-2/+9
Work In Progress!!!
2020-03-22Add new App : Sysinfo. It displays various info about the running system : ↵JF2-2/+5
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.JF1-3/+3
2020-03-08When a full screen refresh is done, apply a vertical scroll during the ↵JF1-2/+2
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. ↵JF1-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.
2020-03-02Re-Enable BLEJF1-1/+1
2020-02-26Add new Screens (gauge, meter,...)JF1-1/+1
2020-02-23Enable watchdog, and issue a WDT reset when the button is pushed for more ↵JF2-1/+9
than 7s.
2020-02-23Re-enable BLE, BLE status on display and battery level on display.JF1-2/+4
2020-02-23Do not compile GFX and older fonts anymore.JF2-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.