summaryrefslogtreecommitdiff
path: root/src/drivers/SpiMaster.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher1-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.
2021-06-12Fix fallthrough on case statement (#403)Jonathan Vander Mey1-0/+1
2021-06-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants1-2/+5
initialized in main() into Start()/Init() functions to avoid Static Initialization Order Fiasco (https://en.cppreference.com/w/cpp/language/siof). See https://github.com/JF002/InfiniTime/pull/415#issuecomment-859004238.
2021-06-10Minor improvements: use std::make_unique when creating unique_ptr, check the ↵Jean-François Milants1-4/+4
code is running from an IRQ before calling xQueueSendFromISR or xQueueSend)
2021-04-24Reformatted all the files according to clang-format styleAvamander1-96/+113
2020-11-15Include cleanup: driversokaestne1-4/+2
2020-08-22Re-implement sleep/wakeup for touch panel, display, NOR Flash, SPI and TWI.JF1-0/+4
2020-08-17Fix most of the warnings. Remaining warnings come from nimble source code.JF1-2/+0
2020-06-01Encapsulate DFU Image buffering and writing into spi flash in DfuImage.JF1-1/+1
Add some const in SPI driver.
2020-05-24Fix race condition in SpiMaster.cpp.JF1-0/+2
2020-05-24Merge developJF1-34/+29
2020-05-17Improve SPI driver (use a mutex to prevent race conditions).JF1-16/+21
2020-05-11Fix race conditions on SPI and integrate the SPI NOR Flash driver into ↵JF1-18/+67
DFUService (WIP)
2020-05-07Add SPI NOR Flash driver, WIP.JF1-7/+46
2020-02-08First quick'n'dirty integration of LittleVGL. Needs some cleaning.JF1-16/+15
2020-01-26GFX : wait end of transfert using a task notification.JF1-59/+50
Code cleaning in SpiMaster.
2020-01-26Better integration of SPI with DMA and IRQ. Using only 'End' IRQ. Perf could ↵JF1-62/+39
be improved by using 'Started' IRQ to prepare the next buffer while the current one is beeing sent.
2020-01-22[WIP] Max SPI speed reached (119ms for a full refresh. Theo max : 240*240*16 ↵JF1-33/+67
= 115.2ms) using IRQ and DMA. Code needs some cleaning before integration.
2020-01-22[WIP] Use IRQ in SPI driver to improve performancesJF1-47/+61
2020-01-19Implement the SPI driver using DMA.JF1-21/+90
2020-01-18Refactor ctor() and Ini() of SpiMaster.JF1-8/+9
2020-01-17Disable SPI, I²C, touch controller and display controller in sleep mode.JF1-0/+17
Re-enable them on wake up. Remove delays that were not needed in st7889 driver. Hopefully, it'll improve the battery life!
2019-12-07Convert Spi and GFX to C++.JF1-0/+88