Adaptive-AUTOSAR icon indicating copy to clipboard operation
Adaptive-AUTOSAR copied to clipboard

Adaptive Runtime AUTOSAR Linux Simulator

Adaptive-AUTOSAR

example workflow

Adaptive AUTOSAR is a simulated Adaptive Platform enviroment over Linux defined by AUTOSAR. The goal of this project is to implement the interfaces defined by the standard for educational purposes. For more information, please refer to the project Wiki.

Dependecies

It will be tried to use minimum number of dependencies as much as possible. The current dependencies are as follows:

  • Cpp Standard: 14
  • Cmake mimimum version: 3.14
  • Compiler:
    • GCC C/C++ Compiler (x86-64 Linux GNU): 11.2.0; or
    • Clang C/C++ Compiler (x86-64 PC Linux GNU): 14.0.0
  • Google Test: v1.12.1
  • Async BSD Socket Lib (in-house C++ libary)
  • OBD-II Emulator (in-house C++ emulator)

Build

Compiler debug configuration

  • GCC:
cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/x86_64-linux-gnu-gcc-11 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/x86_64-linux-gnu-g++-11 -S . -B build
  • Clang:
cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang-14 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-14 -S . -B build

Compiling

cmake --build build

Unit tests running

cd build && ctest

Documentation

Please refer to the project GitHub pages powered by Doxygen.

Contribution

Please refer to the contributing page.