Commit Graph

14 Commits

Author SHA1 Message Date
Robin Müller 4789200750
Merge remote-tracking branch 'upstream/development' into mueller/update-cmd-reply-maps-refactoring 2022-07-08 17:29:21 +02:00
Robin Müller 6d921f03fd Fix SPI ComIF shadowing warning 2022-06-13 10:50:49 +02:00
Robin Müller 2ef9229c0b
Merge remote-tracking branch 'upstream/development' into mueller/update-cmd-reply-maps-refactoring 2022-05-13 17:31:02 +02:00
Robin Müller 56e4fca06f
Some improvements
- Rename mutex to csMutex to better represent its purpose
- Move the empty transfer to update the line polarity to separate function
2022-05-11 11:24:06 +02:00
Robin Müller e06c457743
Cache SPI device name in ComIF
- Architecturally, this makes a lot more sense because
  each ComIF should be responsible for one SPI bus
2022-05-11 11:11:39 +02:00
Robin Müller 29c3a43760
getter functions for speed and mode 2022-05-11 10:54:13 +02:00
Robin Müller 32f420c4f0
SPI HAL improvement
- Initialize line state
2022-03-07 16:13:04 +01:00
Robin Müller ddcac2bbac
reapply clang format 2022-02-02 10:29:30 +01:00
Robin Müller bfae25ff2d
Updates for SPI
1. Better names for functions
2. Reply size is set to 0
2021-09-23 18:06:04 +02:00
Robin Müller 98e3ed897c
small tweak 2021-08-19 17:17:19 +02:00
Robin Müller b6aebb3061
format adapted 2021-08-19 17:08:35 +02:00
Robin Müller 90a1571707
Linux HAL updates
1. The type correction was merged as part of
   #7 in the
   EIVE project. Quotation of PR

definition of getSpiParameters is `void getSpiParameters(spi::SpiModes& spiMode, uint32_t& spiSpeed, UncommonParameters* parameters = nullptr) const;`.

Here, size_t spiSpeed is passed, which implicitely gets converted to a temporary, which can not be bound to uint32_t& and, at least in gcc 9.3.0, leads to a compiler error.

2. Allow flushing the UART buffers
2021-08-06 11:23:31 +02:00
Robin Müller c3fbe04fc6
all include corrections 2021-08-02 20:58:56 +02:00
Robin Müller f1f167c2d1
using _ instead of - now 2021-08-02 20:55:03 +02:00