aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ble/DfuService.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix OOB flash write when DFU interruptedmark90642024-02-141-0/+2
| | | | If a DFU is restarted, the write indices aren't reset causing the image to be written out of bounds. The CRC check prevents the faulty image from booting but LittleFS still gets nuked.
* Fix various typosluz paz2022-06-051-1/+1
| | | | Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
* Replace C-style casts with static_castFinlay Davidson2022-06-051-8/+10
|
* Add missing nrf_log.h includes shadowed by SystemMonitor.hReinhold Gschweicher2022-03-081-0/+1
| | | | | | Some components were missing a `nrf_log.h` include. This missing include was accidentally provided by the SystemMonitor.h header, which was included by Systemtask.h
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-1/+1
| | | | | | | Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
* Remove unnecessary C-style casts with BLE UUIDsJonathan Vander Mey2021-07-241-13/+13
| | | | | | Instead of casting the UUID object to the ble_uuid_t* used throughout the NimBLE API just pass the address of the ble_uuid_t member that's at the start of each of the UUID structs.
* Make firmware updating more foolproof (#469)Riku Isokoski2021-07-221-5/+4
| | | | | | | * Make firmware updating more foolproof and fix bugs * No need to manually handle overflow * Make startTime TickType_t * Don't process TouchEvents::None * Fix sleep getting re-enabled issue more directly
* SPI flash sleep if bootloader >= 1.0.0 (#322)Neil O'Fix2021-06-261-0/+5
| | | | | | * Retrieve and display bootloader version - Display bootloader version on System Info screen - Enable SPI flash sleep mode if bootloader version >= 1.0.0 * Wait for SPI flash to wakeup before starting OTA DFU
* Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants2021-06-061-3/+3
| | | | variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
* Reformatted all the files according to clang-format styleAvamander2021-04-241-115/+109
|
* Include cleanup: componentsokaestne2020-11-161-2/+2
|
* Fixed all the includes that were broken due to the renamesAvamander2020-10-021-0/+441