Franca to ARA interface integration and demo code : https://github.com/GENIVI/franca_ara_integration


ARA:COM XML 포맺과 Franca IDL 과의 통신을 보여준다.


소스코드 다운로드 : https://github.com/GENIVI/franca_ara_integration.git



Yocto 관련부분 정리

  GDP 메타데이터 다운로드 

  git clone https://github.com/GENIVI/genivi-dev-platform.git

 cd genivi-dev-platform


 Franca - ARA 다운로드

 git clone git@github.com:GENIVI/franca_ara_integration.git


 GDP 빌드 셋업

 source .init.sh rcar-m3xx~


 meta-franca-ara 레이어 추가하기

 bitbake-layers add-layer ../franca_ara_integration/yocto/meta-franca-ara


 conf/local.conf 파일에 인스톨 추가하기

 IMAGE_INSTALL_append = " franca-ara"


 빌드시작

 bitbake genivi-dev-platform


 빌드관련 정보들

 video.tar 이미지관련파일들 /usr/local/share/franca-ara/images 폴더에 사진이미지를 넣어둔다.

소스코드들


컴파일 옵션

cd tests/testprograms/capi_server


$CXX -o capi_server -std=c++14 -I src-gen \ main.cpp src-gen/v1/genivi/aasr/showcase/*.cpp \ `pkg-config --cflags --libs CommonAPI-SomeIP` -lpthread

g++ -o capi_server -std=c++14 -I src-gen main.cpp src-gen/v1/genivi/aasr/showcase/*.cpp `pkg-config --cflags --libs CommonAPI-SomeIP` -lpthread

 capi_server  <-- 파일 생성됨


데모 테스트 


capi_server 실행

franca_ara_integration 에서 빌드한 franca-ara 실행



'Embedded > CommonAPI' 카테고리의 다른 글

[CommonAPISomeIP] 작성하기  (0) 2019.01.04
[Memory-1] fidl 작성하기 -작성중  (0) 2019.01.04
[Franca] 작성하고 코드 생성하기  (0) 2019.01.03
[CommonAPI C++] D-Bus binding  (0) 2019.01.03
[CommonAPI] tool 설치 작성중  (0) 2019.01.02

+ Recent posts