Commit Graph

4 Commits

Author SHA1 Message Date
Robert Cottrell 8c94733638
Create components for Rust and C integration (#10)
* Create components for Rust and C integration
* Create component for C code that will be callable from Rust
* Create component for Rust code that will be callable from C
* Remove circular dependencies between C and Rust code
* Run cbindgen to dynamically generate C headers for Rust functions
2021-06-25 13:57:03 +02:00
Robert Cottrell a0641abd8c
Enable bindgen during cargo build (#9)
* Add "std" feature to rustlib to allow using std in Xtensa projects
* Fix cargo target in CMakeLists.txt
* Use std feature when building for Xtensa
* Use std ffi aliases when building with std feature
* Add custom ffi aliases when building without std feature
* Add no_std attribute and panic handler when building without std feature
2021-06-15 11:48:12 +02:00
Ivan Grokhotkov d797b1e692
run cargo from CMake, remove hardcoded target from .cargo/config (#5)
* cmake: run cargo build from idf.py build
2021-06-14 08:51:26 +02:00
Juraj Michalek e21fea775d tools: initial commit 2021-06-09 08:31:52 +02:00