Commit Graph

9 Commits

Author SHA1 Message Date
Marius Eggert 0f604b35c6 improved readability 2023-10-09 09:26:56 +02:00
Marius Eggert 19093866ee rtval for non op soc 2023-09-29 14:27:54 +02:00
Robin Müller b279985859
refactor DHB: Bugfix for thermal module 2023-02-09 16:42:38 +01:00
Robin Müller af06969905
Merge remote-tracking branch 'upstream/mohr/dhb2normal' into mohr/dhb2normal 2022-10-28 10:15:40 +02:00
Ulrich Mohr bddc7a7ca6 minimal first version 2022-10-26 13:22:16 +02:00
Robin Müller 6698d283b6
device wants hard reboot event added 2022-02-02 16:04:36 +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 d47906e833
trying to fuse header / inc 2021-07-19 16:25:51 +02:00