Commit Graph

11 Commits

Author SHA1 Message Date
Robin Müller 51087518b0
spi mutex handling refactoring 2022-05-14 11:32:51 +02:00
Steffen Gaisser 3332f68ce7 Tested only std::numeric_limits in MSVC 2022-05-02 17:22:13 +02:00
Steffen Gaisser 54feb77770 Proposed fix for gcc and clang 2022-05-02 16:14:23 +02:00
Robin Müller cddf16f941 Merge branch 'development' into mueller/mac-os 2022-05-02 15:15:53 +02:00
Robin Müller 28015c4735 it compiles and runs 2022-05-01 17:48:49 +02:00
Robin Müller a1d7a56dfa
small fix 2022-04-11 17:14:43 +02:00
Robin Müller cb78fefbb3
afmt 2022-04-11 17:14:04 +02:00
Robin Müller 9947a648df fix compiler warnings 2022-04-11 16:06:13 +02:00
Robin Müller ddcac2bbac
reapply clang format 2022-02-02 10:29:30 +01:00
Robin Müller 371ff931bf
Linux CommandExecutor
The CommandExecutor helper class can execute shell commands in blocking and non-blocking mode
This class is able to execute processes by using the Linux popen call. It also has the capability of writing
the read output of a process into a provided ring buffer.

The executor works by first loading the command which should be executed and specifying whether
it should be executed blocking or non-blocking. After that, execution can be started with the execute call.

Using non-blocking mode allows to execute commands which might take a longer time in the background,
and allowing the user thread to check completion status with the check function

Moved to HAL like requested in code review and unit tested with failing commands as well.
Also, Linux HAL components are compiled by default now unless explicitely disabled.
2022-01-26 12:11:52 +01:00
Robin Müller d47906e833
trying to fuse header / inc 2021-07-19 16:25:51 +02:00