Commit Graph

204 Commits

Author SHA1 Message Date
ac036b2a70
Merge remote-tracking branch 'origin/eive/develop' into mueller/gpio-hal-updates 2022-02-28 15:49:11 +01:00
2fed161eff
Merge branch 'eive/develop' into mueller/gpio-hal-updates 2022-02-28 15:34:48 +01:00
c0fa365f8f
Merge remote-tracking branch 'upstream/development' into mueller/delete-obsolete-module 2022-02-28 14:58:28 +01:00
bbacdc5cac Merge pull request 'Linux HAL: Add I2C wiretapping option' (#559) from eive/fsfw:mueller/hal-i2c-wiretapping into development
Reviewed-on: fsfw/fsfw#559
2022-02-28 14:55:21 +01:00
Jakob Meier
eacb4ac407 initial submode 2022-02-25 14:41:43 +01:00
123f2ff360
removed unnecessary warning 2022-02-25 11:10:48 +01:00
4747e54c5d no default values for srv5 params 2022-02-22 20:08:19 +01:00
6739890d53
add i2c wiretapping option 2022-02-22 11:19:49 +01:00
90b8ad1e6d
apply clang format 2022-02-22 11:16:33 +01:00
025f79fcb4
apply clang format 2022-02-22 11:16:14 +01:00
6fb64f9ada
removed source from cmakelists.txt 2022-02-22 11:11:54 +01:00
2f1b923009
this module should not be needed anymore 2022-02-22 11:06:00 +01:00
701135e2a6
applied clang format 2022-02-22 10:17:56 +01:00
c4a055986c
Merge remote-tracking branch 'origin/eive/develop' into mueller/master 2022-02-21 10:37:53 +01:00
d74a373f1d
make periodic printout run time configurable 2022-02-19 16:41:30 +01:00
cf69af4e7e
passing mqArgs to all mq ctor calls 2022-02-19 16:14:02 +01:00
508979d32d cache mq args 2022-02-18 14:52:25 +01:00
0d66569687 this is a bit cleaner 2022-02-18 14:07:41 +01:00
a5871ed0b1 added void* args to queue factory and mq ctor 2022-02-18 14:00:06 +01:00
a12e98d948 update event mngr printout 2022-02-18 13:39:42 +01:00
bd05afbddd printout improvements 2022-02-18 13:09:18 +01:00
b3482eba24 error check in event manager 2022-02-17 20:41:47 +01:00
0d6d44f72f Merge remote-tracking branch 'upstream/development' into mueller/master 2022-02-15 17:08:29 +01:00
9e958e752e applied clang format 2022-02-14 14:54:20 +01:00
9e6948a8d7 Merge pull request 'virtual function to print datasets' (#544) from meier/printDataSet into development
Reviewed-on: fsfw/fsfw#544
2022-02-07 14:42:17 +01:00
Jakob Meier
3c06d2dbbb run clang format script 2022-02-05 18:11:23 +01:00
581ae4c990 another include removed 2022-02-03 17:37:29 +01:00
32a9e0c704
another include removed 2022-02-03 17:37:11 +01:00
940c53eba6 removed HK switch helper from cmake file 2022-02-03 17:34:15 +01:00
0d4bd856bd
removed HK switch helper from cmake file 2022-02-03 17:33:46 +01:00
b7f6a6961b
delete switch helper, some other fixes 2022-02-03 17:14:11 +01:00
a910a05541
parser is not perfect.. 2022-02-03 17:09:58 +01:00
973996e102
more fixes 2022-02-03 17:08:30 +01:00
b3aee76d91
fixes for event definitoons for parser 2022-02-03 17:06:18 +01:00
b3151a0ba0
added i2c wiretapping 2022-02-03 13:37:28 +01:00
fca48257b7
zero initialize array 2022-02-03 12:02:08 +01:00
Jakob Meier
06ffe27fcc do send read hook 2022-02-03 10:46:14 +01:00
Jakob Meier
e9b0951a95 virtual function to print datasets 2022-02-03 10:37:07 +01:00
6698d283b6
device wants hard reboot event added 2022-02-02 16:04:36 +01:00
41614303d7
renamed variable 2022-02-02 12:11:39 +01:00
07cb980e06
apply clang script 2022-02-02 12:05:03 +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
e5cc7069a6
Merge remote-tracking branch 'upstream/development' into mueller/cfdp-pdus 2022-02-02 10:19:31 +01:00
Robin Mueller
751de7accc
Merge remote-tracking branch 'upstream/development' into mueller/cfdp-pdus 2022-02-01 11:00:57 +01:00
74ae3f1371 Merge remote-tracking branch 'upstream/development' into mueller/cmd-executor 2022-02-01 10:49:14 +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
78ddce249c try an optimization 2022-01-18 18:29:54 +01:00
David
661b7b44e0 improved win32 define 2021-12-12 19:28:51 +01:00
5907f8ee9d
Added CFDP packet stack
This PR adds the packet stack for the CCSDS File Delivery Protocol.
It also refactors the existing TMTC infastructure to allow sending
of CFDP packets to the CCSDS handlers.

This includes the whole PDU (Protocol Data Unit) stack:

- File Data PDUs

and all file directive PDUs

- ACK PDU
- NAK PDU
- Metadata PDU
- Finished PDU
- Prompt PDU
- Keep Alive PDU
- EOF PDU

The PR includes a full set of unittests for the packet stack
with a coverage of 90+ %.

The refactoring of the existing TMTC infastructure includes non-ideal
solutions like diamond inheritance.
Avoiding this solution would require refactoring the packet stack.
This would be a good idea anyway because the existing stack is tightly
coupled to the FSFW, making reuse more difficult if only the stack is
planned to be used without the store functionalities etc.

The PDU implementation provided here is only weakly coupled to the FSFW,
only using components like returnvalues or the Serialization modules.
There are dedicated serializers and deserializers, which also helps in
creating small focused modules which are easy to test.

Some of the modules here were provied by Matthias Tompert.
2021-12-03 15:37:49 +01:00