---
title: "Discussion on \"Rust FFI and cbindgen: Integrating Embedded Rust Code in C\" | Hashnode"
description: "Discussion on \"Rust FFI and cbindgen: Integrating Embedded Rust Code in C\". Introduction\nIn last week's post, I introduced Rust FFI and bindgen, a tool that supports the integration of C code in Rust. I also worked through an example of integrating API from the STM32F401RE de"
url: "https://hashnode.com/posts/rust-ffi-and-cbindgen-integrating-embedded-rust-code-in-c/63ced417d1f1b683ca85bfd6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Rust FFI and cbindgen: Integrating Embedded Rust Code in C](https://blog.theembeddedrustacean.com/rust-ffi-and-cbindgen-integrating-embedded-rust-code-in-c?utm_source=hashnode&utm_medium=feed)

Introduction In last week's post, I introduced Rust FFI and bindgen, a tool that supports the integration of C code in Rust. I also worked through an example of integrating API from the STM32F401RE de

Jan 23, 2023 · 13 min read · blog.theembeddedrustacean.com  
Updated Jul 1  
Read the article

-   [#rust](https://hashnode.com/tag/rust)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#embedded](https://hashnode.com/tag/embedded)
-   [#software-development](https://hashnode.com/tag/software-development)

## Written by

[Omar Hiari](https://hashnode.com/@omarhiari)

@omarhiari

  
[View profile](https://hashnode.com/@omarhiari)

I am an 📟 Embedded Engineer with years of experience in both industry 🏭 and academia 🏫. Passionate Mentor 👨‍💼 and Instructor 👨‍🏫. Rustacean 🦀

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
