nrfxlib-sys 1.1.0-rc2+rel1

Rust bindings to the Nordic nRF9160 Socket Library.
docs.rs failed to build nrfxlib-sys-1.1.0-rc2+rel1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: nrfxlib-sys-2.4.2

nrfxlib-sys

This is a Rust wrapper for the Nordic nrfxlib set of libraries, primarily libbsd and liboberon for the nRF9160.

Any binary which uses this crate is going to need to provide a bunch of C library functions, because Nordic's library expects them. This includes, but is not limited to:

  • atoi
  • snprintf
  • strol
  • strchr

You can't just link newlib, because that defines memset which clashes with the compiler-builtin crate's definition of memset. Answers on a post-card please - for now I'm using tinyrlibc.

Using

Because of Cargo bug #5730, we require you to pre-install the 'bindgen' command line tool:

$ cargo install bindgen

In your own program or library, you can then depend on this crate in the usual fashion:

[dependencies]
nrfxlib-sys = "1.1"

Or you might prefer the higher-level wrapper by 42 Technology:

[dependencies]
nrfxlib = "*"

Licence

Any of the code outside the ./third_party folder is under the Blue Oak Licence. Any code inside the ./third_party folder (include the Nordic nrfxlib) has its own LICENCE file.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.

Changelog

Unreleased Changes (Source | Changes)

  • None

v1.1.0-rc2+rel1 (Source | Changes)

v0.2.0 (Source | Changes)

  • Require users to install bindgen as a command-line tool.

v0.1.7 (Source | Changes)

  • Use Cargo 5730 workaround.
  • Update bindgen to 0.51
  • Rustfmt generated code
  • Reformat using tabs

v0.1.6 (Source | Changes)

  • Bundle the C headers (fixes Travis build)

v0.1.5 (Source | Changes)

  • Sub-module in upstream nrfxlib.

v0.1.4 (Source | Changes)

  • Add the bsd_limits.h, nrf_key_mgmt.h and nrf_apn_class.h headers.

v0.1.3 (Source | Changes)

  • Updates to this README to specify checkout of tag v1.0.0.
  • Added a Travis CI file.

v0.1.2 (Source | Changes)

  • Add NEWLIB_PATH so user can point to correct newlib headers.

v0.1.1 (Source | Changes)

  • Updates to the README and crate metadata

v0.1.0 (Source)

  • First version