Crates.io | kiibohd-core-ffi |
lib.rs | kiibohd-core-ffi |
version | 0.1.0 |
source | src |
created_at | 2022-04-30 04:50:14.916054 |
updated_at | 2022-04-30 04:50:14.916054 |
description | FFI package for kiibohd-core |
homepage | |
repository | https://github.com/kiibohd/kiibohd-core |
max_upload_size | |
id | 578001 |
size | 11,928 |
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
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