SOEM-sys 0.2.0

Rust FFI bindings for SOEM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13

message("rt-kernel-C.cmake")

# Determine toolchain
include(CMakeForceCompiler)

if(${ARCH} MATCHES "kinetis")
  cmake_force_c_compiler(arm-eabi-gcc GNU)
  cmake_force_cxx_compiler(arm-eabi-g++ GNU)
elseif(${ARCH} MATCHES "bfin")
  cmake_force_c_compiler(bfin-elf-gcc GNU)
  cmake_force_cxx_compiler(bfin-elf-g++ GNU)
endif()