-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use bindgen to produce automatic bindings for our C interfaces #6
Comments
I can look into this. What C interfaces require bindings? And which header files are the entry points, i.e. which headers do you directly include in your application, e.g. |
ping @m-mcgowan for comment here |
Hi @japaric! Our C interfaces are those exported as dynamic linked libraries - you can find them by grepping the source for
The dynamic linking is taken care of automatically for you by including these header files and defining |
I finally got around to work on this. I used Next I'm going to explore building a "rustic" wiring API on top of these HAL bindings. I plan to generate bindings for the other modules (UART, I2C, etc) as I need them. But, if someone wants to play with the other modules right now, let me know and I'll generate the bindings for you! cc @dbrgn |
That's cool. As I said, I'll probably give the high level abstraction a stab next week. This week is very busy. |
No description provided.
The text was updated successfully, but these errors were encountered: