-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4659c9a
commit e9b9be8
Showing
30 changed files
with
3,211 additions
and
17 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Yocto/poky/meta-mylayer/recipes-example/supervisor/files/conf.d/ic.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
Yocto/poky/meta-mylayer/recipes-vsomeip/piracerservice/files/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
|
||
# Find the Python3 libraries | ||
find_package(Python3 COMPONENTS Development) | ||
|
||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread -std=c++0x") | ||
|
||
include_directories( | ||
src-gen | ||
${CMAKE_INCLUDE_PATH}/CommonAPI-3.2 | ||
${CMAKE_INCLUDE_PATH} | ||
) | ||
link_directories( | ||
${CMAKE_LIBRARY_PATH} | ||
) | ||
|
||
add_executable(PiracerClient | ||
src/PiracerClient.cpp | ||
src-gen/v1/commonapi/PiracerSomeIPProxy.cpp | ||
src-gen/v1/commonapi/PiracerSomeIPDeployment.cpp | ||
) | ||
target_link_libraries(PiracerClient CommonAPI CommonAPI-SomeIP vsomeip3) | ||
|
||
add_executable(PiracerService | ||
src/PiracerInterface.cpp | ||
src/PiracerClass.cpp | ||
src/GamePad.cpp | ||
src/PiracerStubImpl.cpp | ||
src-gen/v1/commonapi/PiracerSomeIPProxy.cpp | ||
src-gen/v1/commonapi/PiracerSomeIPDeployment.cpp | ||
src-gen/v1/commonapi/PiracerSomeIPStubAdapter.cpp | ||
) | ||
target_link_libraries(PiracerService Python3::Python pthread CommonAPI CommonAPI-SomeIP vsomeip3) | ||
add_executable(PiracerService_test | ||
src/PiracerService_test.cpp | ||
src/PiracerClass.cpp | ||
src/GamePad.cpp | ||
src/PiracerStubImpl.cpp | ||
src-gen/v1/commonapi/PiracerSomeIPProxy.cpp | ||
src-gen/v1/commonapi/PiracerSomeIPDeployment.cpp | ||
src-gen/v1/commonapi/PiracerSomeIPStubAdapter.cpp | ||
) | ||
target_link_libraries(PiracerService_test Python3::Python pthread CommonAPI CommonAPI-SomeIP vsomeip3) | ||
|
||
install(TARGETS PiracerClient DESTINATION /usr/bin/vsomeip) | ||
install(TARGETS PiracerService DESTINATION /usr/bin/vsomeip) | ||
install(TARGETS PiracerService_test DESTINATION /usr/bin/vsomeip) |
58 changes: 58 additions & 0 deletions
58
...o/poky/meta-mylayer/recipes-vsomeip/piracerservice/files/src-gen/v1/commonapi/Piracer.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
* This file was generated by the CommonAPI Generators. | ||
* Used org.genivi.commonapi.core 3.2.0.v202012010850. | ||
* Used org.franca.core 0.13.1.201807231814. | ||
* | ||
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. | ||
* If a copy of the MPL was not distributed with this file, You can obtain one at | ||
* http://mozilla.org/MPL/2.0/. | ||
*/ | ||
#ifndef V1_COMMONAPI_PIRACER_HPP_ | ||
#define V1_COMMONAPI_PIRACER_HPP_ | ||
|
||
|
||
|
||
|
||
#if !defined (COMMONAPI_INTERNAL_COMPILATION) | ||
#define COMMONAPI_INTERNAL_COMPILATION | ||
#define HAS_DEFINED_COMMONAPI_INTERNAL_COMPILATION_HERE | ||
#endif | ||
|
||
#include <CommonAPI/Types.hpp> | ||
|
||
#if defined (HAS_DEFINED_COMMONAPI_INTERNAL_COMPILATION_HERE) | ||
#undef COMMONAPI_INTERNAL_COMPILATION | ||
#undef HAS_DEFINED_COMMONAPI_INTERNAL_COMPILATION_HERE | ||
#endif | ||
|
||
namespace v1 { | ||
namespace commonapi { | ||
|
||
class Piracer { | ||
public: | ||
virtual ~Piracer() { } | ||
|
||
static inline const char* getInterface(); | ||
static inline CommonAPI::Version getInterfaceVersion(); | ||
}; | ||
|
||
const char* Piracer::getInterface() { | ||
return ("commonapi.Piracer:v1_0"); | ||
} | ||
|
||
CommonAPI::Version Piracer::getInterfaceVersion() { | ||
return CommonAPI::Version(1, 0); | ||
} | ||
|
||
|
||
} // namespace commonapi | ||
} // namespace v1 | ||
|
||
namespace CommonAPI { | ||
} | ||
|
||
|
||
// Compatibility | ||
namespace v1_0 = v1; | ||
|
||
#endif // V1_COMMONAPI_PIRACER_HPP_ |
Oops, something went wrong.