代码拉取完成,页面将自动刷新
all: linux qurt rpi bebop edison
QC_SOC_TARGET?="APQ8074"
define df_cmake_generate
mkdir -p build_$(1) && cd build_$(1) && cmake .. -DOS=$(2) -DCMAKE_TOOLCHAIN_FILE=$(3) -DDF_ENABLE_TESTS=1 $(4)
endef
rpi linux bebop edison ocpoc:
$(call df_cmake_generate,$@,posix,cmake/toolchains/Toolchain-$@.cmake,)
cd build_$@ && make
qurt: dspal/cmake_hexagon
# qurt needs to be separate from rpi, bebop, etc. because it has "qurt"
# as the OS and not posix like the others.
$(call df_cmake_generate,$@,qurt,dspal/cmake_hexagon/toolchain/Toolchain-$@.cmake,-DQC_SOC_TARGET=${QC_SOC_TARGET})
cd build_$@ && make
dspal/cmake_hexagon:
git submodule update --init --recursive
run: linux
build_linux/test/df_testapp
helgrind: linux
valgrind --tool=helgrind build_linux/test/df_testapp
clean:
rm -rf build_*
qurt_load: qurt
cd build_qurt && make df_imu_test-load
fix-style:
@./dspal/tools/fix_code_style.sh -p ".git dspal build_qurt build_linux build_rpi build_bebop build_edison"
check-style:
@./dspal/tools/fix_code_style.sh -p ".git dspal build_qurt build_linux build_rpi build_bebop build_edison" --check
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。