dev: Сборка для BeagleBoneAI
This commit is contained in:
parent
c0ebcdd507
commit
2e9c3df2e2
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
/profinet_test/sample_app/build
|
||||
/profinet_test/sample_app_echo/build
|
||||
*.bin
|
||||
/src/out
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -66,7 +66,7 @@
|
||||
"BOARD": "BeagleBoneAI"
|
||||
},
|
||||
"environment": {
|
||||
"ENV_TARGET_CROSS_COMPILE_PREFIX": "/home/svad/ti/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-none-linux-gnueabihf-",
|
||||
"ENV_TARGET_CROSS_COMPILE_PREFIX": "/home/svad/armdev/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-",
|
||||
"ENV_TARGET_SYSTOOT_PATH": "/home/svad/armdev/beagle_board/sysroot"
|
||||
}
|
||||
},
|
||||
|
@ -66,7 +66,7 @@
|
||||
"BOARD": "BeagleBoneAI"
|
||||
},
|
||||
"environment": {
|
||||
"ENV_TARGET_CROSS_COMPILE_PREFIX": "/home/svad/ti/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-none-linux-gnueabihf-",
|
||||
"ENV_TARGET_CROSS_COMPILE_PREFIX": "/home/svad/armdev/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-",
|
||||
"ENV_TARGET_SYSTOOT_PATH": "/home/svad/armdev/beagle_board/sysroot"
|
||||
}
|
||||
},
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 377ea373b453f3f8571da8123fb1dcebe66f56b7
|
||||
Subproject commit beec7da14ed48a18e73812e4120a52f2fc057049
|
@ -80,6 +80,11 @@ target_link_directories(${TARGET_NAME} PUBLIC ${LINK_PATH})
|
||||
#Åñëè íå ñîáèðàåòñÿ ñ îøèáêîé ëèíêåðà undefined reference pthread, òî ïîñëå ${Boost_LIBRARIES} äîáàâèòü pthread èëè -lpthread:
|
||||
#target_link_libraries (${TARGET_NAME} PUBLIC profinet osal ${Boost_LIBRARIES} pthread)
|
||||
|
||||
# Äëÿ BeagleBoneAI: âåðñèÿ GCC8 íóæíî óêàçûâàòü stdc++fs(áèáëèîòåêà <filesystem>)
|
||||
if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9)
|
||||
set(LIB_LIST ${LIB_LIST} stdc++fs)
|
||||
endif()
|
||||
|
||||
target_link_libraries (${TARGET_NAME} PUBLIC ${LIB_LIST} pthread c rt)
|
||||
|
||||
install(
|
||||
|
@ -66,7 +66,7 @@
|
||||
"BOARD": "BeagleBoneAI"
|
||||
},
|
||||
"environment": {
|
||||
"ENV_TARGET_CROSS_COMPILE_PREFIX": "/home/svad/ti/ti-processor-sdk-linux-am57xx-evm-08_02_01_00/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-none-linux-gnueabihf-",
|
||||
"ENV_TARGET_CROSS_COMPILE_PREFIX": "/home/svad/armdev/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-",
|
||||
"ENV_TARGET_SYSTOOT_PATH": "/home/svad/armdev/beagle_board/sysroot"
|
||||
}
|
||||
},
|
||||
|
@ -1,4 +1,4 @@
|
||||
find_package(Boost 1.72.0)
|
||||
find_package(Boost 1.67.0)
|
||||
|
||||
if(Boost_FOUND)
|
||||
set(INC_DIRS ${INC_DIRS} ${Boost_INCLUDE_DIRS})
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include "user_data.hpp"
|
||||
#include <bit>
|
||||
#include "../endian/endian.hpp"
|
||||
#include <iostream>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user