Commit Graph

45 Commits

Author SHA1 Message Date
Ulrich Mohr ba62c28b64 adding linux ci and fixing problems 2023-01-12 15:40:52 +01:00
Robin Müller 10f34e5a48
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack-with-retval-refactoring 2022-08-22 15:57:22 +02:00
Ulrich Mohr 217276d50c renamed returnvalue header 2022-08-16 12:48:22 +02:00
Ulrich Mohr d2ac3603a5 some more occurences 2022-08-16 12:29:53 +02:00
Ulrich Mohr f63f3fa564 more occurences in comments 2022-08-16 12:12:21 +02:00
Robin Müller 1037102349
merge retval refactoring 2022-08-16 01:08:26 +02:00
Robin Müller 62fe75ee40
perform renaming 2022-08-15 20:28:16 +02:00
Robin Müller 6d0fa36f8a
cleaning up message queue mock and subscription API 2022-07-25 19:36:56 +02:00
Robin Müller 4989bd0f02
fixes for Linux OSAL clock 2022-07-25 10:56:19 +02:00
Robin Müller affde6bad5
rename namespace 2022-07-21 18:21:10 +02:00
Robin Müller 74794bb71b
apply auto-formatter 2022-07-18 16:08:06 +02:00
Robin Müller 0a7f2c6646
refactored space packet interface 2022-07-18 10:20:26 +02:00
Jakob Meier e8b8fff0b5 Merge branch 'development' into meier/dhbReplyTimeout 2022-07-14 09:01:28 +02:00
Ulrich Mohr c519b70302 Merge pull request 'printout tweak' (#652) from mueller/printout-tweak-mq-linux-osal into development
Reviewed-on: fsfw/fsfw#652
2022-07-13 17:35:53 +02:00
Jakob Meier df97bbc691 run auto-formatter 2022-06-23 11:56:46 +02:00
Steffen Gaisser 7f57a8784a Fixed deadline missed call on linux 2022-06-20 15:02:16 +02:00
Robin Müller a682bbe400
remove static missed deadline 2022-06-13 14:23:56 +02:00
Robin Müller ad53b48fcb explicitely ignore returnvalue in linux OSAL 2022-06-08 12:12:09 +02:00
Robin Müller 347714d53a refactored and tested hosted and linux task IF 2022-06-08 12:12:09 +02:00
Robin Müller e18d3d559e refactoring host osal 2022-06-08 12:12:09 +02:00
Robin Müller cc351c1066 new base class for periodic tasks 2022-06-08 12:12:09 +02:00
Robin Müller e9895559a3 vector as core container is ok 2022-06-08 12:12:09 +02:00
Robin Müller eda5b8f593 refactor task IF 2022-06-08 12:12:09 +02:00
Robin Müller 7fee852dbd
re-apply updated auto-formatter 2022-05-16 14:55:15 +02:00
Robin Müller 28015c4735 it compiles and runs 2022-05-01 17:48:49 +02:00
Robin Müller 5b7ca8c13c
update CHANGELOG.md, apply afmt 2022-04-27 08:39:21 +02:00
Robin Müller ff98c42514 Merge branch 'development' into mueller/clock-addition 2022-04-25 14:54:22 +02:00
Robin Mueller adfefdd93f
printout tweak 2022-04-11 14:19:01 +02:00
Robin Müller a02619e5a2
strongly simplified and streamlined IPC MQ Impl
- Generic code was duplicated across all OSALs.
  Is contained in generic base class now
- Remove duplicate documentation
2022-04-11 11:19:38 +02:00
Robin Müller fcb6437388 Merge branch 'development' into mueller/ipc-pass-arbitrary-args-to-mq 2022-03-31 14:42:15 +02:00
Steffen Gaisser a887f852c8 Merge branch 'development' into mueller/clock-addition 2022-03-28 15:45:58 +02:00
Ulrich Mohr 916ed3f56a added function to add component to a periodic task by pointer 2022-03-28 13:50:42 +02:00
Steffen Gaisser 665d8cd479 Applied clang format 2022-03-25 18:48:53 +01:00
Steffen Gaisser 10398855a9 Added more unittest coverage
Added Mutex for gmtime functions
Moved Statics used in ClockCommon to ClockCommon
2022-03-25 18:47:31 +01:00
Robin Müller a0dfdfab2c
Allow passing a MqArgs struct to the MQ creation
The struct contains context information (which can be extended)
and an arbitrary user argument in form of a void pointer.
This makes the API a lot more flexible
2022-03-22 17:49:22 +01:00
Steffen Gaisser 8b1af232c3 Added Tests for CCSDS Time, fixed LPM Test
Changed behaviour of Host and Linux Clock
2022-03-07 18:22:10 +01:00
Steffen Gaisser 09815f5cce Clang format 2022-02-23 18:24:07 +01:00
Steffen Gaisser f6357b4531 WIP compiler Flags and new unit tests for fixes 2022-02-23 18:23:22 +01:00
Robin Müller 90b8ad1e6d
apply clang format 2022-02-22 11:16:33 +01:00
Ulrich Mohr 9e958e752e applied clang format 2022-02-14 14:54:20 +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
Steffen Gaisser 1b38f84edc Merge remote-tracking branch 'origin/development' into gaisser_countdown_timer 2021-09-27 21:06:20 +02:00
Robin Müller 0e5cfcf28f
minor improvement for printout 2021-08-02 16:19:37 +02:00
Robin Müller d47906e833
trying to fuse header / inc 2021-07-19 16:25:51 +02:00