Skip to content

Provide XRoc Sample#6

Open
kevinwhzou wants to merge 7 commits into
HorizonRobotics:masterfrom
kevinwhzou:master
Open

Provide XRoc Sample#6
kevinwhzou wants to merge 7 commits into
HorizonRobotics:masterfrom
kevinwhzou:master

Conversation

@kevinwhzou

Copy link
Copy Markdown

Provide XRoc Sample code.
directory: src/sample/x2/xroc
document: src/sample/x2/xroc/README.md

Comment thread src/sample/x2/xroc/CMakeLists.txt Outdated
if(${arch} STREQUAL "arm_hi3519")
list(APPEND CMAKE_C_FLAGS " -mcpu=cortex-a17.cortex-a7 -mfloat-abi=softfp -mfpu=neon-vfpv4 ")
add_definitions(-DHR_HI3519)
elseif(${arch} STREQUAL "armhf")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

把这些没用的编译选项去掉,只写aarch64的参数就行,可以参考在Fasterrcnnmethod和smartplugin精简的cmake

option(PARENT_BUILD "is build from parent" OFF)
if(NOT ${PARENT_BUILD})
include(cmake/hobot_util.cmake)
endif()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不需要包含gradle这一套参数了, 用最简单的cmake来改造吧, 参考FasterrcnnMethod

Comment thread src/sample/x2/xroc/build.gradle Outdated
@@ -0,0 +1,309 @@
apply plugin: 'maven'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要gradle这些东西

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants