You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0425]: cannot find function `k_poll_signal_reset` in module `zephyr_sys::syscalls::kernel`
--> /home/tom/src/zephyr-rust/rust/zephyr-core/src/poll_signal.rs:27:53
|
27 | zephyr_sys::syscalls::$context::k_poll_signal_reset(
| ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `k_poll_signal_raise`
...
and
In file included from zephyr/include/generated/rust_syscall_macros.h:6,
from /home/tom/src/zephyr-rust/syscall-thunk.c:2:
/home/tom/src/zephyr/include/syscall.h:93:21: error: expected ';' before '_Bool'
static ALWAYS_INLINE bool z_syscall_trap(void)
^
;
ninja: build stopped: subcommand failed.
@tomtor The 1.14 LTS branch is known to work. I'll see about supporting current master. It was building against master as of a couple months ago, I believe.
I pushed a few small fixes to get it building up through v2.0. v2.1 fails due to the syscall header generation having been reworked upstream.
gen_syscall_header.py is the file in question which was forked from upstream Zephyr. This needs more looking into. I'd like to support master and LTS in the same branch if possible.
I'd recommend the 1.14 LTS branch for now, as that's what I've been using for my zephyr-rust projects.
I have tried building with Zephyr SDK 0.10.3 (last version supported by https://github.com/zephyrproject-rtos/zephyr) and 0.13, but
misc/mempool.h
has to be replaced withsys/mempool.h
after that step I get errors like:
and
Do I need an older specific version of https://github.com/zephyrproject-rtos/zephyr ?
The text was updated successfully, but these errors were encountered: