Sam Crow

Results 15 comments of Sam Crow

You're correct that the serial driver does not currently support 9-bit words. I've created a pull request to add support: https://github.com/stm32-rs/stm32f4xx-hal/pull/299

This is not obvious and there probably should be more examples, but it should work: * Create a `DataRef` or `DataRef` * [That implements](https://docs.rs/xplm/latest/xplm/data/borrowed/struct.DataRef.html#impl-ArrayRead%3C%5Bf32%5D%3E) `ArrayRead` * Call [as_vec](https://docs.rs/xplm/latest/xplm/data/trait.ArrayRead.html#method.as_vec) to get...

Based on [this blog post](https://developer.x-plane.com/2019/02/the-plugin-sdk-is-not-even-remotely-thread-safe/), the dataref access functions can only be called from the plugin callbacks, not from any other threads. That means that DataRef needs to not be...

This looks like an interesting problem. Unfortunately, I can't test it myself because I don't have a working Mac that can run X-Plane.

If you want to make a plugin that works with datarefs and commands, using Rust and this library should work without too much trouble. Graphics and GUI are the main...

Yes, I haven't done that myself but it might be a good approach. If you can get that GUI library to work in the X-Plane environment. it should be fairly...

Now that we have `canadensis_codegen_rust` to automatically generate code, this is not so critical.

Adding a loopback flag sounds like a good idea. The only problem I can think of is that some CAN controllers (bxCAN, MCP2515, maybe others) have loopback mode as a...

Now that I understand the idea of using the interrupt to get a timestamp and do software loopback, this makes more sense. The driver part (canadensis_bxcan or similar) might be...

I made some changes a while ago, but now I've released the new version. It uses a special `#[canadensis(enum)]` comment in a DSDL type to trigger enum code generation. Documentation:...