simavr-ffi

Crates.iosimavr-ffi
lib.rssimavr-ffi
version1.1.3
sourcesrc
created_at2022-06-11 17:31:03.942697
updated_at2024-10-29 18:49:46.219423
descriptionLow-level bindings to simavr
homepage
repositoryhttps://github.com/Patryk27/simavr-ffi
max_upload_size
id604156
size19,823,652
Patryk Wychowaniec (Patryk27)

documentation

README

simavr-ffi   crates-badge

Low-level unsafe bindings to simavr:

[dependencies]
simavr-ffi = "1"

Supported platforms: Linux & Mac (pull requests for Windows etc. welcome!).

If you're looking for something high-level and safe, see AvrTester.

Requirements

Compile-time:

  • clang,
  • patch (optional, required only if you enable the patch-twi-inconsistencies feature flag),
  • libelf,
  • pkg-config,
  • zlib.

Nix (Linux / Mac)

$ nix develop

Ubuntu

$ sudo apt install clang libelf-dev pkg-config

Mac

$ brew install libelf pkg-config

Feature flags

If you want, you can activate following feature flags (disabled by default):

FAQ

How does it compare to simavr-sys?

simavr-sys seems unmaintained at the moment, while simavr-ffi is up-to-date.

License

Copyright (c) 2022 Patryk Wychowaniec pwychowaniec@pm.me.
Licensed under the MIT license.

Commit count: 44

cargo fmt