Commit Graph

17 Commits

Author SHA1 Message Date
e2eb4bfea4 Merge remote-tracking branch 'upstream/development' into mueller/update-from-upstream 2022-04-28 14:30:08 +02:00
70d3197212 gpio init bug fix
Return values from configureGpios were not checked
2022-04-25 14:32:05 +02:00
dd90980520 push test 2022-04-25 14:19:03 +02:00
1bc7a91869
apply auto-formatter 2022-04-01 14:08:29 +02:00
Jakob Meier
b52f19254b class to abstract gpio handling 2022-03-28 09:12:29 +02:00
5ddac36314
GPIO update 2022-03-07 16:07:01 +01:00
ac036b2a70
Merge remote-tracking branch 'origin/eive/develop' into mueller/gpio-hal-updates 2022-02-28 15:49:11 +01:00
68225586d2 some fixes 2022-02-28 15:16:43 +01:00
331aa9442d
some updates 2022-02-28 14:56:37 +01:00
1e982ec00b
updated for windows compatibility 2022-02-22 11:00:39 +01:00
d8c5bd125e
All EIVE changes 2022-02-02 12:02:58 +01:00
ddcac2bbac
reapply clang format 2022-02-02 10:29:30 +01:00
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
cae3feb5da
Add feature to open GPIO by line name
This features was provided by Jakob Meier as part of
eive/fsfw#19 .

It adds the feature to open GPIOs supplying their line names.
2021-10-11 19:55:37 +02:00
f40f783cb4
GPIO code update
Adds capability to define GPIO by label and by chip
for Linux systems
2021-09-23 17:58:44 +02:00
c3fbe04fc6
all include corrections 2021-08-02 20:58:56 +02:00
f1f167c2d1
using _ instead of - now 2021-08-02 20:55:03 +02:00