Skip to content

Riscv settings file message confusing #949

@dcz-self

Description

@dcz-self

While trying to update gd32vf103-pac, I got:

[WARN  svd2rust::generate::device] No settings file provided for RISC-V target. Using legacy interrupts rendering
[WARN  svd2rust::generate::device] Please, consider migrating your PAC to riscv 0.12.0 or later

The first count of confusion is that the message doesn't go away after bumping the riscv dependency.

The second count of confusion is the lack of explanation about what the setting file is. The README here is silent, and there doesn't seem to be a mention in the riscv crate docs. This error message could benefit from printing a link to some documentation.

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