Skip to content

Provides Rust bindings to Semtech's SX12xx drivers written in C

Notifications You must be signed in to change notification settings

lora-rs/smtc-modem-cores

Repository files navigation

smtc-modem-cores

Provides Rust bindings to Semtech's SX12xx drivers written in C.

Setup & build dependencies

Be sure to initialize the git submodule and to install the build dependencies:

git submodule update --init --recursive
sudo apt-get update && sudo apt-get install -y --no-install-recommends cmake llvm-dev clang libclang-dev

Project layout

smtc-modem-cores-sys

This submodule generates the Rust bindings to the C library:

  • SWL2001, the underlying C code by Semtech is included as a git submodule
  • CMakeLists.txt is manually maintained here and invoked by smtc-modem-cores-sys/build.rs; it cherry-picks the necessary files for building the modem cores.

smtc-modem-cores

Makes the bindings generated by smtc-modem-cores-sys and creates a relatively safe Rust API for users.

About

Provides Rust bindings to Semtech's SX12xx drivers written in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published