Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.98 KB

File metadata and controls

45 lines (32 loc) · 1.98 KB

After downloading, unzip both the generators into separate folders (commonapi_core_generator & commonapi_someip_generator)

Build all the above repos (except the 2 generators as the generators are the direct deliverables)

  • For all the repos, please follow the below commands to build :

    • cd /path/to/workspace/{repo}
    • mkdir build
    • cd build
    • cmake ..
    • make
    • sudo make install
  • Run the below commands to generate the CAPI Core & SOMEIP Bindings

    • ./commonapi_core_generator/commonapi-core-generator-linux-x86_64 -sk Attributes.fidl

    • ./commonapi_someip_generator/commonapi-someip-generator-linux-x86_64 Attributes.fdepl

    • The commands generate the binding files in the “src-gen” folder

  • Commands to set the environmental variables

    • export VSOMEIP_CONFIGURATION=/etc/vsomeip-local.json
    • export COMMONAPI_CONFIG=/etc/commonapi-someip.ini

Inspired from the below :