Fixes to allow compilation on MacOS #611
This PR allows compilation of the FSFW with the Host OSAL on the MacOS or on any other Darwin based OS.
Some interesting points
- Compilation was done with
AppleClangversion 13.0.0 (LLVM). It has a very useful warning flag on by default:
-Winconsistent-missing-override. Some or most GCC warning flags will probably work for
clangas well so it might be worth looking into useful additional warning flags for LLVM like it was done for GCC
- The HAL
linuxfolder could be renamed
unixor split up into a
unixcontains the files like the termios abstraction and
linuxcontains files which only work on linux systems (e.g. SPI library)
- Same could be done for the OSAL folder. There are some components which compile but there are also some components like the MQ abstraction which don't work on MacOS (only can use SystemV message queues)
clang-tidyis a very useful linter tool which detected a lot of form improvements for the FSFW code
-Winconsistent-missing-override actually does not exist for GCC..
I wonder if there is an equivalent flag
No due date set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?