Commit Graph
100 Commits
Author SHA1 Message Date
muellerr e1dd27b9dd cache the TCP client address now 2022-05-17 13:16:36 +02:00
muellerr 7fee852dbd re-apply updated auto-formatter 2022-05-16 14:55:15 +02:00
muellerr 1e7032f89c minor improvements for auto-formatter 2022-05-16 14:54:43 +02:00
muellerr c215508a12 another missing preproc guard 2022-05-13 00:25:52 +02:00
muellerr 377c3325d2 update cmake-modules file 2022-05-10 12:16:38 +02:00
muellerr efb3d982f3 added missing prefix 2022-05-10 11:52:40 +02:00
muellerr dd986fefd3 experimenting with PRE_BUILD command 2022-05-10 11:51:25 +02:00
muellerr c5b4499d98 Merge remote-tracking branch 'upstream/development' into mueller/refactor-power-switch-if-etc 2022-05-10 09:58:21 +02:00
muellerr a3617cad11 preproc guards 2022-05-02 15:12:38 +02:00
muellerr 7801c6effe Merge remote-tracking branch 'upstream/development' into mueller/new-ss-adder-functions 2022-05-02 15:09:09 +02:00
muellerr 28015c4735 it compiles and runs 2022-05-01 17:48:49 +02:00
muellerr 7d61e67d20 more macos changes 2022-04-30 19:02:41 +02:00
muellerr afcbc8be0a changes for MacOS 2022-04-30 18:40:22 +02:00
muellerr b764194ed0 added more unit tests 2022-04-01 18:43:46 +02:00
muellerr 2d0e4ba951 applied afmt 2022-04-01 18:38:54 +02:00
muellerr 0d549b687d Merge branch 'mueller/refactor-power-switch-if-etc' of https://egit.irs.uni-stuttgart.de/eive/fsfw into mueller/refactor-power-switch-if-etc 2022-04-01 18:38:34 +02:00
muellerr 738f572043 added unit tests, minor API change 2022-04-01 18:38:25 +02:00
muellerr c7daf697a8 add new power switcher component 2022-04-01 17:27:53 +02:00
muellerr c20be13733 change switch type in header as well 2022-04-01 16:40:13 +02:00
muellerr b42987059a make dummy power switcher a system object 2022-03-30 17:41:38 +02:00
muellerr 23af170229 small tweaks 2022-03-28 12:59:03 +02:00
muellerr b32d1da421 this should compile 2022-03-28 12:57:11 +02:00
muellerr 6f0362b956 refactor power module 2022-03-28 12:48:15 +02:00
muellerr d9d9a28ef8 delete code which is not required anymore 2022-03-24 21:04:46 +01:00
muellerr 9ce59d3c75 added an additional conversion function
- timeval to TimeOfDay_t
2022-03-22 17:54:09 +01:00
muellerr 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
muellerr 3e17011087 small tweaks for local datapool code 2022-03-22 17:42:56 +01:00
muellerr f441505476 update changelog 2022-03-22 17:41:49 +01:00
muellerr 7c64797f03 Add more baud rates 2022-03-22 17:38:47 +01:00
muellerr e684680d60 avoid namespace pollution 2022-03-10 09:58:37 +01:00
muellerr aa5d1042f0 undef major and minor 2022-03-10 09:57:37 +01:00
muellerr 14ac852b7e this tests even a bit more 2022-03-10 09:44:06 +01:00
muellerr 6b1a81ee92 minor tweaks 2022-03-10 09:40:34 +01:00
muellerr 3779b44813 added some more minor tests 2022-03-10 09:37:57 +01:00
muellerr 949549178a update changelog 2022-03-10 09:36:36 +01:00
muellerr 7daa9812ff added tests 2022-03-10 09:35:10 +01:00
muellerr 7932afc315 small form change 2022-03-08 10:13:11 +01:00
muellerr d1e3dc4d49 define FSFW_DISABLE_PRINTOUT in any case 2022-03-08 10:12:02 +01:00
muellerr 77e5fba7fd update changelog 2022-03-08 10:08:53 +01:00
muellerr ca70c8c614 function to get fsfw version 2022-03-08 10:07:07 +01:00
muellerr 14620fdd72 minor correction 2022-03-08 09:02:40 +01:00
muellerr 89c1878622 add link to PR 2022-03-08 09:01:23 +01:00
muellerr d6856fc54a another minor changelog update 2022-03-08 09:00:14 +01:00
muellerr e5a9cab34e fix changelog 2022-03-08 08:57:18 +01:00
muellerr eac7e6db07 try readme tweak 2022-02-22 11:40:31 +01:00
muellerr 0c4835bfb5 update changelog 2022-02-22 11:37:38 +01:00
muellerr aebd4817b8 periodic printouts are runtime configurable now 2022-02-22 11:33:41 +01:00
muellerr 9c2ceb4a9f one shot flag not static anymore 2022-02-22 11:29:23 +01:00
muellerr 68ace0b74a update changelog 2022-02-22 11:23:29 +01:00
muellerr d119479c0a update changelog 2022-02-22 11:22:20 +01:00
muellerr 6739890d53 add i2c wiretapping option 2022-02-22 11:19:49 +01:00
muellerr 90b8ad1e6d apply clang format 2022-02-22 11:16:33 +01:00
muellerr 025f79fcb4 apply clang format 2022-02-22 11:16:14 +01:00
muellerr 6fb64f9ada removed source from cmakelists.txt 2022-02-22 11:11:54 +01:00
muellerr 2f1b923009 this module should not be needed anymore 2022-02-22 11:06:00 +01:00
muellerr 4f87e24f60 increase test limit 2022-02-10 14:08:52 +01:00
muellerr 2dcf896cca this sounds better 2022-02-10 14:04:23 +01:00
muellerr cdf2a90f90 fixed up cross-ref 2022-02-10 14:02:30 +01:00
muellerr b25555a533 started DHB docs 2022-02-10 13:53:59 +01:00
muellerr e0c50477cb it actually was an uninitialized array 2022-02-02 10:00:57 +01:00
muellerr 30687f84c8 Merge branch 'mueller/cmd-executor' of https://egit.irs.uni-stuttgart.de/eive/fsfw into mueller/cmd-executor 2022-02-02 09:56:41 +01:00
muellerr fed39defd3 update helper script 2022-02-02 09:56:12 +01:00
muellerr fe95c3337a changed builddir name in Jenkinsfile 2022-01-26 12:28:30 +01:00
muellerr bc5a6b4a51 bump catch2 version to v3.0.0-preview4 2022-01-26 12:23:12 +01:00
muellerr 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
muellerr d0c7878da4 simplified test controller and added docs gitignore 2021-12-14 17:50:23 +01:00
muellerr d39e0c8bb6 renamed test folder 2021-12-07 14:08:26 +01:00
muellerr e952a82b65 small tweaks and fixes 2021-12-07 13:14:57 +01:00
muellerr 7a84dff7d6 maybe this fixes the build error? 2021-12-06 16:23:09 +01:00
muellerr 6a6f6011ba Merge branch 'mueller/cfdp-pdus' of https://egit.irs.uni-stuttgart.de/KSat/fsfw into mueller/cfdp-pdus 2021-12-06 16:12:32 +01:00
muellerr 602fa3a956 Merge remote-tracking branch 'upstream/development' into mueller/cfdp-pdus 2021-12-06 16:12:06 +01:00
muellerr cbcfa8fe56 Merge remote-tracking branch 'upstream/development' into mueller/clang-shell-script 2021-12-06 15:06:05 +01:00
muellerr 4a5204d6f6 small fix for helper script 2021-12-06 14:46:31 +01:00
muellerr 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
muellerr df45f02c39 script fixes, odd behaviour 2021-12-03 14:55:00 +01:00
muellerr 15dddd7fc4 small README section for formatting 2021-12-01 16:17:27 +01:00
muellerr fd7581f8ba Added formatting scripts
1. Added .clang-format file which contains information for the
   clang-format tool on how to format source files
2. Added shell helper script to apply all changes on HAL soures,
   test sources and primary sources

The shell script was not applied yet. This should be done shortly
before introducing the release. Also, it might be good idea to provide
instructions on how to set up the formatter for Eclipse
2021-12-01 16:11:57 +01:00
muellerr 30217aa42b updated SerializeAdapter.h
- Updates `SerializerAdapter` to also take simple pointer and simply assign the serialized and deSerialized size
- Added related unittests
2021-11-10 18:51:56 +01:00
muellerr 0176c07886 use IF instead of void pointer 2021-11-10 18:49:29 +01:00
muellerr 6d5eb5b387 Op Divider and bitutility updates
- Added unittests for `PeriodicOperationDivider` and the `bitutil` helpers
- Some API changes: Removed redundant bit part, because these functions are already in a namespace
- Some bugfixes for `PeriodicOperationDivider`
2021-11-10 18:48:02 +01:00
muellerr 7c855592d0 more cleaning up 2021-10-27 18:12:56 +02:00
muellerr cb7399b999 msp init improvements 2021-10-27 18:12:46 +02:00
muellerr d675621b73 grouping CS gpio definition 2021-10-27 17:32:21 +02:00
muellerr 3448a8c01b SPI ComIF updates
1. Make setting a chip select pin optional
2. Make ComIF member functions public
2021-10-27 17:32:13 +02:00
muellerr 42458725e8 more important fix 2021-10-27 17:10:37 +02:00
muellerr cc7250fcf5 second cmake fix 2021-10-27 17:08:59 +02:00
muellerr 2126e6e375 simplified test task 2021-10-26 17:24:47 +02:00
muellerr 5f8adc63b7 some more fixes for integration tests 2021-10-26 17:16:21 +02:00
muellerr 81bae85825 hotfix for unittests 2021-10-26 17:10:54 +02:00
muellerr 07a0dd5331 this is the correct file 2021-10-22 11:32:28 +02:00
muellerr dc6ed40bfb arrayprinter format improvements 2021-10-22 11:30:00 +02:00
muellerr a5a306ff66 arrayprinter format improvements 2021-10-21 22:36:54 +02:00
muellerr 7694decaaa Merge branch 'mueller/packet-check-printout' of https://egit.irs.uni-stuttgart.de/eive/fsfw into mueller/packet-check-printout 2021-10-17 22:56:28 +02:00
muellerr 113c992f99 use char* instead 2021-10-17 22:56:00 +02:00
muellerr 060b3a3b2c added missing leading * 2021-10-11 17:51:13 +02:00
muellerr 348975ba5f additional coverage excludes 2021-10-11 17:31:04 +02:00
muellerr e8927d6aa8 moved testtemplate and removed user folder 2021-10-11 17:22:54 +02:00
muellerr b2b648c4aa removed obsolete comment 2021-10-11 17:14:30 +02:00
muellerr fc9101cd8f deleted unrequired files, common include deleted 2021-10-11 17:12:42 +02:00
muellerr d2371b3e71 removed unneeded static constexpr 2021-10-11 16:47:57 +02:00