This application is used upload vehicle data to TSP platform based on Raspberry Pi 4B, the transport protocols is mqtt.
- ###Build
cmake -Bbuild -Hiceoryx_meta -DCMAKE_PREFIX_PATH=$(PWD)/build/dependencies/ -DBUILD_TEST=ON -DINTROSPECTION=OFF -DBINDING_C=ON -DEXAMPLES=ON
sudo apt install crossbuild-essential-arm64
cmake -B build_aarch64 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=./cmake/raspberrypi-toolchain.cmake
cd build_aarch64
make
make package # L_Bike-0.0.1-Linux.deb deb格式安装包打包
# 或使用如下命令打包
cpack -G DEB
# rpm格式包打包
cpack -G RPM
Operating System | supports |
---|---|
Linux | yes |
MacOS | yes |
Raspberry Pi | yes |
Windows 10 | no, planned for implementation |
QNX | no, not planned for implementation |
- Project init
- Add program cross build
- add mqtt
- implement thread pool