Linux-CAN / SocketCAN user space applications
This repository contains some userspace utilities for Linux CAN subsystem (aka SocketCAN):
Follow the link to see examples on how this tools can be used: Kickstart guide to can-j1939 on linux
cmake -DCMAKE_TOOLCHAIN_FILE=~/Android/Sdk/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-21 -DANDROID_ABI=armeabi-v7a .. && make
app
folder, add add_subdirectory(can-utils)
to your CMakeLists.txt
file after cmake_minimum_required()
. Generating project will build Debug/Release for all supported EABI types. ie. arm64-v8a, armeabi-v7a, x86, x86_64.cmake -DCMAKE_TOOLCHAIN_FILE=~/rpi/tools/build/cmake/rpi.toolchain.cmake .. && make
cmake -GNinja .. && ninja
CC=clang cmake -G"Eclipse CDT4 - Unix Makefiles" ../can-utils/ -DCMAKE_BUILD_TYPE=Debug -DCMAKE_ECLIPSE_VERSION=4.8.0
CMAKE_INSTALL_PREFIX
ie. CC=clang cmake -DCMAKE_INSTALL_PREFIX=./out .. && make install