Provides Rust bindings to Semtech's SX12xx drivers written in C.
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-devThis submodule generates the Rust bindings to the C library:
SWL2001, the underlying C code by Semtech is included as a git submoduleCMakeLists.txtis manually maintained here and invoked bysmtc-modem-cores-sys/build.rs; it cherry-picks the necessary files for building the modem cores.
Makes the bindings generated by smtc-modem-cores-sys and creates a relatively safe Rust API for
users.