kiibohd-core-ffi

Crates.iokiibohd-core-ffi
lib.rskiibohd-core-ffi
version0.1.0
sourcesrc
created_at2022-04-30 04:50:14.916054
updated_at2022-04-30 04:50:14.916054
descriptionFFI package for kiibohd-core
homepage
repositoryhttps://github.com/kiibohd/kiibohd-core
max_upload_size
id578001
size11,928
Jacob Alexander (haata)

documentation

README

kiibohd-core-ffi

FFI interface for kiibohd-core crates. This is useful when you want to encompass all (or a set) of kiibohd-core crates as a single static library to import into your C firmware.

This library is meant to be built for many platforms. Generally these are tested:

  • thumbv7em-none-eabi

  • x86_64-unknown-linux-gnu

Building

You'll need to be using Rust nightly and cargo-c.

rustup install nightly
cargo install cargo-c --force

cargo +nightly cbuild
cargo +nightly cbuild --target thumbv7em-none-eabi --release
Commit count: 192

cargo fmt