mirror of
https://github.com/AmbiML/sparrow-kata-full.git
synced 2025-09-21 19:37:56 +00:00
kata-os-camkes: export C bindings for better CAmkES integration
In particular this exports the CAP_RELEASE flag so there is a single source for it's definition and KataOS-specific support in the CAmkES templates is enabled only for KataOS components. Specific changes: - adds cbindgen-generated CamkesBindings.h - adds include of CamkesBindings.h in component cbindgen files - add a dep on cbindgen.toml in all Makefiles - update generated interface files Change-Id: Ib6239d3ac0036b7a04bb36afccf25a05737b0e56 GitOrigin-RevId: af10117fa253f0c7c67969a5852ced9d992c6274
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
INTERFACES=../../../interfaces
|
||||
|
||||
${INTERFACES}/MlCoordBindings.h: src/lib.rs
|
||||
cbindgen -c cbindgen.toml $? -o $@
|
||||
${INTERFACES}/MlCoordBindings.h: src/lib.rs cbindgen.toml
|
||||
cbindgen -c cbindgen.toml src/lib.rs -o $@
|
||||
|
@@ -2,6 +2,9 @@ language = "C"
|
||||
include_guard = "__ML_COORDINATOR_BINDINGS_H__"
|
||||
autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */"
|
||||
no_includes = true
|
||||
includes = ["CamkesBindings.h"]
|
||||
|
||||
[export]
|
||||
include = ["MlCoordError"]
|
||||
include = [
|
||||
"MlCoordError",
|
||||
]
|
||||
|
Reference in New Issue
Block a user