Commit Graph

10 Commits

Author SHA1 Message Date
Robin Müller 2220120d54
improved i2c error printout 2022-05-03 16:43:15 +02:00
Robin Müller b3aee76d91
fixes for event definitoons for parser 2022-02-03 17:06:18 +01:00
Robin Müller b3151a0ba0
added i2c wiretapping 2022-02-03 13:37:28 +01:00
Robin Müller 3a65c0db91
use C++ casts 2022-02-02 12:13:42 +01:00
Robin Müller 783176848a
include fixes 2022-02-02 12:10:39 +01:00
Robin Müller d8c5bd125e
All EIVE changes 2022-02-02 12:02:58 +01: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 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