Skip to content

Commit 2790674

Browse files
committed
docgen: Enable async features for doc generation
Enable the async functionality so it will be included in the generated documentation. This also requires enabling an additional KConfig needed to be able to configure the state of interrupts on gpios. Signed-off-by: David Brown <[email protected]>
1 parent 1b475b7 commit 2790674

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docgen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ license = "Apache-2.0 or MIT"
1313
crate-type = ["staticlib"]
1414

1515
[dependencies]
16-
zephyr = "0.1.0"
16+
zephyr = { version = "0.1.0", features = ["executor-zephyr", "async-drivers"] }

docgen/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
CONFIG_RUST=y
55
CONFIG_RUST_ALLOC=y
66
CONFIG_GPIO=y
7+
CONFIG_GPIO_ENABLE_DISABLE_INTERRUPT=y
78
CONFIG_PRINTK=y
89
CONFIG_POLL=y

0 commit comments

Comments
 (0)