1 unstable release

0.1.0 Jun 11, 2022

#5 in #simavr

41 downloads per month
Used in 2 crates (via avr-simulator)

MIT license

3.5MB
21K SLoC

C 21K SLoC // 0.2% comments Intel HEX 125 SLoC Rust 106 SLoC Ruby 85 SLoC // 0.2% comments Python 63 SLoC // 0.0% comments

simavr-ffi

Low-level bindings to simavr.

Status: alpha; work in progress.

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

Requirements

Compile-time:

  • clang,
  • libelf,
  • pkg-config,
  • zlib.

Nix (Linux)

$ nix-shell

Ubuntu

$ sudo apt install clang libelf-dev pkg-config

Mac

$ brew tap osx-cross/avr
$ brew install avr-gcc libelf pkg-config

FAQ

How does it compare to simavr-sys?

simavr-sys seems unmaintained at the moment, so simavr-ffi is just more up-to-date.

License

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

Dependencies