1 unstable release

0.1.0 Jun 11, 2022

#221 in Simulation

Download history 10/week @ 2023-06-10 26/week @ 2023-06-17 16/week @ 2023-06-24 52/week @ 2023-07-01 15/week @ 2023-07-08 15/week @ 2023-07-15 32/week @ 2023-07-22 7/week @ 2023-07-29 18/week @ 2023-08-05 15/week @ 2023-08-12 24/week @ 2023-08-19 9/week @ 2023-08-26 11/week @ 2023-09-02 14/week @ 2023-09-09 26/week @ 2023-09-16 16/week @ 2023-09-23

67 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