Skip to content

Rust Hello World build parsing zephyr.dts error #68

@coskunergan

Description

@coskunergan

Hi, I have Clang and llvm and Rust installed. But I can't compile the RUST hello_world demo.

getting the following error message.

thread 'main' panicked at C:\zephyr\zephyrproject\modules\lang\rust\zephyr-build\src\devicetree\parse.rs:23:46: Parsing zephyr.dts: Error { variant: ParsingError { positives: [node], negatives: [] }, location: Pos(9), line_col: Pos((1, 10)), path: None, line: "/dts-v1/;ÔÉıÔÉè", continued_line: None, parse_attempts: None } note: run withRUST_BACKTRACE=1 environment variable to display a backtrace

/dts-v1/;ÔÉıÔÉè" -> When I checked the zephyr.dts file there is no file corruption mentioned there.

My detailed compilation outputs are attached. "build.log.txt" end "verbose_build_log.txt"

Is there anyone who can help me?

build_log.txt

verbose_build_log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions